Skip to main content

Set and/or unset metadata keys on up to 100 documents

POST 

/v1/knowledge_bases/:kb_id/documents:batch_metadata

Applied per document; a document that would exceed 16 keys fails individually with metadata_too_many_keys. set and unset must not share a key.

Access: API key scope knowledge:write; portal users: organization admins and owners; the knowledge base in the path must be on the key's access list.

Request​

Responses​

Per-id results (updated, not_found or error).