---
title: "Admin Update Failures"
method: GET
path: "/admin/update-failures"
---

# Admin Update Failures

`GET /admin/update-failures`

## 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/update-failures`
- Auth: none declared. Required headers: `x-admin-key`

Per target version and platform: how many machines failed to update, and by which cause.
A machine counts once per version and once per cause; a machine that failed for two causes
is in both rows, so the rows of a version can add up to more than `machines_failed`.

`not_applied` is apart from the failures: `previous_not_applied` are the machines that
found the update before this one still staged, by the version they run; `staged_not_applied`
are the machines that staged this target and have no `applied` for it.

`net_probe` (lmcp-mac#383) is apart from the versions: what the client's probe of each artifact
host role found after a transport failure, by platform and ASN, in machines.

## Query parameters

- `days` integer
- `platform` string
- `include_test` boolean

## Headers

- `x-admin-key` string, required

## 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)
