---
title: "Read the pending IC Credits request queue"
method: GET
path: "/api/credits/admin/pending"
tags: ["keys"]
---

# Read the pending IC Credits request queue

`GET /api/credits/admin/pending`

## Request

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

Clerk operator session OR an agt_ token carrying `admin:llm_keys`. The HTTP twin of the MCP tool `ic_credits_admin_pending` and the sister of GET /api/tier/pending, same envelope, different scope. Only requests ABOVE the requester's ring default land here (at or under it they auto-mint). A KV miss degrades to empty lists rather than failing.

## Response `200`

The queue plus the recent audit tail.

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