Skip to main content
Perplexity

Search documentation

Type to search this documentation.

List skill revisions

GET

/

v1

/

skills

/

/

revisions

List skill revisions

curl --request GET \
  --url https://api.perplexity.ai/v1/skills/{skill_id}/revisions \
  --header 'Authorization: Bearer <token>'
title="200"
{
  "revisions": [
    {
      "revision": "<string>",
      "name": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next_page_token": "<string>"
}
title="400"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": 123,
    "param": "<string>"
  }
}
title="404"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": 123,
    "param": "<string>"
  }
}
title="429"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": 123,
    "param": "<string>"
  }
}
title="502"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": 123,
    "param": "<string>"
  }
}

Authorization

string

header

required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

skill_id

string

required

Skill identifier returned by create or GET /v1/skills

limit

integer

Maximum items to return, 1 to 200; defaults to 50

Required range: 1 <= x <= 200

page_token

string

Opaque token from a previous response's next_page_token

The skill revisions

revisions

object[]

required

Show child attributes

next_page_token

string

Opaque token for the next page; omitted on the last page

Was this page helpful?

⌘I

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu