Create the key
1
Log in to the Console
Open console.atlasent.io and sign in.
2
Open Settings → API Keys
Choose API Keys in the sidebar (
/api-keys; organization admins land on Settings → API Keys), then click New Key.3
Pick a scope preset
For the quickstart, pick the Evaluate only preset. It grants
evaluate:write, verify:execute, audit:read, and policy:read. Scopes always take the resource:action form. You can create an Audit read-only key (audit:read) or choose Custom scopes later.4
Copy the plaintext key
It’s shown once. Store it in a password manager or a secrets store. Lost keys must be rotated.
Put the key in your environment
/functions/v1 path. Endpoints are hyphenated
function names appended directly to it — $ATLASENT_API_URL/v1-evaluate
(i.e. https://api.atlasent.io/functions/v1/v1-evaluate), not
$ATLASENT_API_URL/v1/evaluate. The next two pages use this convention.
A live key is accepted only when the request’s context.environment is
production; any other value is refused with ENVIRONMENT_MISMATCH. The
examples on the next pages already send production.