Skip to main content
PATCH
/
talk2data
/
chat
/
sessions
/
{session_id}
Rename session
curl --request PATCH \
  --url https://api.example.com/talk2data/chat/sessions/{session_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "title": "<string>"
}
'
{
  "session_id": "<string>",
  "title": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-project-id
string
required

Project identifier

Path Parameters

session_id
string
required

Session ID

Body

application/json

Request body for PATCH /api/chat/sessions/{session_id}.

title
string
required

New title for the chat

Required string length: 1 - 255

Response

Successful Response

Response for PATCH /api/chat/sessions/{session_id} (rename).

session_id
string
required
title
string | null
required
created_at
string
required
updated_at
string
required