Dynamiq
Tracing

Download a trace

Returns a single trace as a downloadable JSON file (Content-Disposition: attachment; filename="<trace_id>.json"). Set include_runs=true to embed the trace's run tree in the exported object.

GET
/v1/tracing/traces/{trace_id}/download

Authorization

personalAccessToken
AuthorizationBearer <token>

Personal Access Token of a Dynamiq user — the only credential accepted by the management API (api.*). Prefix dyn_pat_ (legacy uak_ tokens still authenticate). Send as Authorization: Bearer <token>.

In: header

Path Parameters

trace_id*string

Trace UUID.

Query Parameters

include_runs?boolean

Include the trace's run tree in the exported object.

Response Body

application/octet-stream

application/json

application/json

curl -X GET "https://example.com/v1/tracing/traces/497f6eca-6276-4993-bfeb-53cbbbba6f08/download"
"string"
{
  "error": {
    "code": "unauthorized",
    "message": "Unauthorized"
  }
}
{
  "error": {
    "code": "not_found",
    "message": "Not Found"
  }
}