keys

DEPRECATED alias of POST /api/credits/admin/approve

Deprecated 2026-09-15 (IC Credits rename); removed one release later. A thin re-export of POST /api/credits/admin/approve (same two-step, same idempotency, same rate cap). Move to the new path.

post/api/zai-keys/admin/approve

Request

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

Request body

request_idstring required

The pending request to approve.

budget_usd5 | 10 | 20 | 50 | 100

Member/benchmark keys: the monthly budget of IC Credits in USD to mint (default 20 member / 50 benchmark, or the request's ask). Ignored for workshop keys ($5 lifetime, fixed).

multiplierinteger

LEGACY weekly multiplier. Validated (1, 2, 5, 10, 20) and otherwise ignored; use budget_usd.

confirmboolean

Omit or false for a dry-run preview; true mints. Default false.

Response

Same as POST /api/credits/admin/approve.

okboolean required
dry_runboolean

True on the preview call.

request_idstring
kindstring
multiplierinteger
mintedboolean

True only on the call that actually created the key.

already_mintedboolean

Preview only: whether a confirmed call would be a fresh mint or a free replay.

agent_tokenstring

The plaintext, surfaced ONCE on the minting call. Never returned again.

Changes

No recorded changes to this operation across all 1 revision of this API.