Skip to main content
POST
更新内置元数据字段

Authorizations

Authorization
string
header
required

API Key 认证。对于所有 API 请求,请在 Authorization HTTP 头中包含您的 API Key,并加上 Bearer 前缀。示例:Authorization: Bearer {API_KEY}强烈建议将 API Key 存储在服务端,不要在客户端共享或存储,以避免 API Key 泄漏导致严重后果。缺少或无效的 API Key 会返回 HTTP 401,错误码为 unauthorized

Path Parameters

dataset_id
string<uuid>
required

知识库 ID。

action
enum<string>
required

enable 启用内置元数据字段,disable 停用内置元数据字段。

Available options:
enable,
disable

Response

内置元数据字段切换成功。

result
string

操作结果。

Last modified on July 9, 2026