Delete Session
DELETE /sessions/{session_id}Soft: the runs that reference it stay explainable. A hard delete would leave a transcript pointing at nothing, which is worse than a row marked gone.
Parameters
Section titled “Parameters”| Name | In | Type | Notes | |
|---|---|---|---|---|
session_id | path | string (uuid) | required | — |
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
204 | Successful Response | — |
422 | Validation Error | HTTPValidationError |
Example
Section titled “Example”curl -X DELETE https://your-deployment.example.com/sessions/{session_id} \ -H "Authorization: Bearer $COBRE_TOKEN"