v51

OpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-01308532588.1 KB
Spans

Search spans

Search spans

post/v1/private/spans/search

Request body

trace_idstring uuid
project_namestring
project_idstring uuid
type'general' | 'tool' | 'llm' | 'guardrail'
limitinteger

Max number of spans to be streamed

last_retrieved_idstring uuid
truncateboolean

Truncate image included in either input, output or metadata

excludestring[]

Fields to exclude from the response

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'.