RL

List model resources

Lists the caller's model resources.

get/rl/model-resources

Query parameters

statusstring[]

Status filters. When omitted, resources in any status are returned.

limitinteger

Maximum number of resources to return (1-100)

afterstring

Cursor for pagination

created_bystring

Filter resources in the current project by the creator ID. Pass "me" to show resources you created.

Response

List of model resources

Example response

{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "error": {
        "message": "Timed out waiting for cluster capacity. 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"
    }
  ],
  "meta": {
    "limit": 20,
    "has_more": true,
    "next_cursor": "123e4567-e89b-12d3-a456-426614174000"
  }
}

Changes

Changed in 2 of the 14 revisions of this API.716

  • 42c9ead8f2f511See the full diff
    • added the new MODEL_RESOURCES_ERROR_CODE_CAPACITY_WAIT_TIMEOUT enum value to the data/items/error/code response property for the response status 200

      response-property-enum-value-added

    • removed the MODEL_RESOURCES_ERROR_CODE_CAPACITY_UNAVAILABLE enum value from the data/items/error/code response property for the response status 200

      response-property-enum-value-removed

  • 0c4fdad7743575See the full diff
    • removed the enum value MODEL_RESOURCES_STATUS_CREATING from the query request parameter status

      request-parameter-enum-value-removed

    • removed the enum value MODEL_RESOURCES_STATUS_ERROR from the query request parameter status

      request-parameter-enum-value-removed

    • removed the enum value MODEL_RESOURCES_STATUS_PENDING from the query request parameter status

      request-parameter-enum-value-removed

    • removed the enum value MODEL_RESOURCES_STATUS_READY from the query request parameter status

      request-parameter-enum-value-removed

    • removed the enum value MODEL_RESOURCES_STATUS_STOPPED from the query request parameter status

      request-parameter-enum-value-removed

    • removed the enum value MODEL_RESOURCES_STATUS_STOPPING from the query request parameter status

      request-parameter-enum-value-removed

    • the meta/limit response's property type/format changed from integer/int32 to integer/ for status 200

      response-property-type-changed

    • added the new optional query request parameter created_by

      new-optional-request-parameter

    • for the query request parameter limit, the type/format was generalized from integer/int32 to integer/

      request-parameter-type-generalized

    • for the query request parameter status, the type/format was generalized from string/ to array/

      request-parameter-type-generalized

    • added the required property data/items/created_by to the response with the 200 status

      response-required-property-added

    • added the required property data/items/optimizer_config to the response with the 200 status

      response-required-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog