Sessions

Terminate a session

Terminate an active Devin session. This sends a stop signal to the session, causing it to gracefully shut down. Once terminated, the session cannot be resumed.

Note: Sessions that have already exited cannot be terminated again.

delete/sessions/{session_id}

Request

  • Base URL
    https://api.devin.ai
  • URL
    https://api.devin.ai/sessions/{session_id}
  • Auth
    HTTP bearer

Path parameters

session_idstring required

The session ID to terminate

Response

Session terminated successfully

detailstring

Example response

{
  "detail": "Session terminated successfully"
}

Changes

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