Workspace Export
Export the whole workspace, documents, values and the audit log, as one download. Works in a read-only workspace, so data can always be taken out.
A workspace export bundles every document, value and the audit log into one zip file. Start it, poll its status, then download it. Exports are allowed in a read-only workspace. Documents that arrived through a person's own connected account (mail, notes, pages, messages) and their values stay out of the bundle, since they belong to that person; bag-info.json counts them as personal_documents_excluded.
POST
/v1/records/tenant-exportcURL
curl -X POST https://api.talonic.com/v1/records/tenant-export \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "X-Step-Up-Code: 123456"GET
/v1/records/tenant-exportcURL
curl -X GET https://api.talonic.com/v1/records/tenant-export \
-H "Authorization: Bearer $TALONIC_API_KEY"GET
/v1/records/tenant-export/{id}cURL
curl -X GET https://api.talonic.com/v1/records/tenant-export/$ID \
-H "Authorization: Bearer $TALONIC_API_KEY"GET
/v1/records/tenant-export/{id}/downloadcURL
curl -X GET https://api.talonic.com/v1/records/tenant-export/$ID/download \
-H "Authorization: Bearer $TALONIC_API_KEY"Errors:
401 missing or invalid credential; 403 with a reason (insufficient_scope, insufficient_role, person_inactive, not_member, no_person, workspace_read_only, or STEP_UP_REQUIRED); 404 unknown id in this workspace; 429 rate limited (see Retry-After).