Skip to main content

Export Retention Samples

GET 

/api/v2/retention-samples/export

Download the retention samples list as an Excel or CSV file: the same filters (including filter_groups and filter[<column>.<operator>]) and sort as List Retention Samples, with the columns you choose, each written as the list shows it (status and source by label, dates as YYYY-MM-DD).

Required scope: inventory:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Up to 10,000 rows are written. When more rows match, the response carries an X-Export-Truncated header whose value is how many matched.

Permission: inventory.index and inventory.export. Personal access tokens need the inventory:read scope.

Request​

Responses​

OK

Response Headers
    Content-Type