curl --request GET \
--url 'https://api.computer.stateset.app/api/v1/jobs/export' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
"id,template,status,summary,error,input_tokens,output_tokens,cost_usd,created_at,updated_at,tags\r\n3fa85f64-5717-4562-b3fc-2c963f66afa6,shopify,completed,Order lookup finished,,1250,310,0.0421,2026-08-30T12:00:00Z,2026-08-30T12:04:10Z,daily;orders"
Export jobs as CSV or JSONL
Export jobs as CSV or JSONL for compliance / migration. Streams up to 10k rows per call…
GET
/
api
/
v1
/
jobs
/
export
curl --request GET \
--url 'https://api.computer.stateset.app/api/v1/jobs/export' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
"id,template,status,summary,error,input_tokens,output_tokens,cost_usd,created_at,updated_at,tags\r\n3fa85f64-5717-4562-b3fc-2c963f66afa6,shopify,completed,Order lookup finished,,1250,310,0.0421,2026-08-30T12:00:00Z,2026-08-30T12:04:10Z,daily;orders"
Export jobs as CSV or JSONL for compliance / migration.
Streams up to 10k rows per call. For larger volumes, paginate via
since/until windows and stitch on the client side. CSV is RFC
4180-compliant (quoted fields, \r\n line endings); JSONL is
one JSON object per line.
Columns / fields: id, template, status, summary, error,
input_tokens, output_tokens, cost_usd, created_at,
updated_at, tags (semicolon-joined in CSV).
Query parameters
string
Output format.
csv (default) or jsonl.string,null
Filter to a single status; mirrors
/jobs?status=.string,null
Filter to a single agent_type.
string,null
ISO 8601 lower bound on
created_at; rows older are excluded.string,null
ISO 8601 upper bound on
created_at; rows newer are excluded.integer
Hard cap on rows returned. Max 10000.
Response
Returnstext/csv — Streamed export, sent as an attachment (Content-Disposition). text/csv by default; application/x-ndjson with format=jsonl. Up to 10,000 rows per call — window larger volumes with since/until.
Status codes
| Code | Meaning |
|---|---|
200 | Streamed export, sent as an attachment (Content-Disposition). text/csv by default; application/x-ndjson with format=jsonl. Up to 10,000 rows per call — window larger volumes with since/until. |
422 | Validation Error |
curl --request GET \
--url 'https://api.computer.stateset.app/api/v1/jobs/export' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
"id,template,status,summary,error,input_tokens,output_tokens,cost_usd,created_at,updated_at,tags\r\n3fa85f64-5717-4562-b3fc-2c963f66afa6,shopify,completed,Order lookup finished,,1250,310,0.0421,2026-08-30T12:00:00Z,2026-08-30T12:04:10Z,daily;orders"
Last modified on August 31, 2026