POST/v1/custom-models/{model_id}/versions/{model_version_id}/download

モデルのアダプターをダウンロードする

training:readが必要です。有効期限300秒のダウンロードURL、sha256、bytesを返します。アダプターの準備ができていない場合は409 artifact_not_archivedを返します。ダウンロードURLにAPIキーを送信しないでください。ダウンロードしたアダプターを対応する推論サーバーにデプロイします。

認証: AuthorizationヘッダーにBearer形式のAPIキー

パスパラメーター

  • model_idstring必須
  • model_version_idstring必須

レスポンス

  • 200

    成功。レスポンス例の抜粋です。

  • 422

    リクエストが無効です。

    レスポンス
    • detailarray<object>
      detail
      • ctxobject
      • inputany
      • locarray<string | integer>必須
      • msgstring必須
      • typestring必須

リクエスト

curl -X POST 'https://api.staging.experientiallabs.ai/v1/custom-models/00000000-0000-4000-8000-000000000001/versions/00000000-0000-4000-8000-000000000006/download' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

レスポンス

{
  "url": "https://example.invalid/signed-adapter",
  "expires_in_seconds": 300,
  "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "bytes": 185000000
}

https://api.staging.experientiallabs.ai/v1/custom-models/00000000-0000-4000-8000-000000000001/versions/00000000-0000-4000-8000-000000000006/download