Skip to content

Spans

Create Span
POST/spans
List Spans
GET/spans
Partial Update Span
PATCH/spans/{span_id}
Get Span
GET/spans/{span_id}
ModelsExpand Collapse
Span object { id, name, start_time, 7 more }
id: string
name: string

Name that describes what operation this span represents

start_time: string

The time the span started

formatdate-time
trace_id: string

Unique identifier for the trace this span belongs to

data: optional map[unknown] or array of map[unknown]

Any additional metadata or context for the span

One of the following:
map[unknown]
array of map[unknown]
end_time: optional string

The time the span ended

formatdate-time
input: optional map[unknown] or array of map[unknown]

Input parameters or data for the operation

One of the following:
map[unknown]
array of map[unknown]
output: optional map[unknown] or array of map[unknown]

Output data resulting from the operation

One of the following:
map[unknown]
array of map[unknown]
parent_id: optional string

ID of the parent span if this is a child span in a trace

task_id: optional string

ID of the task this span belongs to

SpanListResponse = array of Span { id, name, start_time, 7 more }
id: string
name: string

Name that describes what operation this span represents

start_time: string

The time the span started

formatdate-time
trace_id: string

Unique identifier for the trace this span belongs to

data: optional map[unknown] or array of map[unknown]

Any additional metadata or context for the span

One of the following:
map[unknown]
array of map[unknown]
end_time: optional string

The time the span ended

formatdate-time
input: optional map[unknown] or array of map[unknown]

Input parameters or data for the operation

One of the following:
map[unknown]
array of map[unknown]
output: optional map[unknown] or array of map[unknown]

Output data resulting from the operation

One of the following:
map[unknown]
array of map[unknown]
parent_id: optional string

ID of the parent span if this is a child span in a trace

task_id: optional string

ID of the task this span belongs to