Export a trace as a flat JSON document
traces
Export a trace as a flat JSON document
Return a self-contained JSON snapshot of the trace plus all spans + llm_calls.
Org-scoped via trace_service.get_trace (which honors org_id from key_ctx).
Child trace IDs are listed so the caller can recursively expand if needed —
we don’t inline children to keep payload size bounded and the export shape
predictable.
GET
Export a trace as a flat JSON document
Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Headers
Path Parameters
Cookies
Response
Successful Response
The response is of type Response Export Trace Json Api V1 Traces Trace Id Export Json Get · object.