Skip to main content
PATCH
Update chat session

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

Body

application/json
name
string

Updated session name

knowledgebase_ids
string[]

Updated knowledge base IDs

Response

Session updated successfully

id
string
Example:

"session_xyz789"

object
string
Example:

"chat.session"

name
string
Example:

"Q&A about Product Docs"

knowledgebase_ids
string[]
model
string
Example:

"gpt-4o-mini"

temperature
number
system_message
string
created_at
integer

Unix timestamp

Example:

1699564800

updated_at
integer

Unix timestamp

Example:

1699564900

message_count
integer
Example:

10