Skip to main content
POST
Update Built-in Metadata Field

Authorizations

Authorization
string
header
required

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Path Parameters

dataset_id
string<uuid>
required

Knowledge base ID. See List Knowledge Bases.

action
enum<string>
required

enable to activate built-in metadata fields, disable to deactivate them.

Available options:
enable,
disable

Response

Built-in metadata field toggled successfully.

result
string

Operation result.