Create an API key
API keys are created in the dashboard, by an admin, under Roles & Access.1
Open the API Keys tab
Go to Roles & Access → API Keys. You’ll need the Admin role — only admins can manage keys.
2
Create the key
Click Create API key, give it a recognisable name (e.g. Billing export script), and optionally set an expiry. Leave the expiry blank for a key that never expires.
3
Copy it now
The key is shown once, right after creation. Copy it and store it somewhere safe — you can’t retrieve it again later.
neo_sk_, the environment, then a random secret:
Authenticate a request
Send the key in theAuthorization header as a bearer token:
Rotating and revoking keys
Manage existing keys from the same API Keys tab:Security best practices
- Store keys in a secrets manager or your platform’s environment configuration — never commit them to source control.
- Don’t embed keys in browsers, mobile apps, or anything a customer could inspect — the API is for server-to-server use.
- Rotate on a schedule, and immediately if a key may have leaked.
- Set an expiry on keys meant to be short-lived.
Keys can’t create other keys — minting and rotating keys is an admin-only dashboard action. The dashboard itself signs in with your Microsoft account rather than an API key; API keys are for your own scripts and integrations.
What’s next
Make your first request
List your agents and read the response envelope.
