跳转到主要内容
GET
/
datasets
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "description": "<string>",
      "provider": "<string>",
      "permission": "<string>",
      "data_source_type": "<string>",
      "indexing_technique": "<string>",
      "app_count": 123,
      "document_count": 123,
      "word_count": 123,
      "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": 123,
      "updated_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "updated_at": 123,
      "embedding_model": "<string>",
      "embedding_model_provider": "<string>",
      "embedding_available": true
    }
  ],
  "has_more": true,
  "limit": 123,
  "total": 123,
  "page": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

keyword
string

按名称过滤数据集的搜索关键词。

tag_ids
string[]

要过滤的标签 ID 列表。数据集必须具有所有指定的标签。

page
integer
default:1

分页的页码。

limit
integer
default:20

每页返回的项目数。

Required range: 1 <= x <= 100
include_all
boolean
default:false

是否包含所有数据集。这仅对工作区所有者有效。

Response

200 - application/json

数据集的分页列表。

data
object[]
has_more
boolean
limit
integer
total
integer
page
integer