Update a training session
Updates the display name or metadata associated with a training session. Omitted fields remain unchanged, and empty strings clear existing values.
Path parameters
ID of the training session
Request body
Example request
{
"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"
}
}
}Response
Updated 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 4 of the 14 revisions of this API.9
- ○
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 optional property
lora_config/train_unembedto the response with the200statusresponse-optional-property-added
- ○
- ○
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
- ○
- ○
endpoint added
endpoint-added
- ○