Spans
List spans
Returns a paginated list of spans.
The spans are sorted by their timestamp, with the most recent coming first.
<Note>This endpoint is in beta, read more here.</Note>
post/v2/spans
Query parameters
limitinteger
Maximum items to return
cursorstring
Opaque pagination cursor returned from a previous response (pagination.next_cursor). Treat it as an unreadable token; do not attempt to parse or construct it.
Request body
Response
Returns a list of spans
Example response
{
"spans": [
{
"annotations": [
{
"annotator": {
"email": "user@example.com"
}
}
],
"trace_annotations": [
{
"annotator": {
"email": "user@example.com"
}
}
]
}
]
}