[beta] Anthropic Skills API

Get Skill

Get a specific skill by ID from Anthropic.

Requires ?beta=true query parameter.

Model-based routing (for multi-account support):

  • Pass model via header: x-litellm-model: claude-account-1
  • Pass model via query: ?model=claude-account-1
  • Pass model via body: {"model": "claude-account-1"}

Example usage:

# Basic usage
curl "http://localhost:4000/v1/skills/skill_123?beta=true"       -H "Authorization: Bearer your-key"

# With model-based routing
curl "http://localhost:4000/v1/skills/skill_123?beta=true"       -H "Authorization: Bearer your-key"       -H "x-litellm-model: claude-account-1"

Returns: Skill object

get/v1/skills/{skill_id}

Path parameters

skill_idstring required

Query parameters

custom_llm_providerstring nullable

Response

Successful Response

idstring required
created_atstring required
display_titlestring nullable
latest_versionstring nullable
sourcestring required
typestring
updated_atstring required