跳转到主要内容
GET
/
datasets
/
tags
Error
A valid request URL is required to generate request examples
[
  {
    "id": "f4b5c6d7-e8f9-0a1b-2c3d-4e5f6a7b8c9d",
    "name": "Product Docs",
    "type": "knowledge",
    "binding_count": "0"
  }
]

授权

Authorization
string
header
必填

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

响应

200 - application/json

标签列表。

id
string

标签标识符。

name
string

标签显示名称。

type
string

标签类型。知识库标签始终为 knowledge

binding_count
string | null

绑定到该标签的知识库数量。