Skip to main content
PATCH
/
ai
/
{v}
/
chat
Update chat
curl --request PATCH \
  --url https://platform.ai.gloo.com/ai/{v}/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_value": ""
}
'
{
  "chat_id": "cd7c70b84-81b4-4865-ba38-5bce98d1919d",
  "field": "pin",
  "value": true
}
Deprecated Endpoint: This endpoint is part of the Chat API which is deprecated.Please migrate to the Completions v2 API for new projects.Migration Guide →

Authorizations

Authorization
string
header
required

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

Path Parameters

v
enum<string>
required
Available options:
v1

Query Parameters

chat_id
string
required
chat_field
enum<string>
required

Select a field

Available options:
pin,
title,
summary
Maximum string length: 7

Body

application/json
new_value
any
default:""

The new value for the field.

Response

Successful response