List Skill Versions

get/v1/skills/{skill_id}/versions?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.

Query parameters

pagestring nullable

Optionally set to the next_page token from the previous response.

Optionally set to the next_page token from the previous response.

limitinteger nullable

Number of results to return per page.

Ranges from 1 to 1000. Defaults to 20.

Number of results to return per page.

Ranges from 1 to 1000. Defaults to 20.

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

next_pagestring nullable required

Token for fetching the next page of results.

If null, there are no more results available. Pass this value to the page parameter in the next request to get the next page.

Example response

{
  "data": [
    {
      "created_at": "2024-10-30T23:58:27.427722Z",
      "skill_id": "skill_01JAbcdefghijklmnopqrstuvw"
    }
  ]
}

Changes