---
title: "Admin Approvals"
method: GET
path: "/admin/approvals"
---

# Admin Approvals

`GET /admin/approvals`

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

How the machines seen in the window got their relay approval — per platform, counted by
MACHINE (a machine is approved if ANY of its live tokens is), split by how the FIRST approval
was made (lmcp-api#38's approved_via): `tray_button`, `oauth_dialog`, `not_recorded`
(approved before the column, incl. the 2026-09-29 backfill — never read as "dialog"), and
`not_approved`. Test machines and @local-mcp.test are excluded. Bounded: tunnel_tokens only,
a window, grouped — no heartbeat scan.

## Query parameters

- `hours` integer

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