---
title: "Create a model endpoint"
method: POST
path: "/models/{model_id}/endpoints"
tags: ["model_endpoints"]
---

# Create a model endpoint

`POST /models/{model_id}/endpoints`

## Path parameters

- `model_id` integer, required

## Response `201`

Created

## Changes

> 34 revisions in range; 4 not diffed.

- **2026-07-17** `a1e12cbeeebc` — 48 info
  - added the new optional request property `environment/default_resource_request/liveness_probe`
  - added the new optional request property `environment/default_resource_request/readiness_probe`
  - added the new optional request property `environment/default_transformer_resource_request/liveness_probe`
  - added the new optional request property `environment/default_transformer_resource_request/readiness_probe`
  - …44 more
- **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 `201` status
  - added the optional property `rule/mirror/model_observability` to the response with the `201` status
- **2024-01-23** `c3ef0b1c733b` — 2 breaking, 1 info
  - added required request body
  - removed the success response with the status `200`
  - added the success response with the status `201`
- **2023-12-05** `d062ab20ef25` — 2 breaking, 1 info
  - removed the request body
  - removed the success response with the status `201`
  - added the success response with the status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/caraml-dev/apis/merlin/changes/models/:model_id/endpoints/post.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/a1e12cbeeebc/schema)
