latestOpenAPI 3.1.02026-08-223321,1001.6 MB

2134ebffd1ef

Grade Session

Grade a single session against ground truth using LLM judge.

The trace is fetched from S3 (environment-agnostic), so sessions from any deployment (e.g. staging) can be graded. Platform-admin auth is the access control; no per-session org check is needed.

post/sessions/{session_id}/grade

Path parameters

session_idstring required

Request body

ground_truthstring required

Ground truth text to grade against

Response

Successful Response

overall_scorenumber required
dimension_scoresobject required
justificationsobject required