Skip to main content
Deleting a session removes the session record and all associated events from Knoq. If a background workflow is actively processing a turn when you issue this request, Knoq marks the session as cancelled first so the workflow exits cleanly before the data is removed. Deletion is permanent and cannot be undone.
Deleting a session in Knoq removes only the locally persisted data — conversation history stored on Knoq’s side. This action does not affect any data held by external AI providers.

Request

string
required
The ID of the session to delete. You can obtain this from the Create Session response or the List Sessions endpoint.

Response

boolean
Always true when the deletion succeeds.

Example

Errors