Download Skill Version Content
client.Beta.Skills.Versions.Download(ctx, version, params) (*Response, error)GET/v1/skills/{skill_id}/versions/{version}/content
Download a skill version's content as a zip archive.
Download Skill Version Content
package main
import (
"context"
"fmt"
"github.com/anthropics/anthropic-sdk-go"
"github.com/anthropics/anthropic-sdk-go/option"
)
func main() {
client := anthropic.NewClient(
option.WithAPIKey("my-anthropic-api-key"),
)
response, err := client.Beta.Skills.Versions.Download(
context.TODO(),
"version",
anthropic.BetaSkillVersionDownloadParams{
SkillID: "skill_id",
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response)
}