Skip to main content
POST
/
datasets
/
{dataset_id}
/
documents
/
metadata
Error
A valid request URL is required to generate request examples
{
  "result": "success"
}

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.

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

200 - application/json

Document metadata updated successfully.

result
string

Operation result.