Get Skill Version
beta.skills.versions.retrieve(strversion, VersionRetrieveParams**kwargs) -> VersionRetrieveResponse
/v1/skills/{skill_id}/versions/{version}?beta=true
Get Skill Version
Parameters
skill_id: str
Unique identifier for the skill.
The format and length of IDs may change over time.
version: str
Version identifier for the skill.
Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129").
Returns
Get Skill Version
Python
from anthropic import Anthropic
client = Anthropic(
api_key="my-anthropic-api-key",
)
version = client.beta.skills.versions.retrieve(
version="version",
skill_id="skill_id",
)
print(version.id){
"id": "skillver_01JAbcdefghijklmnopqrstuvw",
"created_at": "2024-10-30T23:58:27.427722Z",
"description": "A custom skill for doing something useful",
"directory": "my-skill",
"name": "my-skill",
"skill_id": "skill_01JAbcdefghijklmnopqrstuvw",
"type": "type",
"version": "1759178010641129"
}Returns Examples
{
"id": "skillver_01JAbcdefghijklmnopqrstuvw",
"created_at": "2024-10-30T23:58:27.427722Z",
"description": "A custom skill for doing something useful",
"directory": "my-skill",
"name": "my-skill",
"skill_id": "skill_01JAbcdefghijklmnopqrstuvw",
"type": "type",
"version": "1759178010641129"
}