列出技能
GET
/anthropic/v1/skills◐ 部分支持请求参数
sourcestring可选query: 按来源过滤 Skill:custom 或官方来源。
limitnumber可选query: 每页返回的条数上限。
pagestring可选query: 分页游标,取自上一页响应的 next_page。
返回
501
支持上传 Skill 目录(含 SKILL.md)并按版本管理,下载的是 application/zip。只支持 source=custom,source=anthropic 返回空列表。上传总大小不超过 8 MB、最多 200 个文件,路径不得含 .. 或绝对路径。版本不可变;有未删除版本的技能不能删除(409),需先删除全部版本。
错误按 Claude Managed Agents 格式返回,参见 错误码
请求示例
curl
curl https://api.deepraxis.com/anthropic/v1/skills \
-H "x-api-key: $PRAXIS_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: managed-agents-2026-04-01"Python
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.deepraxis.com/anthropic",
api_key="$PRAXIS_API_KEY",
)
# 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
result = client.beta.list()
print(result)TypeScript
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.deepraxis.com/anthropic",
apiKey: "$PRAXIS_API_KEY",
});
// 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
const result = await client.beta.list();
console.log(result);响应示例 501
{
"type": "error",
"error": {
"type": "not_implemented_error",
"message": "Not implemented: this Managed Agents operation is not implemented on this platform yet (GET /v1/skills); see the docs for the supported subset."
},
"request_id": "65eee82d-a5a5-445b-96bf-41e19ebbc721"
}响应
HTTP 200
Successful response
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| data | array<object> | |
| data[].id | string | Unique identifier for the skill. The format and length of IDs may change over time. |
| data[].created_at | string | ISO 8601 timestamp of when the skill was created. |
| data[].display_name | string | Human-readable, single-line label for the Skill. Maximum 255 characters. Always set: derived from the SKILL.md frontmatter name when omitted at creation. Not unique. |
| data[].latest_version_id | string | ID of the newest Skill Version — what latest references resolve to. Always set: a Skill holds at least one version. |
| data[].source | object | Where the Skill comes from. Possible values: - "custom": authored by the platform user; private to their workspace - "anthropic": published by Anthropic; shared and read-only - "anthropic_example": Anthropic-published sample Skill - "plugin": resolved from an installed plugin |
| data[].type | string | Object type. For Skills, this is always "skill". |
| data[].updated_at | string | ISO 8601 timestamp of when the skill was last updated. |
| next_page | string | null |