> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gurubase.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Session

> Delete a conversation session

Delete a conversation session (binge).

## Path Parameters

<ParamField path="session_id" type="string" required>
  The unique identifier of the session to delete
</ParamField>

## Headers

<ParamField header="x-api-key" type="string" required>
  Your API key for authentication. You can obtain your API key from the [Gurubase dashboard](https://app.gurubase.io/api-keys).
</ParamField>

### Response

<ResponseField name="msg" type="string">
  Success message indicating the session was deleted
</ResponseField>

<ResponseField name="session_id" type="string">
  The ID of the deleted session
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
      "msg": "Session deleted successfully",
      "session_id": "1b9e86c9-87a8-472a-a6bf-6522e89b2de8"
  }
  ```

  ```json 400 theme={null}
  {
      "msg": "Binge ID is required"
  }
  ```

  ```json 400 theme={null}
  {
      "msg": "Session is already deleted"
  }
  ```

  ```json 401 theme={null}
  {
      "msg": "Invalid API key"
  }
  ```

  ```json 403 theme={null}
  {
      "msg": "Forbidden"
  }
  ```

  ```json 404 theme={null}
  {
      "msg": "Session not found"
  }
  ```

  ```json 404 theme={null}
  {
      "msg": "Guru type not found"
  }
  ```

  ```json 429 theme={null}
  {
      "msg": "Request was throttled. Expected available in 56 seconds."
  }
  ```
</ResponseExample>
