PATCH
/
api
/
v1
/
threads
/
{id}
/
Rename thread (partial)
curl --request PATCH \
  --url https://api.camelai.com/api/v1/threads/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>"
}'
{
  "id": 123,
  "title": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "last_modified": "2023-11-07T05:31:56Z",
  "connection_ids": "<any>",
  "connection_names": "<string>",
  "message_count": "<string>",
  "model": "sonnet-4",
  "source": "UI",
  "uid": "<string>"
}

Authorizations

Authorization
string
header
required

JWT or API key authentication using Bearer scheme

Path Parameters

id
integer
required

A unique integer value identifying this thread.

Body

application/json

Response

200
application/json

Serializer for Thread model.