Authorizations
Headers
Query Parameters
The starting (oldest) timestamp in ISO format.
The ending (most recent) timestamp in ISO format.
Body
Only fetch spans that are the top-level (ie. have no parent_id)
Filter by span IDs
Filter by trace IDs
List of span IDs to exclude from results
List of trace IDs to exclude from results
Filter by group ID
Filter by trace/span name
Filter on span status
Free text search across span input and output fields
Filter on custom metadata key-value pairs
Filter by application variant IDs
The method for exporting spans. signed_url
returns a pre-signed URL, while direct
returns the raw content.
signed_url
, direct
The format of the exported spans. json
returns a single JSON array, while jsonl
returns one JSON object per line.
json
, jsonl
, csv
Whether to include child spans in the export. If true, all spans related to the trace will be included.
If true, include span assessments inline in the export under each span's 'assessments' field.
Response
Successful Response
Response model for exporting spans. This class represents the response when users export span data. It contains either a signed URL to download the exported data from object storage, or the actual content bytes when direct download is used (in environments where object storage is not configured).
The name of the exported file
Pre-signed URL to download the file from object storage, if applicable
The raw file content as bytes, used when direct download is enabled