Export everything held about a client (owner-only)
const url = 'http://localhost:8000/api/clients/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/export/';const options = {method: 'POST', 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 POST \ --url http://localhost:8000/api/clients/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/export/ \ --header 'Authorization: Bearer <token>'Starts building one archive (a ZIP) of the client’s profile, sessions with every video and still, reports, the coaches’ conversations about them and AI notes — never the tokens that open share links. 202 with the new export; 200 with the one already being built when there is one. Poll GET for download_url; the archive is kept for 7 days.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”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"}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"}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"}