Get Spans Of Trace
GEThttps://cloud.agenta.ai/api/observability/spans/
Get Spans Of Trace
Request
Query Parameters
app_id App Idrequired
page Page
Possible values: >= 1
Default value: 1
pageSize Pagesize
Possible values: >= 1
Default value: 10
type Type
Default value: generation
trace_id any
environment any
variant any
created_at Created At
Default value: desc
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
any
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detail
object[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
ResponseClear