Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request DELETE \ --url https://ninjachat.ai/api/v1/sessions/{id} \ --header 'Authorization: Bearer <token>'
{ "deleted": true }
Permanently delete a session and its stored messages.
API key starting with nj_sk_
Session ID to delete.
Session deleted.