---
title: "Update a MaaSModelRef"
method: PUT
path: "/api/v1/maasmodel/{namespace}/{name}"
tags: ["maasmodelrefs"]
---

# Update a MaaSModelRef

`PUT /api/v1/maasmodel/{namespace}/{name}`

Updates an existing MaaSModelRef Kubernetes custom resource.
K8s calls: PUT /k8s/v1/maasmodelref/:namespace/:name

## Path parameters

- `namespace` string, required
- `name` string, required

## Request body

- UpdateMaaSModelRefRequest — Request body for updating an existing MaaSModelRef resource
  - `modelRef` ModelReference, required — Reference to a model endpoint
    - `kind` 'LLMInferenceService' | 'ExternalModel', required — Kind of the model resource
    - `name` string, required — Name of the model resource
  - `endpointOverride` string — Optional endpoint URL override
  - `displayName` string — Human-readable display name stored as openshift.io/display-name annotation
  - `description` string — Human-readable description stored as openshift.io/description annotation
  - `modelCapabilities` string[] — Model capability tags to set as the opendatahub.io/model-capabilities annotation. Omit to leave the existing annotation unchanged; send an empty array to remove it.

## Response `200`

MaaSModelRef updated successfully

- MaaSModelRefSummary — BFF representation of a MaaSModelRef Kubernetes custom resource
  - `name` string, required — Name of the MaaSModelRef resource
  - `namespace` string, required — Namespace of the MaaSModelRef resource
  - `displayName` string — Human-readable display name (from openshift.io/display-name annotation)
  - `description` string — Optional description of the model (from openshift.io/description annotation)
  - `modelRef` ModelReference, required — Reference to a model endpoint
    - `kind` 'LLMInferenceService' | 'ExternalModel', required — Kind of the model resource
    - `name` string, required — Name of the model resource
  - `phase` 'Pending' | 'Ready' | 'Unhealthy' | 'Failed' — Current phase of the model (from status)
  - `statusMessage` string — Human-readable status message from the Ready condition in status.conditions
  - `reason` string — Reason from the Ready condition in status.conditions
  - `status` string — Status from the Ready condition in status.conditions (e.g. True, False, Unknown)
  - `conditionType` string — Condition type from the Ready condition in status.conditions
  - `lastTransitionTime` string, date-time — lastTransitionTime from the Ready condition in status.conditions
  - `endpoint` string — Endpoint URL for the model (from status)
  - `modelCapabilities` string[] — Model capability tags from the opendatahub.io/model-capabilities annotation (e.g. text-generation, vision). Absent when the annotation was not set.

## Other responses

- `400` — Bad Request. Invalid update specification.
- `401` — Unauthorized
- `404` — MaaSModelRef not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/opendatahub-io/apis/maas-bff-api.md) · [All operations](https://skmtc.net/opendatahub-io/apis/maas-bff-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opendatahub-io/maas-bff-api/versions/9112415ceeca/schema)
