Query traces, with optional grouping, windowing, filtering, and pagination.
GEThttps://cloud.agenta.ai/api/observability/v1/traces
Query traces, with optional grouping, windowing, filtering, and pagination.
Request
Query Parameters
format Format
Possible values: [opentelemetry
, agenta
]
Default value: agenta
focus any
oldest any
newest any
filtering any
page any
size any
next any
stop any
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- OTelSpansResponse
- AgentaNodesResponse
- AgentaTreesResponse
- AgentaRootsResponse
anyOf
version Version (string)required
countobject
spansobject[]required
nodesobject[]required
version Version (string)required
countobject
treesobject[]required
version Version (string)required
countobject
rootsobject[]required
version Version (string)required
countobject
{}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detailobject[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://cloud.agenta.ai/api/observability/v1/traces' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ResponseClear