For the complete documentation index, see llms.txt. This page is also available as Markdown.

Export

Endpoints for working with bulk data exports: create a new export, look up the status of an existing export, download a completed export, and list recent exports.

List Exports

get

Returns a paginated list of exports in the tenant. Useful for finding a recent export when you don't have its id.

Authorizations
AuthorizationstringRequired

Authorize your requests using a tenant's API Key. Use this method of security only in server-to-server interactions.

Path parameters
tenant_aliasstringRequired

Tenant being referenced. E.g. "aboih12h16t" or "test_abo912126tastastt"

Query parameters
limitintegerOptional

A limit on the maximum number of results to return, defaults to 10.

Default: 10
offsetintegerOptional

The row number of the first result to return, defaults to 0.

Default: 0
Responses
200

List of Exports found

application/json

A paginated list of Export objects.

countintegerOptional

The number of results in this page. See totalCount for the total available.

Example: 2
totalCountintegerOptional

The total number of results available across all pages.

Example: 2
get/{tenant_alias}/export/history/list

Create an Export

post

Creates an asynchronous export request. The export is queued and processed in the background; the response returns the export's id and an initial status of PENDING.

Store the returned id so you can look up the export's status or download it once complete. For details on the export lifecycle and how to detect completion, see the Export Overview.

Authorizations
AuthorizationstringRequired

Authorize your requests using a tenant's API Key. Use this method of security only in server-to-server interactions.

Path parameters
tenant_aliasstringRequired

Tenant being referenced. E.g. "aboih12h16t" or "test_abo912126tastastt"

Body

Request body for creating a new export.

typestring · enumRequired

The type of Export that's being requested.

Example: USERPossible values:
formatstring · enumOptional

The format of the Export

Default: CSVExample: CSVPossible values:
namestringOptional

A user-friendly name for this report. Useful for keeping track of which report is which.

Example: Monthly user export
requesterstringOptional

Detail on the service or user that requested this report. Defaults to "API" when not provided.

Default: APIExample: API
Responses
201

Export created

application/json

An export record. Includes the original request fields plus the export's id, status, and timestamps.

and
post/{tenant_alias}/export

Lookup an Export

get

Returns the current state of an export, including its status. Use this to poll for completion before attempting to download.

Authorizations
AuthorizationstringRequired

Authorize your requests using a tenant's API Key. Use this method of security only in server-to-server interactions.

Path parameters
tenant_aliasstringRequired

Tenant being referenced. E.g. "aboih12h16t" or "test_abo912126tastastt"

exportIdstringRequired

The id of the export to look up.

Responses
200

Export found

application/json

An export record. Includes the original request fields plus the export's id, status, and timestamps.

and
get/{tenant_alias}/export/{exportId}

Download an Export

get

Downloads a completed export file. The export's status must be COMPLETED; use the lookup endpoint to confirm before calling this.

Authorizations
AuthorizationstringRequired

Authorize your requests using a tenant's API Key. Use this method of security only in server-to-server interactions.

Path parameters
tenant_aliasstringRequired

Tenant being referenced. E.g. "aboih12h16t" or "test_abo912126tastastt"

exportIdstringRequired

The id of the export to download.

Responses
200

Export file returned after following the redirect.

text/csv
string · binaryOptional
get/{tenant_alias}/export/{exportId}/download

Last updated