Skip to content

Teams and roles

Every user has a personal account. A team is a separate account with its own balance, API keys, webhooks, tasks and settings, shared by its members. Create one from the account menu in the console; you become its owner.

API keys belong to the account they were created in, so a key made in a team spends the team’s balance and its tasks show up in the team’s logs. Switch between your accounts from the account menu.

Role Can
owner Everything, including making or removing other owners.
admin Everything except changing owners: keys, webhooks, tasks, billing, members and settings.
developer Create and edit API keys and webhooks, run tasks in the playground, and read the logs.
billing Top up, and download invoices and statements.
viewer Read only.

A team always has at least one owner: the last owner can’t leave or be demoted (409 last_owner).

Each member confirms their own age before the console shows them generated images, whatever their role.

Owners and admins invite people by email with a role. The invite link is emailed and also shown in the console, and it works for 7 days. The person accepts it by signing in with that same email address; a different address gets invite_wrong_email. Pending invites can be revoked, and members can leave a team at any time.

Owners and admins can read the team’s audit log in the console: who created or revoked keys, changed webhooks, invited, removed or changed members, edited settings, and when.

Console endpoints act on your personal account unless you send X-Account-Id with the team’s id. They’re meant for the console itself; for generation, use an API key created in the team.