Skip to main content
GET
/
traces
List traces
curl --request GET \
  --url https://api.example.com/traces \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "project_id": "<string>",
    "project_name": "<string>",
    "otel_trace_id": "<string>",
    "service_name": "<string>",
    "created_at": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

project_id
string<uuid>
required

Project to scope traces to.

environment
string | null

If set, only traces tagged with this environment.

start
string<date-time> | null

Inclusive lower bound (ISO 8601) on trace start time.

end
string<date-time> | null

Inclusive upper bound (ISO 8601) on trace start time.

limit
integer
default:50

Maximum number of traces to return (most recent first).

Required range: 1 <= x <= 200
error_only
boolean
default:false

If true, only include traces that recorded an error.

Response

Successful Response

id
string
required
project_id
string
required
project_name
string
required
otel_trace_id
string | null
service_name
string | null
created_at
string | null