agent-training

Propose a revised prompt

Rewrite the agent's prompt from this cycle's verdicts, fixing the rows marked bad without losing the ones marked good. Needs at least one bad row. Only the prompt is proposed (the output shape, model and tools are never machine-written) and every declared {{input}} placeholder is verified to survive before the proposal is shown.

post/agent-training/sessions/{session_id}/propose/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/agent-training/sessions/{session_id}/propose/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

session_idstring uuid required

Request body

revision_requeststring

What to change about the proposal already on screen.

Response

Successful Response

created_atstring date-time required
cycleinteger required
errorstring nullable required
idstring uuid required
saved_agent_idstring uuid required
source_input_mappingsobject required
source_kind'table' | 'manual' required

Where a session's training inputs came from.

source_table_idstring uuid nullable required
status'running' | 'reviewing' | 'proposed' | 'completed' | 'abandoned' required

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.

updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.