POST /v1/auth/me/export

Returns every record the platform stores about the calling user as a single JSON document. See data_export module docs for scope, caps, and sensitive-field redaction rationale.

The response is large (up to ~50 MB on a heavy-usage account). Clients should stream the body to disk rather than buffer in memory.

Tags: auth

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring,null

Responses

200 — Account data export (JSON)

JSON
{
  "$ref": "#/components/schemas/AccountDataExport"
}

401 — UNAUTHENTICATED

Code samples

TypeScript

TypeScript
import { firecase } from "@firecase/sdk";

const result = await firecase.post("/auth/me/export", { /* body */ });
console.log(result);

Python

Python
import firecase

result = firecase.post("/auth/me/export", json={})
print(result)

curl

Bash
curl -X POST https://api.firecase.ai/v1/auth/me/export \
  -H "Authorization: Bearer $FIRECASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'