GET/v1/custom-models/{model_id}/versions/{model_version_id}

Get a model adapter

Read one exported adapter and its manifest. Both model and version must belong to the key's organization.

Authentication: Bearer API key in the Authorization header

Path parameters

  • model_idstringrequired
  • model_version_idstringrequired

Responses

  • 200

    Success. Example response excerpt.

  • 422

    Invalid request.

    Response
    • detailarray<object>
      detail
      • ctxobject
      • inputany
      • locarray<string | integer>required
      • msgstringrequired
      • typestringrequired

Request

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

Response

{
  "id": "00000000-0000-4000-8000-000000000006",
  "custom_model_id": "00000000-0000-4000-8000-000000000001",
  "training_job_id": "00000000-0000-4000-8000-000000000005",
  "run_id": "00000000-0000-4000-8000-000000000005",
  "kind": "adapter",
  "state": "available",
  "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "bytes": 185000000
}

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