---
title: "DEPRECATED alias of GET /api/credits/admin/pending"
method: GET
path: "/api/zai-keys/admin/pending"
tags: ["keys"]
deprecated: true
---

# DEPRECATED alias of GET /api/credits/admin/pending

`GET /api/zai-keys/admin/pending`

## Request

- Base URL: `https://www.immersivecommons.com`
- URL: `https://www.immersivecommons.com/api/zai-keys/admin/pending`
- Auth: one of:
  - API key in cookie `__session`
  - HTTP bearer

> **Deprecated.**

Deprecated 2026-09-15 (IC Credits rename); removed one release later. A thin re-export of GET /api/credits/admin/pending. Move to the new path.

## Response `200`

Same as GET /api/credits/admin/pending.

- ZaiKeyPendingResponse
  - `ok` boolean, required
  - `pending` ZaiKeyRequestRecord[], required
    - `id` string, required: Stable request id — the handle every admin verb takes.
    - `kind` string, required: Which key family the request is for.
    - `origin` string: mcp (filed by an agent) or web (filed by a signed-in human). Decides whether the plaintext is stashed for a later Clerk-gated reveal.
    - `requester_clerk_user_id` string
    - `note` string
    - `submitted_at` string, date-time
  - `audit` ZaiKeyAuditRecord[], required: The recent tail.
    - `at` string, date-time, required
    - `action` string, required: request | approve | deny | regenerate | set_budget | revoke.
    - `request_id` string, required
    - `kind` string, required
    - `requester_clerk_user_id` string
    - `by_clerk_user_id` string: The operator who acted.
    - `minted_token_prefix` string: Prefix of the minted token — never the plaintext.
    - `multiplier` integer: The approved quota multiplier.
    - `event_id` string
    - `reason` string

## Other responses

- `401`: No auth.
- `403`: Not an operator / scope not authorized.

---

[API](https://skmtc.dev/immersivecommons/apis/immersive-commons-agent-rest-api.md) · [All operations](https://skmtc.dev/immersivecommons/apis/immersive-commons-agent-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/immersivecommons/apis/immersive-commons-agent-rest-api/revisions/be67c1f67c27?raw)
