Sessions

Retry a session's last turn

Changed on

Requires run. Starts the last turn again in the same Session and workspace. A Session that is still running is refused with 409 not_terminal.

<sub>Scope: run</sub>

post/v3/organizations/{orgId}/sessions/{sessionId}/retry

Request

  • Base URL
    https://api.reasonmachines.com
  • URL
    https://api.reasonmachines.com/v3/organizations/{orgId}/sessions/{sessionId}/retry
  • Auth
    HTTP bearer

Response

The retry started: ok true with its run_id.

oktrue required

Always true on success.

run_idstring nullable required

The new run of the retried turn; poll getSession for its progress. Typed nullable with the receipt; a 200 carries an id.

Changes