Spans

Get spans by project_name or project_id and optionally by trace_id and/or type

Get spans by project_name or project_id and optionally by trace_id and/or type

get/v1/private/spans

Query parameters

pageinteger
sizeinteger
project_namestring
project_idstring uuid
trace_idstring uuid
type'general' | 'tool' | 'llm' | 'guardrail'
filtersstring
truncateboolean

Truncate input, output and metadata to slim payloads

strip_attachmentsboolean

If true, returns attachment references like [file.png]; if false, downloads and reinjects stripped attachments

sortingstring
excludestring
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

Spans resource

pageinteger
sizeinteger
totalinteger
sortableBystring[]

Changes

Changed in 5 of the 67 revisions of this API.66

    • ●

      added the new evaluator enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ●

      removed the optional property //// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property //// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ○

      removed the evaluator enum value from the // response property for the response status

      response-property-enum-value-removed

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog