# Get Archived objects using search API

**URL:** <https://community.hubspot.com/t/get-archived-objects-using-search-api/60768>\
**Category:** HubSpot Ideas\
**Tags:** api\
**Created:** [July 12, 2022, 11:41am UTC](https://community.hubspot.com/t/get-archived-objects-using-search-api/60768 "2022-07-12T11:41:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JDean162](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@JDean162](https://community.hubspot.com/u/JDean162)\
**Post date:** [July 12, 2022, 11:41am UTC](https://community.hubspot.com/t/get-archived-objects-using-search-api/60768/1 "2022-07-12T11:41:37Z")

</div>

At the moment, the Search API returns the value “Archived” , but the value is always always set to false. After looking though the documentation, I found out that the search API cannot get the archived objects unlike the List API call.

Is there no possibility to add a property “archived” in the post Body to fetch archived and non archived objects?

---

<div class="post-metadata">

**Author:** ![AaronGuti](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@AaronGuti](https://community.hubspot.com/u/AaronGuti)\
**Post date:** [April 7, 2023, 5:51pm UTC](https://community.hubspot.com/t/get-archived-objects-using-search-api/60768/2 "2023-04-07T17:51:45Z")

</div>

Yes, because without this, a data warehouse will never know a company has been archived or merged.

---

<div class="post-metadata">

**Author:** ![EdwardR](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/edwardr/32/22307_2.png) [@EdwardR](https://community.hubspot.com/u/EdwardR)\
**Post date:** [April 16, 2024, 4:47pm UTC](https://community.hubspot.com/t/get-archived-objects-using-search-api/60768/3 "2024-04-16T16:47:27Z")

</div>

@AaronGutiCompletely agree. At this point warehousing data is completely futile with out the ability to search for archived records since a date. The only available option is to do periodic FULL syncs of all non-archived records to see which ones should not be in the DB (or tagged as archived).

We have used two different tools to sync data from HubSpot and both have this issue (Segment and Airbyte).

---

<div class="post-metadata">

**Author:** ![AaronGuti](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@AaronGuti](https://community.hubspot.com/u/AaronGuti)\
**Post date:** [April 16, 2024, 4:54pm UTC](https://community.hubspot.com/t/get-archived-objects-using-search-api/60768/4 "2024-04-16T16:54:04Z")

</div>

Yes! Thanks for confirming @EdwardR !

---

<div class="post-metadata">

**Author:** ![NWinslow](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@NWinslow](https://community.hubspot.com/u/NWinslow)\
**Post date:** [September 11, 2024, 8:50pm UTC](https://community.hubspot.com/t/get-archived-objects-using-search-api/60768/5 "2024-09-11T20:50:26Z")

</div>

Bumping this, it would be really great if the search API could identify archived records.

---

<div class="post-metadata">

**Author:** ![CichociemnyKuba](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cichociemnykuba/32/57633_2.png) [@CichociemnyKuba](https://community.hubspot.com/u/CichociemnyKuba)\
**Post date:** [September 25, 2024, 8:27am UTC](https://community.hubspot.com/t/get-archived-objects-using-search-api/60768/6 "2024-09-25T08:27:11Z")

</div>

Agree with the idea!
