v4

latestOpenAPI 3.1.0MIT2026-08-04193459793.6 KB
RL

Get model resources

Gets a model resource by its ID and returns its details.

get/rl/model-resources/{model_resources_id}

Path parameters

model_resources_idstring required

ID of the model resource

Response

Model resource details

idstring required

Unique identifier for the model resource

status'MODEL_RESOURCES_STATUS_PENDING' | 'MODEL_RESOURCES_STATUS_CREATING' | 'MODEL_RESOURCES_STATUS_READY' | 'MODEL_RESOURCES_STATUS_ERROR' | 'MODEL_RESOURCES_STATUS_STOPPED' | 'MODEL_RESOURCES_STATUS_STOPPING' required

Lifecycle status of a model resource

base_modelstring required

Base model the resource is provisioned for

lora_enabledboolean required

Whether the resource hosts LoRA sessions or a full-weight session

created_atstring date-time required

Timestamp when the model resource was created

updated_atstring date-time required

Timestamp when the model resource was last updated

created_bystring required

ID of the user who created the model resource

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "error": {
    "message": "Capacity is currently unavailable. Try again later.",
    "occurred_at": "2026-01-02T00:00:05Z"
  },
  "base_model": "Qwen/Qwen3-0.6B",
  "compute_config": {
    "num_generator_replicas": 1
  },
  "lora_enabled": true,
  "created_at": "2026-01-02T00:00:00Z",
  "updated_at": "2026-01-02T00:00:05Z",
  "created_by": "user_123"
}