Skip to content

List all MaaS model refs

GET /api/v1/all-maas-models

GET /maas/api/v1/all-maas-models

Returns all MaaSModelRef resources across the cluster as summaries. K8s calls: GET /k8s/v1/maasmodelref

Authorization

Responses

Status Description Response body
200 OK

List of MaaSModelRef summaries

object

application/json

401 Unauthorized

Unauthorized

None
500 Internal Server Error

Internal Server Error

ErrorResponse

application/json

200 OK response body

Property Type Required Description
data array of MaaSModelRefSummary Yes

Example request

curl -X GET "/maas/api/v1/all-maas-models" \
  -H "Authorization: Bearer $TOKEN"

Example response

200 OK, application/json

{
  "data": [
    {
      "name": "granite-3-8b-instruct",
      "namespace": "maas-models",
      "displayName": "Granite 3 8B Instruct",
      "description": "IBM Granite 3 8B instruction-tuned language model.",
      "phase": "Ready",
      "modelRef": {
        "kind": "InferenceService",
        "name": "granite-3-8b-instruct"
      }
    }
  ]
}