Define what done looks like for a session
Defines what done looks like for an existing session and returns the stored outcome. Outcomes chain rather than run concurrently: the request is rejected while the session still has a non-terminal outcome, so define the next one only after the previous is graded. Conversations opened by managedAgentsOpenFineTuningAnalyst never accept outcomes and return 409 conflict for this operation.
Authorizations
Headers
Path Parameters
Body
- Option 1
- Option 2
- Option 3
A definition of done for a session -- the task plus the criteria it is graded against. Accepted both when starting a session and when adding an outcome to a running one. Send criteria, rubric, or rubric_ref; criteria and rubric are accepted together only when the rubric parses to exactly those criteria, as in a read-back body.
The criteria the evaluator checks the work against, in order. Verdicts and revision feedback cite each criterion by its criterion_key. Send criteria, rubric, or rubric_ref; criteria and rubric are accepted together only when the rubric parses to exactly those criteria, as in a read-back body. Criteria render to at most 256 KiB.
1 - 200 elementsDeprecated: send criteria. A markdown rubric, read once into criteria when the outcome is defined. Send criteria, rubric, or rubric_ref; criteria and rubric are accepted together only when the rubric parses to exactly those criteria, as in a read-back body. Criteria render to at most 256 KiB.
1Response
A writer session's definition of done and its persisted evaluator verdicts.
A writer session's definition of done and its persisted evaluator verdicts.
Evaluator verdicts in order, newest last. Only passes that produced a verdict are listed: a pass that could not grade the work is reported by the pass status, and by terminal_result and terminal_explanation when it ended the outcome. A historical pass whose grader session is no longer recorded stays listed here even though it has no evaluator.