curl --request PUT \
--url https://api.trieve.ai/api/topic \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Dataset: <tr-dataset>' \
--data '{
"name": "<string>",
"topic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
This response does not have an example.
Update an existing chat topic. Currently, only the name of the topic can be updated. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
curl --request PUT \
--url https://api.trieve.ai/api/topic \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Dataset: <tr-dataset>' \
--data '{
"name": "<string>",
"topic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
This response does not have an example.
The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.
JSON request payload to update a chat topic
The body is of type object
.
Confirmation that the topic was updated
Was this page helpful?