---
title: "Update model endpoint data. Mainly used to update its rule."
method: PUT
path: "/models/{model_id}/endpoints/{model_endpoint_id}"
tags: ["model_endpoints"]
---

# Update model endpoint data. Mainly used to update its rule.

`PUT /models/{model_id}/endpoints/{model_endpoint_id}`

## Path parameters

- `model_id` integer, required
- `model_endpoint_id` integer, required

## Response `200`

OK

## Changes

> 33 revisions in range; 4 not diffed.

- **2024-12-05** `14228a52f169` — 4 info
  - added the new optional request property `rule/destinations/items/version_endpoint/model_observability`
  - added the new optional request property `rule/mirror/model_observability`
  - added the optional property `rule/destinations/items/version_endpoint/model_observability` to the response with the `200` status
  - added the optional property `rule/mirror/model_observability` to the response with the `200` status
- **2024-01-23** `c3ef0b1c733b` — 2 info
  - added optional request body
  - added the media type `*/*` for the response with the status `200`
- **2023-12-05** `d062ab20ef25` — 2 breaking
  - removed the request body
  - removed the media type `*/*` for the response with the status `200`
- **2020-09-28** `c4b3505de7df` — 2 breaking
  - removed the request body
  - removed the media type `*/*` for the response with the status `200`

[Change history](https://skmtc.dev/caraml-dev/apis/merlin/changes/models/:model_id/endpoints/:model_endpoint_id/put.md)

---

[API](https://skmtc.dev/caraml-dev/apis/merlin.md) · [All operations](https://skmtc.dev/caraml-dev/apis/merlin/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/caraml-dev/merlin/revisions/fcf14bf9bca2/schema)
