Users, invites and API keys¶
This page covers who can use a workspace and what they can do: roles, the Users, API keys, Workspace and My account pages, and how sessions work.
Roles¶
Every person and every API key has one of three roles. Each role can do everything the role below it can.
Viewer¶
A viewer can read the workspace:
- incidents, their timeline, analysis and post-mortems
- alert quality, SLOs, the weekly digest
- on-call schedules, escalation policies, who is on call
- what is muted
A viewer can also manage their own contact methods and notification rules, so they can be paged.
Operator¶
An operator can also work incidents and change on-call setup:
- acknowledge, resolve and reopen incidents
- assign incidents and page someone
- run Analyse with AI, ask the copilot, generate post-mortems
- vote on Was this alert useful?
- add, rotate and remove alert sources
- create and delete SLOs, report SLO measurements
- change schedules, overrides, escalation policies and routes
- send the weekly digest now
- open the Setup Guide, Alertmanager setup and audit trail pages
Admin¶
An admin can also manage the workspace and its people:
- invite people, change their role, disable them
- create and revoke API keys
- rename the workspace
- mute and unmute alerts
- change the public status page
- import from other on-call tools
- set up the weekly digest email
- remove the sample incidents
- set up single sign-on and custom roles (Enterprise, see Enterprise features)
A request that needs a higher role is refused with 403 and the code ROLE_INSUFFICIENT, for example "role 'viewer' does not have permission; requires 'operator' or higher".
Note
With the Enterprise license, a custom role can take some of these actions away from a person. It never adds any.
Users page¶
Admin → Users lists the workspace's members with their role, status and last sign-in. Only admins see it.
Invite someone¶
- Enter the email address under Invite someone and choose the Role for the invite.
- Select Send invite.
The person gets an email with a link to choose their own password. The link works once, for 7 days. Passwords must be at least 8 characters.
If the server cannot send email, the page shows the link instead, so you can pass it on yourself.
Pending invites are listed under Pending invites. Resend makes a new link, valid for another 7 days; the old link stops working. Revoke cancels the invite.
An invite is refused when:
- the email is already a member of the workspace (
409) - on a Argavon Cloud plan (Free, Pro or Enterprise), the workspace already has 3, 10 or 25 people, counting pending invites (
402, codePLAN_LIMIT; a self-hosted install has no user limit) - an Enterprise license with a seat limit is more than 25 % over its seats (
402, codeSEAT_LIMIT). See Seats.
Change a role or disable someone¶
In the member list you can change a person's role, and Disable or Enable them.
- Either change ends all of that person's sessions at once. They sign in again with the new role.
- A disabled person cannot sign in. Their name stays on past incidents.
- You cannot change your own role or disable yourself.
- A workspace must keep at least one enabled admin.
API keys¶
API keys let scripts and integrations call the API without a person's session. Only admins can manage them, on Admin → API keys.
To create one, give it a Key name (1 to 80 characters), a Key role and an Expires setting (never, 30 days, 90 days or a year), then select Create key.
- The key looks like
nok_1a2b3c4d_followed by 43 more characters. - It is shown once. Copy it then; Argavon stores only a hash. The list shows only the start (
nok_1a2b3c4d) so you can tell keys apart. - The key acts with the role you gave it. Give it the least role it needs:
viewerfor read-only scripts. - Send it only in the
Authorizationheader:Authorization: Bearer nok_…. It is not accepted as a cookie or a query parameter. - In the audit log, actions by a key appear as
apikey:<key id>. - Last used is updated at most once a minute.
- Revoke stops a key at once.
- A workspace can have at most 50 active keys. Through the API, expiry can be 0 (never) to 365 days.
API keys cannot create or revoke API keys: that needs a signed-in admin. Custom roles do not apply to keys; a key is limited by its own role.
curl https://argavon.com.com/api/v1/incidents?status=open \
-H "Authorization: Bearer $NEUROOPS_API_KEY"
Note
Alert sources do not use API keys. Each source has its own token, sent as X-Source-Token. See Send alerts.
Workspace page¶
Admin → Workspace shows:
| Field | Meaning |
|---|---|
| Workspace name | Admins can change it (1 to 120 characters, one line). |
| Workspace id | The id you enter at sign-in when your email belongs to several workspaces, and when you sign in with SSO. |
| Data region | Where the workspace's data is kept. |
| Plan | The workspace's plan. |
Every member can see this page. Only admins can rename the workspace.
Labs¶
A new workspace starts in pager mode: the menu shows what paging needs (dashboard, incidents, on-call, escalation, integrations, import, status page, notifications and the admin pages). The other pages are Labs: Fleet Monitor, Alert Quality, AI Engine, Domain Memory, Topology Graph, Log Explorer, Agents, SLO Dashboard, Weekly Digest and Impact & risk.
An admin turns them on for everyone with Show Labs pages on the Workspace page, or with Turn on Labs on
a Labs page opened from a link. API: PATCH /api/v1/workspace with {"labs_enabled": true}. Workspaces
created before this setting existed have Labs on.
With Labs off the server refuses the APIs behind those pages with 403 and the code labs_off
(the API route index marks them), and a new incident skips the Labs-only work
(engineering-health metrics, a remediation proposal, incident memory on resolve). Alerts from every source,
the agent's own registration and data, incidents, paging, on-call, escalation, notifications, sources,
import, the status page, billing and the workspace settings work the same either way. Turning Labs on or
off takes effect at once on the server that handled the change and within 15 seconds on the others.
My account¶
My account has two panels:
- Password: enter your current password and the new one twice, then Change password. The new password must be at least 8 characters. Your other sessions end; this one continues.
- Sessions: Sign out everywhere ends every session you have, on every device, including this one.
People who were created through single sign-on have no password to change. They can set one with a password link (below).
Forgotten passwords¶
On the sign-in page, Forgot your password? asks for an email address and mails a link to choose a new password. The answer is the same whether or not the address has an account, so the form cannot be used to find out who is a member. Without outbound email on the server the form says so and an admin has to send the link instead.
An admin can also select Password link next to a person in Admin → Users. With email the link is mailed to them; without it the page shows the link so you can pass it on.
- A link works once, for 1 hour. Asking again makes the older link stop working.
- Choosing a new password ends every other session of that person and signs them in.
- A disabled person gets no link (
this user is disabled: enable them first). - An expired or used link answers
this password link is unknown, was already used or has expired: ask for a new one.
The API: POST /api/v1/auth/password-reset with {"email": "..."}; GET and POST /api/v1/auth/password-reset/{token} (the second with {"password": "..."}); and, for admins, POST /api/v1/users/{id}/password-reset.
Sessions¶
There are two kinds of session:
- The web app uses a cookie. It is
httpOnlyandSameSite=Strict, so scripts in the page cannot read it and other sites cannot use it. Requests that change something must also send the headerX-Requested-With: neuroops; the web app does this for you. - API clients sign in with
POST /api/v1/auth/loginand get a bearer token in the response. See the API guide.
Both last 24 hours. A session ends early when you sign out everywhere, change your password, or when an admin changes your role or disables you.
Sign-in is limited to 10 attempts per minute from one IP address. After 5 failed attempts for one email within 15 minutes, that email is locked for 5 minutes; each further lock doubles, up to an hour.