Skip to main content
Everything an enterprise admin does in the portal — and everything a member does for themselves — is an operation. The admin API exposes every operation three ways, from one definition, with one credential and one result shape: The full list — 137 operations across 12 domains, with who may call each — is the operation reference. The OpenAPI document under API reference lists every /v1/admin/* path with its request schema.

Authentication

The admin API takes a management token (aireserve_mcp_…), never an inference API key. Get one by signing in:
or by minting one on the portal Keys page under Management Keys (expiring, revocable, shown once), or by completing an MCP client’s Authenticate step. All three mint the same kind of token through the same OAuth-backed lifecycle; aireserve login is the standard OAuth authorization-code + PKCE flow against the portal, with a loopback redirect.
A token is its owner. There are no scopes to choose: every call is authorized live from the owner’s current role, so a member’s token can do what a member can do and an enterprise admin’s token can run the organization. Revoke it on the Keys page; revocation applies on the next request. Inference keys are refused with 401 invalid_token.

Discover what you can call

The catalog is filtered by your role, so a member sees the personal surface and an enterprise admin sees the whole organization. alwaysConfirm marks operations an interactive client should confirm with its user first (the MCP server enforces a confirm step; the HTTP door does not — callers are code). secretReturning marks operations whose result carries a one-time secret.

Call an operation

Every operation returns the same envelope. summary is the consent line, built from the rows the operation touched; message is the human result; data is the read payload or write detail. Reads are the same call with their own body: POST /v1/admin/list_org_users with {}. Refusals carry {"status": "refused", "code": …, "error": …}.

Secrets

Operations that mint a credential — create_api_key, create_client_api_key, create_team_api_key, create_ecs_credential — return it once:
sensitive: true is present exactly when secret is. Store the value immediately and keep the response out of logs; only its hash is kept on our side and it is never shown again.

SDKs and CLI

The SDK admin modules and the aireserve admin commands are generated from the same OpenAPI document as this page, so a new operation appears in all of them without hand work.
High-stakes operations in the CLI (alwaysConfirm) ask for --yes or an interactive confirmation; the SDKs run them directly.

Limits of the surface

  • Portal-only operations. Hard-deleting a user, purging the organization’s stored content, and removing or reopening a sign-in domain are not on the admin API or the MCP server. They stay behind a browser click.
  • No platform operations. Creating organizations, funding wallets, system users and other super-admin work is not exposed; a super admin’s token acts as an enterprise admin of their own organization.
  • No impersonation, no file bytes. Identity swaps and uploads stay in the portal.
  • Same guards as the portal. Each operation ends in the server action the portal calls; its authorization, audit log and invariants run unchanged.