Skip to main content
DELETE
/
chat-history
/
{chatId}
Delete Chat History
curl --request DELETE \
  --url https://app.splox.io/api/v1/chat-history/{chatId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>"
}
Deletes all message history for a chat session. The chat session itself is preserved.

Usage

curl -X DELETE https://app.splox.io/api/v1/chat-history/0199f200-a11b-7c8d-4444-888890abcdef \
  -H "Authorization: Bearer YOUR_TOKEN"

Path Parameters

ParameterTypeDescription
chatIdstring (uuid)Chat ID

Response

{
  "message": "Chat history deleted successfully"
}

Notes

Authentication required. The authenticated user must own the chat session.
This deletes all chat_history message rows for the chat. The chat session itself and any node-level memory are not affected.

Authorizations

Authorization
string
header
required

API token generated from your Splox account settings. Create tokens at https://app.splox.io/account?tab=settings

Path Parameters

chatId
string<uuid>
required

Chat ID

Response

200 - application/json

Chat history deleted successfully

message
string