Skip to content

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.

NameInTypeNotes
session_idpathstring (uuid)required—
StatusDescriptionBody
204Successful Response—
422Validation ErrorHTTPValidationError
Terminal window
curl -X DELETE https://your-deployment.example.com/sessions/{session_id} \
-H "Authorization: Bearer $COBRE_TOKEN"