Skip to main content
POST
Clear session history

Authorizations

Authorization
string
header
required

Bearer token authentication. Supports two token types:

  • JWT Access Token — obtained via POST /v1/auth/login
  • Personal Access Token (PAT) — created via POST /v1/api-tokens, format: cmnd_<tokenId>.<secret>

Path Parameters

id
string
required

The session ID

Response

Session history cleared successfully

id
string
Example:

"session_xyz789"

object
string
Example:

"chat.session"

message_count
integer
Example:

0

cleared
boolean
Example:

true