Traces
get/otel/global/spans

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/otel/global/spans
  • Auth: HTTP bearer

Query parameters

project_idinteger nullable
trace_idstring nullable
service_namestring nullable
statusstring nullable
min_duration_msnumber double nullable
start_timestring nullable
end_timestring nullable
environment_idinteger nullable
deployment_idinteger nullable
attributesstring nullable

Filter by span attributes as comma-separated key=value pairs. e.g. "gen_ai.system=openai,gen_ai.request.model=gpt-4"

name_patternstring nullable

Filter by span name pattern (ILIKE).

sort_bystring nullable

Sort field for the trace-summaries list: "start_time" (default) or "duration". Anything else falls back to start_time.

sort_orderstring nullable

Sort direction: "asc" or "desc" (default).

limitinteger nullable
offsetinteger nullable

Response

totalinteger required

Changes