Get Span Of Trace
GET/observability/spans/:span_id/
Get Span Of Trace
Request
Path Parameters
span_id Span Idrequired
Query Parameters
type Type
Default value: generation
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
]
]
id Id (string)required
name Name (string)required
project_idobject
anyOf
string
parent_span_idobject
anyOf
string
created_at date-timerequired
variantobjectrequired
variant_idobject
anyOf
string
variant_nameobject
anyOf
string
revisionobject
anyOf
integer
environmentobject
anyOf
string
spankind Spankind (string)required
status SpanStatusCode (string)required
Possible values: [UNSET
, OK
, ERROR
]
metadata objectrequired
trace_id Trace Id (string)required
user_idobject
anyOf
string
content objectrequired
childrenobject
anyOf
id Id (string)required
name Name (string)required
project_idobject
anyOf
string
parent_span_idobject
anyOf
string
created_at date-timerequired
variantobjectrequired
variant_idobject
anyOf
string
variant_nameobject
anyOf
string
revisionobject
anyOf
integer
environmentobject
anyOf
string
spankind Spankind (string)required
status SpanStatusCode (string)required
Possible values: [UNSET
, OK
, ERROR
]
metadata objectrequired
trace_id Trace Id (string)required
user_idobject
anyOf
string
content objectrequired
childrenobject
anyOf
0
1
2
3
4
5
6
7
8
9
10
11
12
13
configobject
anyOf
{
"id": "string",
"name": "string",
"project_id": "string",
"parent_span_id": "string",
"created_at": "2024-11-22T12:54:53.609Z",
"variant": {
"variant_id": "string",
"variant_name": "string",
"revision": 0
},
"environment": "string",
"spankind": "string",
"status": "UNSET",
"metadata": {},
"trace_id": "string",
"user_id": "string",
"content": {},
"children": [
null
],
"config": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...