Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Theme

Get Skill Version Content

client.Skills.Versions.Content.Get(ctx, skillID, version) (*Response, error)
GET
/skills/{skill_id}/versions/{version}/content

Download a skill version zip bundle.

Parameters
skillID string
version string

The skill version number.

Returns
type SkillVersionContentGetResponse interface{…}

Get Skill Version Content

package main

import (
  "context"
  "fmt"

  "github.com/openai/openai-go"
  "github.com/openai/openai-go/option"
)

func main() {
  client := openai.NewClient(
    option.WithAPIKey("My API Key"),
  )
  content, err := client.Skills.Versions.Content.Get(
    context.TODO(),
    "skill_123",
    "version",
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", content)
}
Returns Examples