Sessions

Start a new session's machine ahead of its create

Reserve a Session id (a fresh UUID v4) and start its cloud machine while the prompt is still being written; pass the same id as client_session_id to create within 75 s and the session starts on the warm machine. Advisory and only for enabled workspaces: 204 means nothing was started, and create works the same either way. An unused machine is removed after 90 s.

<sub>Scope: run</sub>

post/v3/organizations/{orgId}/sessions/prestart

Request

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

Request body

client_session_idstring uuid required

A fresh UUID v4; send it as client_session_id on createSession.

Response

Started, or already starting for this id.

status'starting' | 'ready'
ttl_msinteger

Changes

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