The Administration API is for organization management and automation. It uses
organization-owned Admin API keys, not the ak_... Project API keys used
for model inference.
Create the first Admin API key
- Sign in to the Abliteration Console.
- Select the organization you want to manage.
- Open Admin API keys.
- Select Create API key.
- Choose the minimum permissions required for the integration.
- Copy the key when it is shown. The full value is displayed once.
Only organization owners and admins can manage Admin API keys in the Console.
An invited user must accept the invitation before their role becomes active.
Admin API keys are server-side credentials. Store them in a secret manager
or environment variable. Do not commit them or expose them in browser code,
mobile application bundles, or other public clients. Browser applications
must call their own backend. Direct browser JavaScript access is unsupported.
Authenticate
Use the Production base URL and send the Admin API key as a bearer token:
An Admin API key is bound to one organization. The API derives the organization
from the credential; requests do not accept an organization ID override.
Permissions
Each key has explicit permissions. A key can create another Admin API key only
with a subset of its own permissions.
Idempotent creates
Project creation, policy creation, Project API-key creation, and Admin API-key
creation require an Idempotency-Key header between 8 and 200 characters.
Reusing a key with the same request returns the original result. Reusing it
with a different request returns 409 idempotency_conflict.
An idempotent retry of API-key creation can return the same creation response,
including the secret. Protect retry responses and do not log them.
If a retry returns 409 idempotency_reconciliation_required, review the
organization’s Admin API keys before using a new idempotency key. Follow the
recovery steps in Administration API errors.
Next steps
- Browse the Administration API resources in the sidebar for generated
request and response reference.
- See Manage policies for the draft and publish
workflow.
- See Administration API errors for error handling
and rate-limit headers.