Skip to content
中文

List Skill Versions

GET/agent/v1/skills/{skill_id}/versions◐ Partial

Request parameters

  • skill_idstringrequired

    path: Skill id (skill_...), as returned by skills.create or skills.list. A skill of another organization returns 404.

  • limitnumberoptional

    query: Number of items per page.

  • pagestringoptional

    query: Opaque pagination cursor: pass the next_page value of the previous response unchanged. Omit it for the first page. A cursor from a different query or a malformed one returns 400.

Returns

200

Skill directories (a folder containing SKILL.md) can be uploaded and versioned; content downloads as application/zip. Only source custom is supported, and source anthropic returns an empty list. Uploads are limited to 8 MB in total and 200 files, with no .. or absolute paths. Versions are immutable. A skill that still has live versions cannot be deleted (409); delete all versions first.

Errors follow the Anthropic error format (type / message / request_id) — see error codes

Request

curl
curl https://api.deepraxis.com/agent/v1/skills/skill_123/versions \
  -H "Authorization: Bearer $PRAXIS_API_KEY"
Python
import requests

opts = dict(
    base_url="https://api.deepraxis.com/agent",
    api_key="$PRAXIS_API_KEY",
)

# /agent 是我们自己的 Managed Agents 形状,直接发 HTTP 请求(Bearer 认证)
resp = requests.get(
    f"{opts['base_url']}/v1/skills/skill_123/versions",
    headers={"Authorization": f"Bearer {opts['api_key']}"},
)
print(resp.status_code, resp.json())
TypeScript
const opts = {
  baseURL: "https://api.deepraxis.com/agent",
  apiKey: "$PRAXIS_API_KEY",
};

// /agent 是我们自己的 Managed Agents 形状,直接发 HTTP 请求(Bearer 认证)
const resp = await fetch(`${opts.baseURL}/v1/skills/skill_123/versions`, {
  headers: { Authorization: `Bearer ${opts.apiKey}` },
});
console.log(resp.status, await resp.json());

Response 200

{
  "data": [
    {
      "id": "1792747602590000",
      "type": "skill_version",
      "skill_id": "skill_7ce2053d250a413e9f6395b179787d0e",
      "name": "docs-sample",
      "description": "Greets the user in one line.",
      "created_at": "2026-10-23T09:26:42.590Z"
    }
  ],
  "next_page": null
}

Response

HTTP 200

Successful response

application/json

Name Type Description
data array<object> Items of this page, in the order requested by the call.
data[].id string Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references.
data[].created_at string ISO 8601 timestamp of when the skill was created.
data[].description string Description of the skill version. This is extracted from the SKILL.md file in the skill upload.
data[].name string The Skill's immutable kebab-case slug, set at creation from the first upload's SKILL.md frontmatter name (or its enclosing directory). Every later upload must resolve to the same value. Also the top-level directory of the Skill's mounted files and the base name of a downloaded archive.
data[].skill_id string Unique identifier for the skill. The format and length of IDs may change over time.
data[].type string Object type. For Skill Versions, this is always "skill_version".
next_page string | null Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.