curl --request PUT \
--url https://api.trieve.ai/api/chunk/tracking_id/update \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Dataset: <tr-dataset>' \
--data '{
"chunk_html": "<string>",
"convert_html_to_text": true,
"group_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"group_tracking_ids": [
"<string>"
],
"link": "<string>",
"metadata": "<any>",
"time_stamp": "<string>",
"tracking_id": "<string>",
"weight": 123
}'
This response does not have an example.
Update a chunk by tracking_id. This is useful for when you are coordinating with an external system and want to use the tracking_id to identify the chunk. 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/tracking_id/update \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TR-Dataset: <tr-dataset>' \
--data '{
"chunk_html": "<string>",
"convert_html_to_text": true,
"group_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"group_tracking_ids": [
"<string>"
],
"link": "<string>",
"metadata": "<any>",
"time_stamp": "<string>",
"tracking_id": "<string>",
"weight": 123
}'
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 chunk by tracking_id (chunks)
The body is of type object
.
Confirmation that the chunk has been updated as per your request
Was this page helpful?