Forward API reference.
Description
Lists all versions of the specified Skill in descending created_at order, with cursor pagination. Versions are immutable after creation.
Path
GET /api/v1/forward/skills/{id}/versions
Request headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT or SAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Skill ID. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
identity_id | string | No | Use only when operating on Identity-owned resources. A PAT can explicitly supply this query parameter; omitting it uses administrator scope. SAT ownership is determined by the credential. Explicitly supplying this parameter with any SAT (including an empty value) returns HTTP 400. Versions inherit the ownership of their Skill. See Identity ownership. |
limit | integer | No | Page size, up to 100; defaults to 20. |
page | string | No | Forward pagination cursor from next_page in the previous response. Omit it to start from the first page. |
Example request
Example response
HTTP 200 OK
Response fields
Each item in the response data array is a Skill version object. See Skill version list pagination fields for has_more and next_page.
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 400 | invalid_request_error | The limit or page parameter is invalid, or any SAT explicitly supplies the query parameter identity_id (including an empty value). |
| 401 | authentication_error | The authentication token is missing or invalid. |
| 403 | permission_error | An Owner mismatch occurs in administrator scope, or a downstream service denies access. |
| 404 | not_found_error | The Skill does not exist or is not visible in the current Identity scope; the Identity specified by the PAT is invalid, disabled, deleted, or outside the caller's authorized scope. |
| 500/502/503 | api_error | Forward or a dependent service failed. |

