Forward API reference.
Description
Streams the complete zip package for a specified Skill version. The response body is application/zip; clients should write the body directly to a file instead of attempting to deserialize it.
Path
GET /api/v1/forward/skills/{id}/versions/{version}/content
Request headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT or SAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Skill ID. |
version | string | Yes | Version number. Accepts a 16-digit Unix microsecond timestamp or a legacy incremental counter during migration. The literal latest is not supported and returns 400. See Legacy version-number compatibility. |
Example request
Response
HTTP 200 OK
The response body is the complete zip archive byte stream.
| Response header | Example | Description |
|---|---|---|
Content-Type | application/zip | Fixed value |
Content-Disposition | attachment; filename="customer-reply.zip" | Suggested download filename, taken from directory in the Skill version object, which equals the Skill's name. |
Content-Length | 2607 | Matches content_size in the Skill version object. |
directory in the Skill version object. For example:
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 400 | invalid_request_error | The version format is invalid, such as latest or a nonnumeric string. |
| 401 | authentication_error | The authentication token is missing or invalid. |
| 403 | permission_error | The caller cannot access the Skill. |
| 404 | not_found_error | The Skill or version does not exist. |
| 500/502/503 | api_error | Forward or a dependent service failed. |