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
- OTelTracingResponse
- AgentaNodesResponse
- AgentaTreesResponse
- AgentaRootsResponse
- MOD1
- Array [ 
- MOD1
- MOD1
- Array [ 
- ] 
- OTelContextDTO
- MOD1
- Array [ 
- ] 
- ] 
- MOD1
- Array [ 
- LifecycleDTO
- MOD1
- MOD1
- MOD1
- TreeType
- NodeType
- ParentDTO
- MOD1
- ExceptionDTO
- MOD1
- MOD1
- MOD1
- Array [ 
- MOD1
- ] 
- OTelExtraDTO
- MOD1
- MOD1
- Array [ 
- ] 
- MOD1
- Array [ 
- ] 
- ] 
- MOD1
- MOD1
- Array [ 
- TreeType
- Array [ 
- LifecycleDTO
- MOD1
- MOD1
- MOD1
- TreeType
- NodeType
- ParentDTO
- MOD1
- ExceptionDTO
- MOD1
- MOD1
- MOD1
- Array [ 
- MOD1
- ] 
- OTelExtraDTO
- MOD1
- MOD1
- Array [ 
- ] 
- MOD1
- Array [ 
- ] 
- ] 
- ] 
- MOD1
- MOD1
- Array [ 
- Array [ 
- TreeType
- Array [ 
- LifecycleDTO
- MOD1
- MOD1
- MOD1
- TreeType
- NodeType
- ParentDTO
- MOD1
- ExceptionDTO
- MOD1
- MOD1
- MOD1
- Array [ 
- MOD1
- ] 
- OTelExtraDTO
- MOD1
- MOD1
- Array [ 
- ] 
- MOD1
- Array [ 
- ] 
- ] 
- ] 
- ] 
- MOD1
countobject
integer
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
string
attributesobject
eventsobject
attributesobject
parentobject
linksobject
contextobjectrequired
attributesobject
nodesobject
lifecycleobject
created_atobject
string
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
integer
treesobject
treeobjectrequired
typeobject
string
Possible values: [invocation]
nodesobject[]required
lifecycleobject
created_atobject
string
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
integer
rootsobject
rootobjectrequired
treesobject[]required
treeobjectrequired
typeobject
string
Possible values: [invocation]
nodesobject[]required
lifecycleobject
created_atobject
string
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
integer
{}
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- Array [ 
- MOD1
- MOD2
- ] 
- ] 
detailobject[]
locobject[]required
string
integer
{
  "detail": [
    {
      "loc": [
        "string",
        0
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}