Update Trace

Updates an existing trace on your Confident AI project.

Path parameters

uuidstringRequired
The UUID of the trace you wish to update.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Request

inputstringOptional
This is the input to the trace.
outputstringOptional
This is the output of the trace.
endTimestringOptionalformat: "date-time"
This is the time the trace ended.
namestringOptional
This is the name of the trace.
environmentenumOptional
This is the environment where your trace was posted, which helps with separating and debugging traces from different environments on the Confident AI platform.
Allowed values:
metadatamap from strings to anyOptional
This is any additional metadata associated with the trace.
tagslist of stringsOptional
This is any tags associated with the trace, which helps with grouping traces and filtering them on the Confident AI platform.
baseSpanslist of objectsOptional
This is the list of base spans associated with the trace.
llmSpanslist of objectsOptional
This is the list of LLM spans associated with the trace.
retrieverSpanslist of objectsOptional
This is the list of retriever spans associated with the trace.
toolSpanslist of objectsOptional
This is the list of tool spans associated with the trace.
agentSpanslist of objectsOptional
This is the list of agent spans associated with the trace.

Response

successboolean
A boolean indicating the success or failure of the API call
dataobject
deprecatedboolean
This is true if this endpoint is deprecated.