Retrieve Metadata in a Document
Is there a way to view the metadata in a document(s) in the knowledgebase?
metadata at the document level contains the key-value pairs you supplied when you uploaded the source.chunk also carries its own metadata object (useful if you later patch a single chunk).chunk{
"data": {
"documentID": "6532663e91552f00079ad153",
"metadata": {
"project": { "name": "AI Development" },
"developer": { "tags": ["t1","t2"] }
},
"updatedAt": "2025-07-29T10:55:12.402Z",
"chunks": [
{
"chunkID": 0,
"content": "…text…",
"metadata": { … }
},
…
]
}
}GET https://api.voiceflow.com/v1/knowledge-base/docs/{documentID}
Authorization: YOUR_DM_API_KEY