Start a training session
Pin a set of training inputs — read from a table or typed by hand — and run the agent over all of them. The session is remembered: reviewing it, critiquing rows and approving prompt revisions all resume where they were left.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Where a new training session takes its inputs from.
Training inputs read from a table, one row per record.
- TrainingTableSourceSchema
- TrainingManualSourceSchema
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