RL
Create training session
Creates a training session and returns its details.
post/rl/training-sessions
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
},
"model_resources_id": "123e4567-e89b-12d3-a456-426614174000"
}Response
Training session details
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"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
},
"model_resources_id": "123e4567-e89b-12d3-a456-426614174000",
"created_by": "user_123"
}