Create span

Create span

Request

This endpoint expects an object.
start_timedatetimeRequired
idstringOptionalformat: "uuid"
project_namestringOptionalformat: "(?s)^\s*(\S.*\S|\S)\s*$"
If null, the default project is used
trace_idstringOptionalformat: "uuid"
parent_span_idstringOptionalformat: "uuid"
namestringOptional
typeenumOptional
Allowed values:
end_timedatetimeOptional
inputmap from strings to any or list of objects or stringOptional
outputmap from strings to any or list of objects or stringOptional
metadatamap from strings to any or list of objects or stringOptional
modelstringOptional
providerstringOptional
tagslist of stringsOptional
usagemap from strings to integersOptional
error_infoobjectOptional
last_updated_atdatetimeOptional
total_estimated_costdoubleOptional>=0
total_estimated_cost_versionstringOptional
ttftdoubleOptional
Time to first token in milliseconds

Response headers

Locationstring or null

Response

Created

Errors