Skip to content

List Skills

GET/skills

List Skills

Query ParametersExpand Collapse
after: optional string

Identifier for the last item from the previous pagination request

limit: optional number

Number of items to retrieve

minimum0
maximum100
order: optional "asc" or "desc"

Sort order of results by timestamp. Use asc for ascending order or desc for descending order.

Accepts one of the following:
"asc"
"desc"
ReturnsExpand Collapse
SkillList = object { data, first_id, has_more, 2 more }
data: array of Skill { id, created_at, default_version, 4 more }

A list of items

id: string

Unique identifier for the skill.

created_at: number

Unix timestamp (seconds) for when the skill was created.

default_version: string

Default version for the skill.

description: string

Description of the skill.

latest_version: string

Latest version for the skill.

name: string

Name of the skill.

object: "skill"

The object type, which is skill.

first_id: string

The ID of the first item in the list.

has_more: boolean

Whether there are more items available.

last_id: string

The ID of the last item in the list.

object: "list"

The type of object returned, must be list.

List Skills

curl https://api.openai.com/v1/skills \
    -H "Authorization: Bearer $OPENAI_API_KEY"
{
  "data": [
    {
      "id": "id",
      "created_at": 0,
      "default_version": "default_version",
      "description": "description",
      "latest_version": "latest_version",
      "name": "name",
      "object": "skill"
    }
  ],
  "first_id": "first_id",
  "has_more": true,
  "last_id": "last_id",
  "object": "list"
}
Returns Examples
{
  "data": [
    {
      "id": "id",
      "created_at": 0,
      "default_version": "default_version",
      "description": "description",
      "latest_version": "latest_version",
      "name": "name",
      "object": "skill"
    }
  ],
  "first_id": "first_id",
  "has_more": true,
  "last_id": "last_id",
  "object": "list"
}