curl --request PUT \
--url https://api.trieve.ai/api/chunk_group \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Dataset: <tr-dataset>' \
--data '{
"description": "<string>",
"group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": "<any>",
"name": "<string>",
"tag_set": [
"<string>"
],
"tracking_id": "<string>",
"update_chunks": true
}'
This response does not have an example.
Update a chunk_group. One of group_id or tracking_id must be provided. If you try to change the tracking_id to one that already exists, this operation will fail. 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/chunk_group \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Dataset: <tr-dataset>' \
--data '{
"description": "<string>",
"group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": "<any>",
"name": "<string>",
"tag_set": [
"<string>"
],
"tracking_id": "<string>",
"update_chunks": true
}'
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 chunkGroup
The body is of type object
.
Confirmation that the chunkGroup was updated
Was this page helpful?