Skip to main content
GET
Stream the spans of a single trace as CSV or JSONL (sync export)

Authorizations

Authorization
string
header
required

SDK API key (tl_...) or Clerk session JWT

Query Parameters

trace_id
string<uuid>
required

Trace to export spans for. Required — the endpoint returns 400 if absent.

format
enum<string>
default:csv
Available options:
csv,
jsonl
project_id
string<uuid>

Response

Streamed CSV or JSONL payload.

The response is of type string.