Skip to main content
Section ID: DOC-API-MODEL-schema-1k4mjul65u#overview

TraceSummary

Evaluation summary for a conversation turn, including its recorded conversation, message and profile attribution.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-1k4mjul65u#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-1k4mjul65u#fields

UsageFields and validation
In responsesView fields

In responses​

Section ID: DOC-API-MODEL-schema-1k4mjul65u#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-traceidSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-traceidtraceIdstringOptionalIdentifier of the evaluation trace.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-nameSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-namenamestringOptionalName recorded for the evaluation trace.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-timestampSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-timestamptimestampstring (date-time)OptionalTimestamp associated with the evaluation trace.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-inputjsonSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-inputjsoninputJsonstringOptionalEvaluation input serialized as JSON.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-outputjsonSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-outputjsonoutputJsonstringOptionalEvaluation output serialized as JSON.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-latencysecondsSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-latencysecondslatencySecondsnumber (double) or string (NaN, Infinity, -Infinity)OptionalElapsed observation latency, in seconds.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-totalcostSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-totalcosttotalCostnumber (double) or string (NaN, Infinity, -Infinity)OptionalTotal cost reported for the evaluated generation or aggregate.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-environmentSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-environmentenvironmentstringOptionalEnvironment label attached to the evaluation record.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-tagsSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-tagstagsArray of stringOptionalLabels associated with the resource for organization or filtering.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-metadatajsonSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-metadatajsonmetadataJsonstringOptionalAdditional attributes serialized as a JSON object.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-bookmarkedSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-bookmarkedbookmarkedbooleanOptionalWhether the evaluation object is bookmarked.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-versionSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-versionversionstringOptionalVersion of the resource represented by this message.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-releaseSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-releasereleasestringOptionalApplication release identifier attached to the trace.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-useridSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-useriduserIdstringOptionalIdentifier of the user associated with the operation.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-sessionidSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-sessionidsessionIdstringOptionalIdentifier of the evaluation session grouping related traces.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-observationcountSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-observationcountobservationCountstring (int64)OptionalNumber of observations reported for the evaluation object. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-conversationidSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-conversationidconversationIdstringOptionalIdentifier of the conversation associated with the trace.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-sourceusermessageidSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-sourceusermessageidsourceUserMessageIdstringOptionalIdentifier of the user message that opened the evaluated generation turn.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-profileidSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-profileidprofileIdstringOptionalIdentifier of the agent profile associated with the generation.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-confighashSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-confighashconfigHashstringOptionalFingerprint of the profile ID, model and resolved prompt hash used to group evaluation results. Other settings are excluded; this is not an immutable profile revision.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-inputtokensSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-inputtokensinputTokensstring (int64)OptionalInput-token usage reported for the evaluated generation. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-outputtokensSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-outputtokensoutputTokensstring (int64)OptionalOutput-token usage reported for the evaluated generation. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-totaltokensSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-totaltokenstotalTokensstring (int64)OptionalTotal token usage reported for the evaluated generation or aggregate. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-errorcountSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-errorcounterrorCountstring (int64)OptionalNumber of observations reported at error level. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-warningcountSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-warningcountwarningCountstring (int64)OptionalNumber of observations reported at warning level. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-defaultcountSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-defaultcountdefaultCountstring (int64)OptionalNumber of observations reported at the default level. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-debugcountSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-debugcountdebugCountstring (int64)OptionalNumber of observations reported at debug level. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-scoresSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-scoresscoresArray of ScoreOptionalEvaluation scores returned for the selected objects or query.
Section ID: DOC-API-MODEL-schema-1k4mjul65u#field-commentcountSection ID: DOC-API-MODEL-schema-1k4mjul65u#response-field-commentcountcommentCountstring (int64)OptionalNumber of comments reported on the evaluation object. Pattern: ^-?\d+$.

Where used​

Section ID: DOC-API-MODEL-schema-1k4mjul65u#where-used

ReferenceRelationship
Get a sessionPOST /api/v1/evals/get-session
Get a tracePOST /api/v1/evals/get-trace
List tracesPOST /api/v1/evals/list-traces
Models containing this value
ModelRelationship
SessionDetailNested in model
TraceDetailNested in model

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-1k4mjul65u