Read an export
Auth: Bearer key.
bearerAuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
fields?stringComma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, kind, status, count, filename, download_url, error, requested_at, started_at, ready_at, failed_at, expires_at.
The export's current status.
application/json- response
id?stringOpaque id, prefixed exp_.
kind?stringWhat this export contains.
"log_csv""log_ndjson""bodies""data"status?stringrequested and running are both in progress. ready carries download_url. failed carries error. expired means the artifact's retention window (7 days from ready_at) has passed — request a new export.
"requested""running""ready""failed""expired"count?|Row count as of the request.
filename?|Set once the export is ready.
download_url?|A signed link to the artifact, minted fresh on every read. Present only while status is ready — request the export again to re-read this field for a current link.
error?|Set only when status is failed.
requested_at?stringISO 8601 timestamp.
started_at?|ISO 8601 timestamp the worker began building this export, or null.
ready_at?|ISO 8601 timestamp, or null.
failed_at?|ISO 8601 timestamp, or null.
expires_at?|ISO 8601 timestamp the artifact is deleted, or null before it's ready.
curl -X GET 'https://pouch.example.com/v1/exports/string'{ "id": "string", "kind": "log_csv", "status": "requested", "count": 0, "filename": "string", "download_url": "string", "error": "string", "requested_at": "string", "started_at": "string", "ready_at": "string", "failed_at": "string", "expires_at": "string"}