Skip to main content
PATCH
/
chat-sessions
/
update
Update chat session
curl --request PATCH \
  --url https://api.flipsidecrypto.xyz/public/v3/chat-sessions/update \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-session-id: <x-session-id>' \
  --data '
{
  "meta": {
    "title": "My Chat"
  },
  "visibility": "personal"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "visibility": "personal",
  "meta": null,
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Headers

x-session-id
string<uuid>
required

The chat session ID

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json
meta
any | null

Metadata to update (merged with existing meta)

Example:
{ "title": "My Chat" }
visibility
enum<string>

Visibility level: 'personal' (owner only) or 'organization' (shared with org members)

Available options:
personal,
organization,
public
Example:

"personal"

Response

Chat session updated successfully

id
string<uuid>
required
visibility
enum<string>
required
Available options:
personal,
organization,
public
meta
unknown
updatedAt
string<date-time>