sequences

Discard the rewrite

Drops the rewrite and the lesson that wrote it. The thread stays as it was written, its notes are kept as discarded (the agent never learns them) and the contact waits for a verdict again. Closing the whole run is the close route.

post/sequences/{sequence_id}/agent/training/{session_id}/discard-changes/

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/sequences/{sequence_id}/agent/training/{session_id}/discard-changes/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

sequence_idstring uuid required
session_idstring uuid required

Request body

expected_revisioninteger required

Response

Successful Response

agent_idstring uuid required
applied_versioninteger nullable required
base_versioninteger required
created_atstring date-time required
errorstring nullable required
idstring uuid required
note_waitingboolean

A note was given while another contact was being written: its rewrite is worked out as soon as that write lands.

reviewed_idsstring[]

Every contact given Looks good or a note in this run, including ones that left the run to make room.

revisioninteger required
status'running' | 'reviewing' | 'proposing' | 'proposed' | 'completed' | 'abandoned' required

A session's phase, also used to resume its review screen.

Changes

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