Get span summary
Changed onReturns aggregate span statistics for a time range. Send start_time, end_time, and environment as query parameters, and additional filters in the JSON body. Fields such as log_type are not read from query parameters. Empty or omitted filters may use pre-aggregated data; non-empty filters query individual spans using the List spans filter format.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/request-logs/summary/
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
Start of time range (ISO 8601).
End of time range (ISO 8601).
Filter by environment (prod or test).
Request body
Example request
{
"filters": {
"customer_identifier": {
"operator": "",
"value": [
"alex@acme.dev"
]
}
}
}Response
Summary statistics for matching spans.
Example response
{
"number_of_requests": 1,
"total_cost": 0,
"total_tokens": 0,
"total_prompt_tokens": 0,
"total_completion_tokens": 0,
"avg_latency": 0,
"avg_tps": 0,
"avg_ttft": 0,
"scores": {}
}Changes
- breaking
the
response's property format changed fromdoubleto no format for status - breaking
the
response's property format changed fromdoubleto no format for status - breaking
the
response's property format changed fromdoubleto no format for status - breaking
the
response's property format changed fromdoubleto no format for status - info
api operation id
spans_getSpansSummaryremoved and replaced withgetSpansSummary - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Spansadded - info
api tag
spansremoved
- breaking
- breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
iexactof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - breaking
removed the enum value
isnullof the request property// - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
emptyenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_containsenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_emptyenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_endswithenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_inenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the new
not_startswithenum value to the request property// - info
added the non-success response with the status
- info
removed the non-success response with the status
- breaking