跳转到主要内容
POST
/
datasets
/
tags
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "type": "knowledge",
  "binding_count": 123
}

Authorizations

Authorization
string
header
required

API-Key 鉴权。所有 API 请求都应在 Authorization HTTP Header 中包含你的 API-Key,格式为 Bearer {API_KEY}强烈建议开发者把 API-Key 放在后端存储,而非分享或者放在客户端存储,以免 API-Key 泄露,导致财产损失。

Body

application/json
name
string
required

新标签的名称。

Maximum length: 50

Response

200 - application/json

成功创建标签。

id
string<uuid>
name
string
type
string
Example:

"knowledge"

binding_count
integer