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

List model adapters

List LoRA adapters with their training run, checksum and size. Pass next_before as before for the next page. Deploy an adapter to use it for inference.

Authentication: Bearer API key in the Authorization header

Path parameters

  • model_idstringrequired

Query parameters

  • limitinteger
    Default: 100
  • beforestring | null

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?limit=50' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Response

{
  "versions": [
    {
      "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
    }
  ],
  "next_before": null
}

https://api.staging.experientiallabs.ai/v1/custom-models/00000000-0000-4000-8000-000000000001/versions?limit=50