curl --request GET \
--url https://api.example.com/traces/{trace_id}/spans \
--header 'Authorization: Bearer <token>'[
{
"otel_span_id": "<string>",
"parent_otel_span_id": "<string>",
"name": "<string>",
"kind": "<string>",
"start_time_ns": 123,
"end_time_ns": 123,
"duration_ms": 123,
"status_code": "<string>",
"status_description": "<string>",
"input_tokens": 123,
"output_tokens": 123,
"model_name": "<string>",
"tps": 123,
"attributes": {},
"events": [
"<unknown>"
]
}
]Returns spans for a ready trace in stable start-time order.
curl --request GET \
--url https://api.example.com/traces/{trace_id}/spans \
--header 'Authorization: Bearer <token>'[
{
"otel_span_id": "<string>",
"parent_otel_span_id": "<string>",
"name": "<string>",
"kind": "<string>",
"start_time_ns": 123,
"end_time_ns": 123,
"duration_ms": 123,
"status_code": "<string>",
"status_description": "<string>",
"input_tokens": 123,
"output_tokens": 123,
"model_name": "<string>",
"tps": 123,
"attributes": {},
"events": [
"<unknown>"
]
}
]Documentation Index
Fetch the complete documentation index at: https://docs.uselemma.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Trace identifier.
Successful Response