get/v1/skills/{skill_id}

Request

  • Base URL
    https://api.anthropic.com
  • Auth
    none declared

Path parameters

skill_idstring required

Unique identifier for the skill.

The format and length of IDs may change over time.

Headers

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

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

    • warning

      deleted the header request parameter x-api-key

    • breaking

      the response's property type changed from no type to object for status

    • info

      added the optional property / to the response with the status

    • info

      removed discriminator from response property for the response status

    • info

      removed from the response property oneOf list for the response status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status