Update Chunk Metadata

Updates metadata for a specific chunk while leaving all other chunks unchanged. Works with all document types.

Example

curl --request PATCH \ --url https://api.voiceflow.com/v3alpha/knowledge-base/docs/673fc25e85a2fd5298503f6f/chunk/46ca27e8-ae8f-11ef-b480-26f219e5fdff \ --header 'Authorization: your_token' \ --header 'Content-Type: application/json' \ --data '{ "data": { "metadata": { "inner": { "variants": [ { "size": "medium", "price": 99.99 }, { "size": "large", "price": 43.55 }, { "size": "small", "price": 111.00 } ] } } } }'
Path Params
string
required

A unique identifier of the document object.

string
required

A unique identifier of the chunk.

Body Params
data
object
Response

Response body
object
data
object
string

ERROR SUCCESS PENDING INITIALIZED

data
object
date-time
string

A unique identifier of the document object.

tags
array of strings

An array of tag labels associated with the document.

tags
metadata
object

Custom metadata associated with the document.

Has additional fields
Language
Credentials