Documentation Index
Fetch the complete documentation index at: https://docs.serval.com/llms.txt
Use this file to discover all available pages before exploring further.
About Anthropic Admin
The Anthropic Admin API lets organization admins manage users, invites, workspaces, workspace members, and API keys, and pull usage and cost reports. Connecting it to Serval exposes that surface to workflows, so you can automate provisioning, off-boarding, key rotation, and spend monitoring.The Admin API is separate from the inference API used to call Claude. Admin keys start with
sk-ant-admin01- and are only valid against https://api.anthropic.com/v1/organizations/* endpoints. Regular sk-ant-api03- keys will not work.What the Anthropic Admin integration enables
| Capability | Description |
|---|---|
| User Management | List users, look up a user by email, invite new users, update roles, remove users, list and revoke invites |
| Workspace Management | List, create, and archive workspaces, and add or remove workspace members |
| API Key Management | List API keys across the org and workspaces, and disable a key to immediately revoke access |
| Usage & Cost Reporting | Pull the Messages API usage report, Claude Code usage report, and cost report; summarize trailing-N-day usage; check month-to-date spend against a configurable budget |
Prerequisites
- An Anthropic organization on a plan that exposes the Admin API.
- An organization Admin role in the Anthropic Console (Admin API keys can only be generated by org admins).
Anthropic Configuration
Create an Admin API key
- Sign in to the Anthropic Console.
- Open Settings → Admin Keys.
- Click Create Admin Key, give it a descriptive name (for example,
Serval Production), and create it. - Copy the key immediately — it starts with
sk-ant-admin01-and will only be shown once. Store it in your secret management system.
Connect Anthropic Admin to Serval
Open the Anthropic Admin integration
In Serval, navigate to Apps → Available → Anthropic Admin and click Connect.
Installable workflow bundles
The integration ships with four bundles you can install from Apps → Anthropic Admin → Workflows:- User Management — list/get users, invite, update role, remove, list/revoke invites.
- Workspace Management — list/create/archive workspaces, add/remove workspace members.
- API Key Management — list API keys, disable a key.
- Usage & Cost Reporting — Messages usage, Claude Code usage, cost report, trailing-N-day summary, and a spend-limit check that compares month-to-date cost against a budget you supply.
Anthropic’s Admin API does not expose a configured spend limit, so the Check Anthropic Spend Limit workflow takes the budget as a workflow input rather than reading it from Anthropic.

