Sample - OpenAI API
GET/skills

List skills

Lists all skills available to the current project. Use the pagination cursor and ordering parameters to control which skills appear and how the results are sorted. The response includes skill records and cursors for retrieving additional pages.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
limitintegeroptional
Number of skills to retrieve. Must be between 0 and 100 when provided.
orderstringoptional
Sort order by timestamp: `asc` or `desc`.
Allowed:ascdesc
afterstringoptional
Identifier of the last skill from the previous pagination request.

2 status codes
200Returns a list object containing skill records in `data`, the `first_id` and `last_id` cursors, and a `has_more` flag.
objectstringrequired
The type of object returned, must be `list`.
Allowed:listDefault:list
dataarray<object>required
A list of items
first_idstringrequired
The ID of the first item in the list.
last_idstringrequired
The ID of the last item in the list.
has_morebooleanrequired
Whether there are more items available.
429Returned when the request is rejected because the rate limit has been exceeded.
errorobjectrequired

Error handling

A 429 is returned when the request exceeds the rate limit. limit must be between 0 and 100, order must be asc or desc, and after must identify the last item from a previous pagination request when supplied.