---
title: "Set Model Pin"
method: PUT
path: "/api/system/models/{surface}"
tags: ["system"]
---

# Set Model Pin

`PUT /api/system/models/{surface}`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/system/models/{surface}`
- Auth: none declared

## Path parameters

- `surface` string, required

## Request body

- SetModelPinRequest: `model=None` clears the pin -- the surface falls back to its env/family/default resolution. `effort` is optional and ignored when `model` is None (clearing never carries an effort); when set alongside a model it is written as the `{"model", "effort"}` pin shape (COMPANY-OS-DECISION-LAYER-001 unit 1). See settings_service.set_model_pin.
  - `model` string, nullable
  - `effort` string, nullable
  - `thinking` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
