Skip to main content
PATCH
/
chats
/
{id}
Update a chat
curl --request PATCH \
  --url http://localhost:8080/api/v1/chats/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "attributes": {
      "group_ids": [
        123
      ],
      "llm_id": 123,
      "llm_settings_id": 123,
      "name": "<string>"
    },
    "type": "<string>"
  }
}
'
{
  "attributes": {
    "groups": [
      {
        "attributes": {
          "name": "<string>"
        },
        "id": "<string>",
        "type": "<string>"
      }
    ],
    "llm_id": 123,
    "llm_settings_id": 123,
    "name": "<string>"
  },
  "id": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

id
integer
required

Chat ID

Body

application/json

Updated chat information

Chat input model

data
object

Response

OK

Chat response model

attributes
object
id
string
type
string