Query traces, with optional grouping, windowing, filtering, and pagination.
GET/observability/v1/traces
Query traces, with optional grouping, windowing, filtering, and pagination.
Request
Query Parameters
Possible values: [opentelemetry
, agenta
]
Default value: agenta
Responses
- 200
- 422
- application/json
- Schema
- Example (from schema)
Schema
- OTelSpansResponse
- AgentaNodesResponse
- AgentaTreesResponse
- AgentaRootsResponse
- MOD1
Array [
- MOD1
- MOD1
Array [
]
- OTelContextDTO
- MOD1
Array [
]
]
Array [
- LifecycleDTO
- MOD1
- MOD1
- TreeType
- NodeType
- ParentDTO
- MOD1
- ExceptionDTO
- MOD1
- MOD1
- MOD1
Array [
- MOD1
]
- OTelExtraDTO
- MOD1
- MOD1
Array [
]
- MOD1
Array [
]
]
- MOD1
Array [
- TreeType
Array [
- LifecycleDTO
- MOD1
- MOD1
- TreeType
- NodeType
- ParentDTO
- MOD1
- ExceptionDTO
- MOD1
- MOD1
- MOD1
Array [
- MOD1
]
- OTelExtraDTO
- MOD1
- MOD1
Array [
]
- MOD1
Array [
]
]
]
- MOD1
Array [
Array [
- TreeType
Array [
- LifecycleDTO
- MOD1
- MOD1
- TreeType
- NodeType
- ParentDTO
- MOD1
- ExceptionDTO
- MOD1
- MOD1
- MOD1
Array [
- MOD1
]
- OTelExtraDTO
- MOD1
- MOD1
Array [
]
- MOD1
Array [
]
]
]
]
- MOD1
countobject
spansobject[]required
contextobjectrequired
Possible values: [SPAN_KIND_UNSPECIFIED
, SPAN_KIND_INTERNAL
, SPAN_KIND_SERVER
, SPAN_KIND_CLIENT
, SPAN_KIND_PRODUCER
, SPAN_KIND_CONSUMER
]
Default value: SPAN_KIND_UNSPECIFIED
Possible values: [STATUS_CODE_OK
, STATUS_CODE_ERROR
, STATUS_CODE_UNSET
]
Default value: STATUS_CODE_UNSET
status_messageobject
attributesobject
eventsobject
attributesobject
parentobject
linksobject
contextobjectrequired
attributesobject
nodesobject[]required
lifecycleobject
updated_atobject
string
updated_by_idobject
string
rootobjectrequired
treeobjectrequired
typeobject
string
Possible values: [invocation
]
nodeobjectrequired
typeobject
string
Possible values: [agent
, workflow
, chain
, task
,
tool
, embedding
, query
, completion
, chat
, rerank
]
parentobject
timeobjectrequired
statusobjectrequired
Possible values: [UNSET
, OK
, ERROR
]
messageobject
string
exceptionobject
messageobject
string
stacktraceobject
string
attributesobject
dataobject
metricsobject
metaobject
refsobject
linksobject
Possible values: [invocation
]
tree_idobject
string
otelobject
kindobject
string
attributesobject
eventsobject
attributesobject
linksobject
context
objectrequired
attributesobject
nodesobject
countobject
treesobject[]required
treeobjectrequired
typeobject
string
Possible values: [invocation
]
nodesobject[]required
lifecycleobject
updated_atobject
string
updated_by_idobject
string
rootobjectrequired
treeobjectrequired
typeobject
string
Possible values: [invocation
]
nodeobjectrequired
typeobject
string
Possible values: [agent
, workflow
, chain
, task
,
tool
, embedding
, query
, completion
, chat
,
rerank
]
parentobject
timeobjectrequired
statusobjectrequired
Possible values: [UNSET
, OK
, ERROR
]
messageobject
string
exceptionobject
messageobject
string
stacktraceobject
string
attributesobject
dataobject
metricsobject
metaobject
refsobject
linksobject
Possible values: [invocation
]
tree_idobject
string
otelobject
kindobject
string
attributesobject
eventsobject
attributesobject
linksobject
context
object
required
attributesobject
nodesobject
countobject
rootsobject[]required
rootobjectrequired
treesobject[]required
treeobjectrequired
typeobject
string
Possible values: [invocation
]
nodesobject[]required
lifecycleobject
updated_atobject
string
updated_by_idobject
string
rootobjectrequired
treeobjectrequired
typeobject
string
Possible values: [invocation
]
nodeobjectrequired
typeobject
string
Possible values: [agent
, workflow
, chain
,
task
, tool
, embedding
, query
, completion
,
chat
, rerank
]
parentobject
timeobjectrequired
statusobjectrequired
Possible values: [UNSET
, OK
, ERROR
]
messageobject
string
exceptionobject
messageobject
string
stacktraceobject
string
attributesobject
dataobject
metricsobject
metaobject
refsobject
linksobject
Possible values: [invocation
]
tree_idobject
string
otelobject
kindobject
string
attributesobject
eventsobject
attributesobject
anyOf
linksobject
context
object
required
attributesobject
anyOf
nodesobject
countobject
{}
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}