Skip to main content

SessionSummary

Aggregated trace, usage, and score information for an evaluation session.

Usage profiles​

UsageFields and validation
In responsesView fields

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
sessionIdstringOptionalIdentifier of the evaluation session grouping related traces.
createdAtstring (date-time)OptionalTime when this record was created.
durationSecondsnumber (double) or string (NaN, Infinity, -Infinity)OptionalElapsed session duration, in seconds.
environmentstringOptionalEnvironment label attached to the evaluation record.
userIdsArray of stringOptionalIdentifiers of the users selected by the operation.
traceCountinteger (int32)OptionalNumber of traces represented by this summary or group. Minimum: -2147483648. Maximum: 2147483647.
totalCostnumber (double) or string (NaN, Infinity, -Infinity)OptionalTotal cost reported for the evaluated generation or aggregate.
inputTokensstring (int64)OptionalInput-token usage reported for the evaluated generation. Pattern: ^-?\d+$.
outputTokensstring (int64)OptionalOutput-token usage reported for the evaluated generation. Pattern: ^-?\d+$.
totalTokensstring (int64)OptionalTotal token usage reported for the evaluated generation or aggregate. Pattern: ^-?\d+$.
traceTagsArray of stringOptionalLabels collected from the session’s evaluation traces.
scoresArray of ScoreOptionalEvaluation scores returned for the selected objects or query.
commentCountinteger (int32)OptionalNumber of comments reported on the evaluation object. Minimum: -2147483648. Maximum: 2147483647.
metadataJsonstringOptionalAdditional attributes serialized as a JSON object.
bookmarkedbooleanOptionalWhether the evaluation object is bookmarked.
conversationIdsArray of stringOptionalConversation identifiers observed on the session’s traces; a session may span multiple conversations.

Where used​

ReferenceRelationship
Get a sessionPOST /api/v1/evals/get-session
List sessionsPOST /api/v1/evals/list-sessions
SessionDetailNested in model

Download the public reference contract.

Document: DOC-API-MODEL-session-summary.