For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
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.
spanslist of objectsOptional
This is the list of base spans associated with the trace.
threadIdstringOptional
This is the unique identifier of the thread associated with the trace.
threadobjectOptional
Thread-level fields applied to the thread record. thread.id is an alternate way to specify the thread (must match top-level threadId if both are provided). metadata and tags only take effect when a thread id is resolvable; successive ingestions merge metadata keys, while tags replace any prior value.
userIdstringOptional
This is the unique identifier for your end user for the trace.
metricCollectionstringOptional
This is the metric collection you wish to use to evaluate the trace.
retrievalContextlist of stringsOptional
This is the retrieval context of your trace, which is to be used for evaluation.
contextlist of stringsOptional
This is the ideal retrieval context of your trace, which is to be used for evaluation.
expectedOutputstringOptional
This is the expected output of your trace, which is the ideal actual output and to be used for evaluation.
toolsCalledlist of objectsOptional
This is the tools called by your trace, which is to be used for evaluation.
expectedToolslist of objectsOptional
This is the expected tools to be called by the trace, which is to be used for evaluation.
attachmentsmap from strings to objectsOptional
Map of attachment ids to payloads for all [DEEPEVAL:IMAGE:…] and [DEEPEVAL:PDF:…] markers in this trace. Define attachments at the trace level with same ids for same instances.
Response
successboolean
A boolean indicating the success or failure of the API call
dataobject
This maps to the trace id.
linkstring
This is the URL to the trace on the Confident AI platform.