Skip to main content
POST
Update Document Metadata in Batch

Authorizations

Authorization
string
header
required

API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with Bearer . Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences. Requests with a missing or invalid API key fail with HTTP 401 and error code unauthorized.

Path Parameters

dataset_id
string<uuid>
required

Knowledge base ID.

Body

application/json
operation_data
object[]
required

Array of document metadata update operations. Each entry maps a document ID to its metadata key-value pairs.

Response

Document metadata updated successfully.

result
string

Operation result.

Last modified on July 9, 2026