Finish a training session
Close the session out as finished, keeping its rows and critiques as history. Idempotent.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
A whole training session, as the reviewer's page polls it.
Everything the page needs in one payload: the phase (status), the
cycle, the rows with their results and critiques, and the pending proposal
when there is one.
How far the current cycle's run has got.
A pending prompt revision, alongside what it would replace.
Where a session's training inputs came from.
table, manual Where a training session stands — the state the reviewer's screen shows.
One enum rather than a separate lifecycle flag and phase, because the
phase IS the state: a session is either waiting on the machine
(RUNNING), waiting on the reviewer (REVIEWING, PROPOSED), or
finished. Callers never derive the screen from row counts.
running, reviewing, proposed, completed, abandoned