---
title: "Admin Canary Set Version"
method: PUT
path: "/admin/canary/{platform}"
---

# Admin Canary Set Version

`PUT /admin/canary/{platform}`

## Request

- Base URL: `https://api.local-mcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.local-mcp.com/admin/canary/{platform}`
- Auth: none declared. Required headers: `x-admin-key`

Set the canary version for a platform. Refuse a version that is not strictly higher than the
line's current maximum — the same publication-order bar `admin_publish_version` enforces (never
offer a build the fleet already passed). windows is allowed as of #108 PR3: `get_runtime_latest`
now excludes the win-% canary from the public serve and hands it only to a listed machine, so a
set no longer leaks the row to the fleet. `line_query(version_line(...))` compares a win-% set
against the win-% line, a darwin set against the darwin line.

## Path parameters

- `platform` string, required

## Headers

- `x-admin-key` string, required

## Request body

- CanaryVersionRequest
  - `version` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/local-mcp/apis/lmcp-api.md) · [All operations](https://skmtc.dev/local-mcp/apis/lmcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/local-mcp/apis/lmcp-api/revisions/f1f1c502623a?raw)
