The team's recent client data exports (owner-only)
const url = 'http://localhost:8000/api/privacy/exports/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8000/api/privacy/exports/ \ --header 'Authorization: Bearer <token>'The last 20 exports, newest first, with download links while kept.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”One export of a client’s data, as its team owner sees it.
object
The client’s name while the client exists; empty after.
When the archive is deleted; null until it is built.
A link to the archive (a ZIP) while it is kept; null otherwise.
Why a failed export failed: too_large (more video and files, by size, than an automatic export may hold — ask support), gone (the client was deleted or erased), or error (including a run that was interrupted). Null unless status is failed.
Example
[ { "status": "received" }]object
Human-readable message, or a stable machine code for the cases a client branches on. The standard envelope for 400 (validation — a field-keyed object may appear instead), 401 (missing / invalid credentials), 403 (authenticated but not permitted), and 404 (absent — cross-team records are collapsed to 404 so the API never leaks the existence of another team’s data).
Example generated
{ "detail": "example"}