Skip to content
中文

Delete Skill

DELETE/anthropic/v1/skills/{skill_id}◐ Partial

Request parameters

  • skill_idstringrequired

    path: Skill ID (path or query parameter).

Returns

501

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 Claude Managed Agents format — see error codes

Request

curl
curl -X DELETE https://api.deepraxis.com/anthropic/v1/skills/skill_123 \
  -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.delete("skill_123")
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.delete("skill_123");
console.log(result);

Response 501

{
  "type": "error",
  "error": {
    "type": "not_implemented_error",
    "message": "Not implemented: this Managed Agents operation is not implemented on this platform yet (DELETE /v1/skills/{skill_id}); see the docs for the supported subset."
  },
  "request_id": "32a66859-e8e8-4692-9afa-97f3d5d04ce9"
}

Response

HTTP 200

Successful response

application/json

Name Type Description
id string Unique identifier for the skill. The format and length of IDs may change over time.
type string Deleted object type. For Skills, this is always "skill_deleted".