RL
Stop model resources
Changed onStops the model resource and releases its allocated compute. If active training sessions are attached, the request fails unless force=true. A forced stop also stops all attached training sessions.
post/v1/rl/model-resources/{model_resources_id}/stop
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v1/rl/model-resources/{model_resources_id}/stop
- AuthHTTP bearer
Path parameters
model_resources_idstring required
ID of the model resource
Query parameters
forceboolean
When true, also stop all attached training sessions. When false, the request fails if any training sessions are active.
Response
Model resource details
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"error": {
"message": "Timed out waiting for cluster capacity. Try again later.",
"occurred_at": "2026-01-02T00:00:05Z"
},
"status_details": {
"queue_position": 3
},
"base_model": "Qwen/Qwen3.5-4B",
"base_weights_ref": "together://ml_A1b2C3d4E5f6G7h8I9j0K@rv_A1b2C3d4E5f6G7h8I9j0K",
"compute_config": {
"num_generator_replicas": 1,
"gpu_type": "B200-SXM"
},
"lora_enabled": true,
"created_at": "2026-01-02T00:00:00Z",
"updated_at": "2026-01-02T00:00:05Z",
"created_by": "user_123",
"inactive_timeout": 3600,
"expires_at": "2026-01-02T01:00:05Z"
}Changes
- breaking
for the
queryrequest parameterforce, default valuefalsewas removed - info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info