Spans

Get span stats

Get span stats

get/v1/private/spans/stats

Request

  • Base URL
    http://localhost:5173/api
  • URL
    http://localhost:5173/api/v1/private/spans/stats
  • Auth
    none declared

Query parameters

project_idstring uuid
project_namestring
trace_idstring uuid
type'general' | 'tool' | 'llm' | 'guardrail'
filtersstring
searchstring

Full-text search across span fields

from_timestring date-time

Filter spans created from this time (ISO-8601 format).

to_timestring date-time

Filter spans created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.

Response

Span stats resource

Changes

No recorded changes to this operation across all 82 revisions of this API.