Skip to main content
Return a closed session to normal service. The session becomes writable again and can run new executions.

POST /revisions/:id/data/command (Command: reopen_session)

Requires the write role on the blob.

Request Body

Response

Unlike closing and deleting, reopening is immediate and complete when the command returns — there is no background work. Nothing was running in a closed session, so there is nothing to restart.

Errors

A session that is closing cannot be reopened. Wait for it to reach closed — signalled by the session_closed event — and reopen it then. A deleting session can never be reopened; deletion is irreversible.

Example

No event is emitted

Reopening emits no session event. The other three transitions are asynchronous, so they announce their outcome; reopening is synchronous, so the caller already has it in the response. Clients that track session status from the event stream should also refresh on their own reopen calls. See Session Lifecycle for the complete model.