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

The event

Reopening raises session.reopened on the session’s stream, with session: {status: "open"}. The command is synchronous, so the caller already has the outcome in the response; the event is for everyone else watching the stream. A client that excludes its own writes still has the response. See Types. See Session Lifecycle for the complete model.