Create export
Starts an export of every asset the caller can see into one gzipped JSON Lines file, one asset per line in the same shape GET /assets/{id} serves. The export runs in the background: this responds 202 with the export in in_progress status and a Location header for it. Poll GET /assets/exports/{id} until the status is succeeded, then fetch download.url. Only one export can be in progress per organization at a time; a second request while one is in_progress responds 409 naming the running export. No request body.
/exportsAuthorizationBearer token · headerrequiredA Sibi Public API token or access token, sent as Authorization: Bearer <token>.
create:asset-exportsThe export has been queued
idstringrequiredSibi assigned identifier for this export.
statusstringrequiredin_progress (the export is queued or the file is being written), succeeded (the file is ready to download), or failed (see error).
in_progresssucceededfailedcreatedAtstring<date-time>requiredWhen the export was requested.
startedAtstring<date-time>When work on the file began. Absent while the export is still queued.
completedAtstring<date-time>When the export succeeded or failed.
rowCountintegerThe number of assets in the file. Present once the export has succeeded.
fileSizeintegerThe size of the compressed file in bytes. Present once the export has succeeded.
downloadExportDownloadHow to fetch the file. Present only while the export is succeeded.
Show propertiesHide properties
urlstring<uri>requiredA signed URL for the export file. It is valid until expiresAt; read the export again for a fresh one.
methodstringrequiredGETexpiresAtstring<date-time>requiredWhen this download URL stops working.
errorobjectWhy the export failed. Present only when the export is failed.
Show propertiesHide properties
codestringrequiredmessagestringrequiredThe Authorization header is missing, or the bearer token could not be resolved (invalid, expired, or revoked)
codestringrequiredMachine-readable error code
UNAUTHORIZEDmessagestringrequiredrequestIdstringRequest id for this call — quote it when contacting support
The token is missing the scope this operation requires (INSUFFICIENT_SCOPE), is a GraphQL token rather than a REST API token (REST_TOKEN_REQUIRED), or it was minted for the other environment (TOKEN_ENVIRONMENT_MISMATCH)
codestringrequiredMachine-readable error code
INSUFFICIENT_SCOPEREST_TOKEN_REQUIREDTOKEN_ENVIRONMENT_MISMATCHmessagestringrequiredrequestIdstringRequest id for this call — quote it when contacting support
An export is already in progress for the caller’s organization (EXPORT_IN_PROGRESS). Poll that export instead; a new one can be requested once it has succeeded or failed
codestringrequiredEXPORT_IN_PROGRESSmessagestringrequiredexportIdstringrequiredThe id of the export already in progress.
requestIdstringInternal server error
codestringrequiredMachine-readable error code
INTERNAL_SERVER_ERRORmessagestringrequiredrequestIdstringRequest id for this call — quote it when contacting support
The token-exchange service is unavailable or misconfigured — retry shortly. Not a token problem.
codestringrequiredMachine-readable error code
AUTH_UNAVAILABLEmessagestringrequiredrequestIdstringRequest id for this call — quote it when contacting support