Forward API リファレンス。
Description
Retrieves metadata for a single Skill version by version number, without content. Retrieve content with Download Skill Version Content.
パス
GET /api/v1/forward/skills/{id}/versions/{version}
リクエストヘッダー
| ヘッダー | 必須 | 説明 |
|---|---|---|
Authorization | はい | Bearer <PAT または SAT> |
パス参数
| パラメーター | 型 | 必須 | 説明 |
|---|---|---|---|
id | string | はい | Skill ID。 |
version | string | Yes | Version number. • Recommended: A 16-digit Unix microsecond timestamp such as 1759178010641129;• Compatibility: Legacy incremental counters such as "1" or "2" still resolve to the same version during migration.The literal latest is not supported and returns 400. Call Get a Skill, read latest_version, and use that value in the path. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
identity_id | string | No | For Identity-owned resources only. PATs may supply this query parameter; omitting it uses the administrator scope. SAT ownership is determined by the credential; any SAT (including Admin SAT) explicitly supplying this parameter, even with an empty value, receives HTTP 400. Versions inherit ownership from their Skill. See Identity ownership. |
リクエスト例
レスポンス例
HTTP 200 OK
レスポンスフィールド
The response is a Skill version object. See Legacy version-number compatibility for compatibility rules.
エラー
| HTTP | Type | 発生条件 |
|---|---|---|
| 400 | invalid_request_error | The version format is invalid, such as latest or a nonnumeric string, or any SAT explicitly supplies query identity_id (even with an empty value). |
| 401 | authentication_error | 認証トークンがないか、無効です。 |
| 403 | permission_error | An owner mismatch occurs in the administrator scope, or a downstream service denies access. |
| 404 | not_found_error | The Skill or version 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 ownership. |
| 500/502/503 | api_error | Forward または依存サービスでエラーが発生しました。 |

