Chunk
Update Chunk
Update a chunk. If you try to change the tracking_id of the chunk to have the same tracking_id as an existing chunk, the request will fail. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
put/api/chunk
Headers
TR-Datasetstring uuid 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.
Request body
Example request
{
"chunk_html": "<p>Some HTML content</p>",
"chunk_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"group_ids": [
"d290f1ee-6c54-4b01-90e6-d701748f0851"
],
"link": "https://example.com",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"time_stamp": "2021-01-01 00:00:00.000",
"weight": 0.5
}Response
No content Ok response indicating the chunk was updated as requested