R L
Get model resources
Gets a model resource by its ID and returns its details.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
model_resources_id*string
ID of the model resource
Response Body
application/json
application/json
curl -X GET "https://example.com/rl/model-resources/string"{ "id": "string", "status": "MODEL_RESOURCES_STATUS_PENDING", "error": { "code": "MODEL_RESOURCES_ERROR_CODE_CAPACITY_WAIT_TIMEOUT", "message": "string", "occurred_at": "2019-08-24T14:15:22Z" }, "base_model": "string", "base_weights_ref": "string", "compute_config": { "num_generator_replicas": 0, "gpu_type": "H100-80GB" }, "lora_enabled": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "optimizer_config": { "adam": {}, "muon": { "scaling_strategy": "MUON_SCALING_STRATEGY_UNSPECIFIED" } }, "created_by": "string"}Estimate on-demand model resource cost POST
Estimates a model resource's on-demand hourly price without creating it.
Stop model resources POST
Stops 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.