PUT
/
api
/
topic
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 has no body data.

Authorizations

Authorization
string
header
required

Headers

TR-Dataset
string
required

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.

Body

application/json
JSON request payload to update a chat topic
name
string
required

The new name of the topic. A name is not generated from this field, it is used as-is.

topic_id
string
required

The id of the topic to target.