ask_camel
knowledge-base
recommendations
reference-queries
sources
- GETList data sources
- POSTAdd connection
- GETGet data source details
- PUTUpdate data source
- DELDelete data source
- PATCHPartial update data source
- PATCHUpdate data source configuration
- POSTAdd connection (legacy route)
- POSTAdd BigQuery connection
- POSTAdd ClickHouse connection
- POSTAdd MongoDB connection
- POSTAdd MotherDuck connection
- POSTAdd SQL Server connection
- POSTAdd MySQL connection
- POSTAdd PostgreSQL connection
- POSTAdd SingleStore connection
- POSTAdd Snowflake connection
threads
Rename thread
Update the title of a thread.
PUT
/
api
/
v1
/
threads
/
{id}
/
Copy
Ask AI
curl --request PUT \
--url https://api.camelai.com/api/v1/threads/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>"
}'
Copy
Ask AI
{
"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"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
A unique integer value identifying this thread.
Body
application/json
Response
200
application/json
Serializer for Thread model.
Copy
Ask AI
curl --request PUT \
--url https://api.camelai.com/api/v1/threads/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>"
}'
Copy
Ask AI
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.