v51

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

Update span by id

Update span by id

patch/v1/private/spans/{id}

Path parameters

idstring uuid required

Request body

project_namestring

If null and project_id not specified, Default Project is assumed

project_idstring uuid

If null and project_name not specified, Default Project is assumed

trace_idstring uuid required
parent_span_idstring uuid
namestring
type'general' | 'tool' | 'llm' | 'guardrail'
end_timestring date-time
inputJsonListString
outputJsonListString
metadataJsonListString
modelstring
providerstring
tagsstring[]

Tags

tags_to_addstring[]

Tags to add

tags_to_removestring[]

Tags to remove

usageobject
total_estimated_costnumber
ttftnumber double
source'sdk' | 'experiment' | 'playground' | 'optimization' | 'evaluator'
environmentstring

Response

No Content