Get Skill

get/v1/skills/{skill_id}?beta=true

Path parameters

skill_idstring required

Unique identifier for the skill.

The format and length of IDs may change over time.

Unique identifier for the skill.

The format and length of IDs may change over time.

Headers

anthropic-betastring

Optional header to specify the beta version(s) you want to use.

To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.

Optional header to specify the beta version(s) you want to use.

To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

The version of the Claude API you want to use.

Read more about versioning and our version history here.

x-api-keystring

Your unique API key for authentication.

This key is required in the header of all API requests, to authenticate your account and access Anthropic's services. Get your API key through the Console. Each key is scoped to a Workspace.

Your unique API key for authentication.

This key is required in the header of all API requests, to authenticate your account and access Anthropic's services. Get your API key through the Console. Each key is scoped to a Workspace.

anthropic-workspace-idstring

Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

Response

Successful Response

created_atstring date-time required

ISO 8601 timestamp of when the skill was created.

display_namestring required

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.

idstring required

Unique identifier for the skill.

The format and length of IDs may change over time.

latest_version_idstring required

ID of the newest Skill Version — what latest references resolve to. Always set: a Skill holds at least one version.

type'skill' required

Object type.

For Skills, this is always "skill".

updated_atstring date-time required

ISO 8601 timestamp of when the skill was last updated.

Example response

{
  "created_at": "2024-10-30T23:58:27.427722Z",
  "id": "skill_01JAbcdefghijklmnopqrstuvw",
  "updated_at": "2024-10-30T23:58:27.427722Z"
}

Changes