查询专家套件接口
将 <BASE_URL> 替换为所在企业环境的 API 域名。
- Scope:
admin.v1.expert-suites.read - 权限项:专家套件读取(
expert-suites) - 权限类型:读取
- 接口:GET
/api/openapi/v1/expert-suites
认证与请求头
使用应用 API Key 调用。当前接口只校验上方独立 Scope;读取、管理与执行权限互不隐含。
| 名称 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
Authorization | header | string | 是 | 应用 API Key,使用 Bearer 方式传递。 | Bearer qwk_*** |
X-Request-Id | header | string | 否 | 可选的调用追踪标识;未传入时由服务端生成。 | req-20260831-001 |
请求参数
| 名称 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
keyword | query | string | 否 | - | "<string>" |
status | query | string | 否 | - | "draft" |
origin | query | string | 否 | - | "all" |
category_id | query | string · uuid | 否 | - | "<uuid>" |
page | query | integer · int64 | 否 | - | 1 |
page_size | query | integer · int64 | 否 | - | 20 |
请求示例
cURL
curl --request GET \
--url '<BASE_URL>/api/openapi/v1/expert-suites?keyword=<keyword>&status=<status>&origin=all&category_id=<category_id>&page=1&page_size=20' \
--header 'Authorization: Bearer <API_KEY>'响应
200 OK
| 名称 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
items | array | null | 是 | - | [{"clients":["<string>"],"command_count":0,"connector_count":0,"connector_refs":[{"connector_id":"<string>","connector_origin":"<string>","required":false}],"created_at":"2026-08-27T10:00:00Z","created_by":"<string>","created_by_email":"<string>","created_by_name":"<string>","description":"<string>","description_cn":"<string>","display_name":"<string>","display_name_cn":"<string>","has_package":false,"icon_url":"<string>","id":"<string>","name":"<string>","origin":"<string>","revision":0,"skill_count":0,"source_type":"official","status":"<string>","updated_at":"2026-08-27T10:00:00Z","updated_by":"<string>","updated_by_email":"<string>","updated_by_name":"<string>","version":"<string>"}] |
next_cursor | string | 否 | - | "<string>" |
page | integer · int64 | 是 | - | 0 |
page_size | integer · int64 | 是 | - | 0 |
total_pages | integer · int64 | 是 | - | 0 |
total_rows | integer · int64 | 是 | - | 0 |
响应示例
{
"items": [
{
"clients": [
"<string>"
],
"command_count": 0,
"connector_count": 0,
"connector_refs": [
{
"connector_id": "<string>",
"connector_origin": "<string>",
"required": false
}
],
"created_at": "2026-08-27T10:00:00Z",
"created_by": "<string>",
"created_by_email": "<string>",
"created_by_name": "<string>",
"description": "<string>",
"description_cn": "<string>",
"display_name": "<string>",
"display_name_cn": "<string>",
"has_package": false,
"icon_url": "<string>",
"id": "<string>",
"name": "<string>",
"origin": "<string>",
"revision": 0,
"skill_count": 0,
"source_type": "official",
"status": "<string>",
"updated_at": "2026-08-27T10:00:00Z",
"updated_by": "<string>",
"updated_by_email": "<string>",
"updated_by_name": "<string>",
"version": "<string>"
}
],
"next_cursor": "<string>",
"page": 0,
"page_size": 0,
"total_pages": 0,
"total_rows": 0
}default Flat business error
| 名称 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
code | string | 否 | Stable business error code | "<string>" |
detail | string | 是 | Human-readable error description | "<string>" |
details | OpenapiErrorDetails | 否 | - | {"field":"<string>","reason":"<string>","suggestion":"<string>"} |
details.field | string | 否 | Request field that failed validation | "<string>" |
details.reason | string | 否 | Stable validation failure reason | "<string>" |
details.suggestion | string | 否 | Suggested normalized value | "<string>" |
error | string | 是 | Stable HTTP error type | "<string>" |
响应示例
{
"code": "<string>",
"detail": "<string>",
"details": {
"field": "<string>",
"reason": "<string>",
"suggestion": "<string>"
},
"error": "<string>"
}