List Skills
Parameters
Returns
List Skills
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
page = client.skills.list()
page = page.data[0]
print(page.id){
"data": [
{
"id": "skill_01JAbcdefghijklmnopqrstuvw",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "display_name",
"latest_version_id": "latest_version_id",
"source": {
"type": "custom"
},
"type": "skill",
"updated_at": "2024-10-30T23:58:27.427722Z"
}
],
"next_page": "next_page"
}Returns Examples
{
"data": [
{
"id": "skill_01JAbcdefghijklmnopqrstuvw",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "display_name",
"latest_version_id": "latest_version_id",
"source": {
"type": "custom"
},
"type": "skill",
"updated_at": "2024-10-30T23:58:27.427722Z"
}
],
"next_page": "next_page"
}