Create span

POST

Create span

Request

This endpoint expects an object.
trace_idstringRequiredformat: "uuid"
namestringRequired
typeenumRequired
Allowed values: generaltoolllm
start_timedatetimeRequired
idstringOptionalformat: "uuid"
project_namestringOptionalformat: "(?s)^\s*(\S.*\S|\S)\s*$"

If null, the default project is used

parent_span_idstringOptionalformat: "uuid"
end_timedatetimeOptional
inputmap from strings to anyOptional
outputmap from strings to anyOptional
metadatamap from strings to anyOptional
modelstringOptional
providerstringOptional
tagslist of stringsOptional
usagemap from strings to integersOptional
error_infoobjectOptional
total_estimated_costdoubleOptional>=0
total_estimated_cost_versionstringOptional
Built with