Spans

Get span by id

Get span by id

get/v1/private/spans/{id}

Path parameters

idstring uuid required

Query parameters

strip_attachmentsboolean

If true, returns attachment references like [file.png]; if false, downloads and reinjects attachment content from S3 (default: false for backward compatibility)

Response

Span resource

idstring uuid
project_namestring

If null, the default project is used

project_idstring uuid
trace_idstring uuid
parent_span_idstring uuid
namestring
type'general' | 'tool' | 'llm' | 'guardrail'
start_timestring date-time required
end_timestring date-time
inputJsonListStringPublic
outputJsonListStringPublic
metadataJsonListStringPublic
modelstring
providerstring
tagsstring[]
usageobject
created_atstring date-time
last_updated_atstring date-time
created_bystring
last_updated_bystring
total_estimated_costnumber
total_estimated_cost_versionstring
durationnumber double

Duration in milliseconds as a decimal number to support sub-millisecond precision

ttftnumber double

Time to first token in milliseconds

source'sdk' | 'experiment' | 'playground' | 'optimization' | 'evaluator'
environmentstring

Changes

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

    • ●

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

      response-property-enum-value-added

    • ●

      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

    • ○

      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

  • d606e84c75e4102See the full diff
    • ●

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

    • ○

      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