Documentation

Organizations and groups

An organization lets a whole company share one prepaid balance while keeping each team's spending — and each person's keys — separate and accountable.

How an account is shaped

An organization holds one prepaid balance and any number of groups, up to a hundred. People belong to a group, and keys belong to people. A group can be given a spending limit; the balance itself belongs to the organization.

Organization            one prepaid balance
└── Group               a spending limit of its own
    └── Member          a person who signs in
        └── API key     what your code actually sends

Groups exist so one team cannot quietly spend the whole company's credit. A group limit caps how much of the shared balance the keys counted toward that group may use — it is a ceiling, not an allowance set aside in advance.

Plans, and running several organizations

The first time you sign in you choose a plan, and it cannot be changed from the portal afterwards:

  • Individual plan — one balance and set of keys that are yours alone. An Individual-plan account cannot join an organization or create one, and there is no upgrade to the Organization plan from the portal.
  • Organization plan — everything on this page. Someone invited into an organization before they ever signed in is placed on this plan automatically.

An Organization-plan account can belong to several organizations and switches between them from the avatar menu at the top right. An organization admin can also start another one from Create organization in the same menu — useful, for example, to run one organization per end customer. Each organization is fully separate: its own balance and top-ups, invoices, keys, usage, notifications and members. Nothing is pooled across them, and the portal always acts in the organization you have switched to. One account can belong to up to 200 organizations.

Roles

What each role in an organization may do
RoleWhat they can do
Organization adminEverything below, across every group: create groups, invite members, set group limits, issue and revoke keys, read the balance and top it up.
Group adminWithin their own group only: invite members, set that group's limit, and issue or revoke keys for themselves or any of its members. They cannot act on another group.
MemberCollect a key an admin granted them, use it, and revoke it. They cannot issue keys, change a budget, or see anyone else's keys.

Whoever creates the organization becomes its organization admin. That role is not handed out by invitation — everyone invited afterwards joins as a group admin or a member.

Inviting colleagues

An organization admin or a group admin invites people from the group's page in the portal: enter a work email, pick group_admin or member, and they are invited. They then sign in exactly as described in Getting started.

Keys in an organization

Granting a key to a member

Members cannot issue their own keys, and an admin cannot issue a key and hand it over, because a key's value is shown once to whoever creates it. So the portal splits the act in two: an admin grants a key — naming the recipient, the label and any cap — and the member collects it from their own dashboard.

The key is created at the moment of collection, in the member's own session. Nobody else, including the admin who granted it, ever sees the value.

  • A grant can be cancelled while it is still uncollected. Once collected, revoke the key instead.
  • A grant can only be collected by the person it names, and only while they are still a member of the organization.

Counting a key toward another group

An organization admin issuing a key for someone else can choose which group the key's spending counts toward. That lets one person hold two keys billed to two different teams, without changing which group they themselves belong to.

Limiting a group to some models

By default a key reaches every model in the catalogue. If your organization has been limited to particular models — something arranged with us, not set in the portal — an organization admin, or that group's own admin, can narrow a group further under Models this group may call on the group's page. The limit applies to every key counted toward the group, including keys already issued. There is no limit per individual key.

Budgets and limits

  • Key budget — an optional cap on one key. In an organization, only an admin of that key's group can change it, even when the key is the member's own.
  • Group limit — a cap on everything counted toward one group. It can renew daily, weekly or monthly, or not renew at all.
  • Organization balance — the prepaid credit itself. It has no settable ceiling, because the balance is the money you paid. To limit spending, use group limits.

Deleting a group

An organization admin can delete any group other than their own. This is permanent and takes the group's keys with it: those keys stop working immediately, and the group's members are removed from it.

Who sees what

Every member of an organization can see the list of groups and each group's spending against its limit. Only an organization admin can read the prepaid balance. Nobody can see, use or revoke a key belonging to someone whose group they do not administer — enforced on the server for every request, not merely hidden in the interface.