Forward API reference.
Description
Retrieves a single Skill by ID, optionally including its content.
Path
GET /api/v1/forward/skills/{id}
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 |
|---|---|---|---|
include_content | boolean | No | ⚠️ Deprecated: When true, the response includes content and content_encoding (base64 zip) and returns Deprecation: true in the response headers. Use Download Skill Version Content instead. |
Example request
Example response
HTTP 200 OK
Response fields
The response is a Skill object. With include_content=true, it also includes content and content_encoding; both fields are deprecated. Use Download Skill Version Content instead.
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 400 | invalid_request_error | The request body, path parameters, or query parameters are invalid. |
| 401 | authentication_error | The authentication token is missing or invalid. |
| 403 | permission_error | The caller cannot access this resource. |
| 404 | not_found_error | The resource does not exist or is not visible. |
| 500/502/503 | api_error | Forward or a dependent service failed. |