List Skill Versions
VersionListPage beta().skills().versions().list(VersionListParamsparams = VersionListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
/v1/skills/{skill_id}/versions
List Skill Versions
Parameters
Returns
List Skill Versions
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.skills.versions.VersionListPage;
import com.anthropic.models.beta.skills.versions.VersionListParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
VersionListPage page = client.beta().skills().versions().list("skill_id");
}
}Response 200
{
"data": [
{
"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"
}
],
"has_more": true,
"next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}Returns Examples
Response 200
{
"data": [
{
"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"
}
],
"has_more": true,
"next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}