Create training session
Creates a training session and returns its details.
Request body
Example request
{
"resume_from_checkpoint_id": "123e4567-e89b-12d3-a456-426614174000",
"resume_from_hf_checkpoint": "your-org/llama-3-8b-finetuned",
"lora_config": {
"rank": 32,
"alpha": 64,
"train_unembed": true
},
"model_resources_id": "123e4567-e89b-12d3-a456-426614174000",
"display_name": "gsm8k-experiment-2",
"metadata": {
"wandb": {
"entity": "example-org",
"project": "grpo-gsm8k",
"group": "gsm8k-35b-sweep",
"run_name": "exp2-thinking-4k-ctx",
"run_id": "abc123",
"url": "https://wandb.ai/example-org/example-project/runs/run-id"
}
},
"load_optimizer": true
}Response
Training session details
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"display_name": "gsm8k-experiment-2",
"metadata": {
"wandb": {
"entity": "example-org",
"project": "grpo-gsm8k",
"group": "gsm8k-35b-sweep",
"run_name": "exp2-thinking-4k-ctx",
"run_id": "abc123",
"url": "https://wandb.ai/example-org/example-project/runs/run-id"
}
},
"error": {
"message": "The session could not start because the selected resource has no available capacity.",
"occurred_at": "2026-01-02T00:00:05Z"
},
"inference_checkpoints": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-02T00:00:00Z",
"registration": {
"model_name": "username/Meta-Llama-3-8B-rl-step-42-20260216",
"registered_at": "2026-01-02T00:00:00Z"
}
}
],
"training_checkpoints": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-02T00:00:00Z"
}
],
"resume_from_checkpoint_id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-02T00:00:00Z",
"updated_at": "2026-01-02T00:00:05Z",
"lora_config": {
"rank": 32,
"alpha": 64,
"train_unembed": true
},
"model_resources_id": "123e4567-e89b-12d3-a456-426614174000",
"base_model": "Qwen/Qwen3-0.6B",
"created_by": "user_123"
}Changes
Changed in 7 of the 14 revisions of this API.4425
- ○
added the new optional request property
load_optimizernew-optional-request-property
- ○
- ○
added the optional property
inference_checkpoints/items/registration/adapter_object_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
inference_checkpoints/items/registration/adapter_object_revision_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
inference_checkpoints/items/registration/model_object_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
inference_checkpoints/items/registration/model_object_revision_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
training_checkpoints/items/registrationto the response with the200statusresponse-optional-property-added
- ○
- ○
added the new optional request property
lora_config/train_unembednew-optional-request-property
- ○
added the optional property
lora_config/train_unembedto the response with the200statusresponse-optional-property-added
- ○
- ○
added the new optional request property
lora_config/seednew-optional-request-property
- ○
added the optional property
lora_config/seedto the response with the200statusresponse-optional-property-added
- ○
added the required property
base_modelto the response with the200statusresponse-required-property-added
- ○
- ○
added the new optional request property
display_namenew-optional-request-property
- ○
added the new optional request property
metadatanew-optional-request-property
- ○
added the optional property
display_nameto the response with the200statusresponse-optional-property-added
- ○
added the required property
metadatato the response with the200statusresponse-required-property-added
- ○
- ▲
the response property
lora_configbecame optional for the status200response-property-became-optional
- ●
removed the request property
lora_config/enablerequest-property-removed
- ●
removed the optional property
lora_config/enablefrom the response with the200statusresponse-optional-property-removed
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
lora_config/alpharesponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
lora_config/dropoutresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
lora_config/rankresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ●
removed the request property
optimizer_configrequest-property-removed
- ●
removed the optional property
optimizer_configfrom the response with the200statusresponse-optional-property-removed
- ○
the
alpharequest property default value changed from16to64request-property-default-value-changed
- ○
the
dropoutrequest property default value changed from0.05to0.0request-property-default-value-changed
- ○
the
rankrequest property default value changed from8to32request-property-default-value-changed
- ○
the
lora_config/alpharequest property type/format was generalized frominteger/int64tointeger/request-property-type-generalized
- ○
the
lora_config/dropoutrequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
lora_config/rankrequest property type/format was generalized frominteger/int64tointeger/request-property-type-generalized
- ○
the
alpharesponse's property default value changed from16to64for the status200response-property-default-value-changed
- ○
the
dropoutresponse's property default value changed from0.05to0.0for the status200response-property-default-value-changed
- ○
the
rankresponse's property default value changed from8to32for the status200response-property-default-value-changed
- ○
added the required property
created_byto the response with the200statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲