Skip to content
SupportGo to app

List available base models for training

GET/api/v1/training-models

Returns the set of base models that can be used as the model field when creating a training job.

ReturnsExpand Collapse
models: array of object { id, display_name, methods, 3 more }
id: string

Identifier to pass as model when creating a job.

display_name: string

Human-readable model name.

methods: array of string

Training methods supported (e.g. ["sft", "dpo"]).

training_types: array of string

Training types supported (e.g. ["lora", "full"]).

context_length: optional unknown

Maximum context window in tokens.

model_size: optional unknown

Parameter count label (e.g. "8B", "70B").

List available base models for training

curl https://api.prod.adaptionlabs.ai/api/v1/training-models \
    -H "Authorization: Bearer $ADAPTION_API_KEY"
{
  "models": [
    {
      "id": "id",
      "display_name": "display_name",
      "methods": [
        "string"
      ],
      "training_types": [
        "string"
      ],
      "context_length": {},
      "model_size": {}
    }
  ]
}
Returns Examples
{
  "models": [
    {
      "id": "id",
      "display_name": "display_name",
      "methods": [
        "string"
      ],
      "training_types": [
        "string"
      ],
      "context_length": {},
      "model_size": {}
    }
  ]
}