Guide
Export LLM traces as JSON
To export traces from SupaTrace as JSON, open a trace in the workspace and choose Export JSON. To export more, use Export this environment or Export all environments. Scripts can read traces through the Management API at /api/v1.
Status: Inspect traces and export original JSON Live. MCP reader Coming soon.
Export from the workspace
- Open Traces in your workspace and open the trace you want.
- Choose Export JSON. The file has every accepted event of that trace with its original fields.
- For more than one trace, choose Export this environment (only the environment shown in the workspace switcher) or Export all environments (every listed environment in the workspace, after you confirm that scope).
- Save the archive. In browsers with Save File support you pick a file first and the archive streams to it. In other browsers, wait until the status line says the archive is ready, then choose Download prepared archive.
- Pause uploads while an export runs. The archive is an observed read, not a point-in-time snapshot.
- Review the file before sharing it. See Review before sharing in the Export docs.
Read traces from a script
- Create a personal access token under Settings, Personal access tokens. Read only is the default.
- List traces with the token in the
X-Supatrace-Keyheader:curl -H "X-Supatrace-Key: $TOKEN" https://supatrace.dev/api/v1/traces - Read one trace's events with
GET /api/v1/traces/{trace_id}/events. Each page is one stored batch; follownextwithafter.
On supatrace.dev, use X-Supatrace-Key: the edge replaces the Authorization header before it reaches the API. GET /api/v1/openapi.json describes every endpoint.
Not available yet
- There is no scheduled export. To forward batches as they arrive, see Drains (Pro and Enterprise).
- The MCP reader, which would let an agent list, search, inspect and export traces, is not available in the hosted service yet.
Based on
Last reviewed .