Skip to content
Zabio is in beta: models, prices and features can change. Tell us what breaks at hello@zabio.ai.

Organizations, members and keys

Everything in Zabio belongs to an organization: credits, API keys, members, projects, stored conversations and usage. Organizations belong to an account. A person can belong to several organizations. The web app and the zabio CLI manage all of this; API keys only talk to /v1.

When you sign up you get your account and its first organization, named after you (“Ana’s workspace”, from your sign-in’s name or your email address), which you can rename in Settings, General. Your first API key is created with it, named “First key”; it is one of the two keys of the Free plan. You are the owner of your account and of the organizations in it. Only the account’s owner creates organizations and projects.

People you invite belong only to the organizations you invite them to. They have no account of their own, cannot create organizations and get no organization of their own; someone you invited who wants their own account signs up with another email address. Someone you invited who later belongs to no organization and has no invitation waiting (they never joined, they left, or the organization was closed) gets their own account and first organization the next time they sign in, after the same checks as any signup. A person who has an account can also be invited into someone else’s organization.

An organization has a name, a URL slug, a region (US at launch), a default language for emails (en or es) and settings. Creating one requires a verified email address and an account of your own. The creator is its owner. Transferring an organization to another owner moves it into their account, so the new owner needs an account of their own.

Balances are per organization, and the Free plan is one organization per person, so before you create a second organization the dialog suggests a project first: a project shares the organization’s balance and has its own keys and spending caps, while a new organization has its own balance and billing. If you do create one, you can move paid credit into it from an organization you own; see Billing.

Deleting an organization (owner only) closes it: API keys stop working at once, stored conversations and logged call bodies are deleted, and the encryption key that protected them is destroyed 30 days later. See Privacy.

Action owner admin member
see the organization, members, keys, projects, usage, models, billing yes yes yes
create API keys; change, rotate and revoke their own keys yes yes yes
change, rotate and revoke other people’s keys; move a key to another project; rename and archive projects; edit the organization name and language yes yes no
create projects yes no no
invite and remove members, set the admin or member role, set member quotas, read the audit log yes yes no
add or remove vendor keys; add credits; delete stored conversations from the web app yes yes no
transfer ownership, change or remove an owner, delete the organization yes no no

An organization always has at least one owner. Transferring ownership makes the previous owner an admin.

Owners and admins invite by email, choosing the organization, the role (admin or member), an optional monthly quota and, for a member, optionally the projects they work in (see Projects). The invitee receives a link in the organization’s default language. The invite is accepted while signed in with the same email address it was sent to. Inviting the same address again sends a fresh link.

Each member may have a monthly quota in USD. It applies to the sum of spend on every API key that member created, in the calendar month, UTC. When it is reached, calls on those keys return 429 quota_exceeded with x-zabio-quota-scope: member. Quotas and spend per member are visible to owners and admins.

Projects are an optional grouping for API keys, so usage can be read per project. A project has a name and a slug. Archiving a project hides it; its keys keep working and keep their project.

The card at the top of the menu, with the organization, also shows one project or all projects. Pages show the keys, calls, usage and conversations of the project chosen there, and a new key is created in that project, or at the organization’s level under “All projects”.

A member can be limited to one or more projects, when invited or later from Members. A member limited to projects sees only those projects’ keys, calls, usage and conversations (a call and its spend count in the project they happened in, even if the key moves later), and creates keys only in them; keys at the organization’s level are not shown to them. Owners and admins always see the whole organization. Zabio enforces this on every request, not only in the web app.

On the API, a key that belongs to a project reads and changes only the conversations, responses, files and batches made with that project’s keys; a key at the organization’s level reads the whole organization. Something outside answers 404, as if it did not exist.

A key is zb_live_ followed by 43 random letters and digits. It is shown once when created; Zabio stores only a hash and the first 8 characters after the prefix, which the dashboard shows so you can tell keys apart. Any member can create a key; a verified email is required.

Setting Default Range Effect
name required a label
project_id none the project the key belongs to
scopes chat, embeddings, conversations subset of the three which endpoints the key may call, changed in the key’s Edit panel; a call outside the scopes returns 403 insufficient_scope
rpm_limit 600 1 to 100,000 requests per minute
tpm_limit 200,000 1 to 100,000,000 tokens per minute; charged with an estimate at admission and refunded after the call
expires_at never a future time when the key stops working: never, 7, 30 or 90 days, or a date (00:00 UTC that day). From then on calls are refused with 401 key_expired and the key shows as Expired; its creator (the owner, if the creator left) gets an email 7 days before. A new expiration brings an expired key back
spend_limit_micros none 0 or more spend limit in micros; 429 quota_exceeded when reached, with the date it resets. The creator’s monthly member quota applies beside it
spend_reset monthly never, daily, weekly, monthly when the spend limit starts again, at 00:00 UTC (weeks from Monday); never is a budget for the key’s whole life
model_access everything the levels above allow providers and models the key’s own level of model access (see Model access)
fallback_policy same_vendor same_vendor, cross_vendor, none default for zabio.fallback on explicit models; a request may only tighten it
body_logging off on or off store the request and response bodies of chat completion and embedding calls, encrypted, for the retention period

Creating a key in the web app asks for its name, expiration and spend limit; every other setting starts at its default and is changed in the key’s Edit panel, which also holds its models. Prompt caching is not a key setting: it is automatic on every call, and a call turns it off with zabio.cache.ttl none (see cache.ttl). Every change applies on the next call. Rotating a key gives it a new secret and keeps its id, settings and history; the old secret stops working at once. Revoking a key is immediate and idempotent; the key stays listed as revoked.

Members can change, rotate and revoke the keys they created. Owners and admins can change, rotate and revoke every key.

Owners and admins can also limit the addresses a key may be called from, for the whole organization, for a project or for one key: see IP allow and deny lists.

Chat completions and embeddings store nothing by default. With body_logging on, each call’s request and response are stored encrypted under the organization’s data key and kept for the organization’s retention period. Owners and admins can read a stored body from the dashboard’s call list; each read is written to the audit log. Bodies never appear in usage exports or emails.

Model access has four levels: your account, the organization, a project and a key. Each level narrows the one above, and a call may use only what every level allows; auto picks only among those models. By default every level allows everything the level above allows, including models added later.

At every level the same picker shows the models grouped by provider, with filters for providers, capabilities and a search. A provider’s switch allows every model of that provider, including the ones it adds later; a model’s checkbox allows exactly that model. The auto models (auto and its three lines, auto/best, auto/balanced and auto/cheap) have their own checkboxes at the top: unchecked, calls to that model are refused. When a level above turns a model off, a lower level keeps its own check: the model shows as off at that level and does not count, and it comes back when the level above turns it on again.

  • Account: the account’s owner, on Models, Allowed models.
  • Organization: owners and admins, on Models, Catalog.
  • Project: owners and admins, with Models on API Keys, Projects.
  • Key: whoever can edit the key, with Models in the key’s Edit panel on API Keys.

A model a level refuses returns 404 model_not_found and is never picked by auto; GET /v1/models lists only what every level allows for the key. A level that allows an auto model must leave it at least one model to pick. A change at the account, the organization or a project that would leave a project or key below with no model for auto is not refused, but the picker names the projects and keys affected and asks before saving; their auto calls then answer 400 no_model_allowed, naming the level to check.

An organization can have a routing policy of its own on top of model access, and named policies it assigns to projects, members and keys (see Named policies). A policy only narrows: it can never let a key use a model that model access leaves out, and a request can narrow it further but never loosen it. Owners and admins set it on the dashboard’s Routing Policies tab, under AI Firewall and under Settings (the same policy in both), or with GET and PUT /admin/v1/orgs/{org}/routing-policy. Members do not see it. Named policies are set through the API; the tab shows the organization’s own policy. Before a save the tab runs the dry run below and names the keys that would lose models; it also warns when the price ceiling leaves no model your model access allows. Zabio applies policies once it turns them on; until then a saved policy is kept and not applied, and the GET answer says so in applied: false.

Part What it does
models.allow, models.exclude Model patterns, with * as the only wildcard. A pattern without / matches the model id (claude-* is Claude on every host, *-preview every preview). A pattern with / matches <provider>/<model id>, where the provider is the host that serves it (anthropic/* is Anthropic’s own API). An empty allow list allows every model; an excluded model stays out even when the allow list matches it. The auto models are set in model access, not here.
vendors.allow, vendors.exclude The providers that may serve, as in GET /v1/models (OpenRouter’s names work too). An excluded provider stays out.
vendors.order The providers you prefer to serve a named model, after the request’s own provider.order.
fallback.policy A limit on each key’s fallback_policy: none, same_vendor or cross_vendor. A key keeps its own policy when it is tighter.
fallback.model A model tried first when the named model’s provider fails, if the fallback policy allows it (the same provider under same_vendor). It must pass the policy and model access.
max_price.prompt, max_price.completion A limit on the rate you are billed, in USD per million tokens, fee included, as provider.max_price on a request. A model billed above it is not used.
data.zdr Every call of the organization is sent as with provider.zdr: true; see Zero data retention for what that means. While it is on, auto, stored responses (store, background, conversation, previous_response_id), batches and web search are refused for the whole organization, as is any call while the firewall’s paid tier is on, unless the firewall’s zdr_mode is free_only (then calls get the free screening only; see Zero data retention calls).
data.no_training Only models whose provider’s terms say it does not train on requests can serve, as with provider.data_collection: "deny".
locked A request that asks for more than the policy allows is refused with 403 routing_policy_locked, naming the policy. Without it, such a request is served under the policy and the field is listed in zabio.ignored_parameters.

A request asks for more than the policy allows when it sends provider.zdr: false or provider.data_collection: "allow" against the policy’s data rules, a provider.max_price above the policy’s, a provider.only or provider.order naming an excluded provider, or a zabio.fallback or provider.allow_fallbacks: true looser than the policy’s fallback. A request that narrows, such as a lower max_price or provider.zdr: true, is always taken.

A model the policy leaves out returns 404 model_not_found, naming the policy. An auto call the policy leaves with no model returns 400 no_model_allowed. On chat completions and the Responses API, the answer of a call under a policy names it in zabio.routing.policy: id is the first policy, policies lists every policy that applied, and removed is the number of models they left out.

Saving a policy that would leave a key, or the organization itself, with no model it can use is refused with 400 tier_empty. Send the save with ?dry_run=1 first: the answer lists each key that would lose models, which ones, and whether it would be left with nothing, and stores nothing. Every change is written to the audit log, with the policy before and after.

A named policy has the same parts as the organization’s policy, plus a name and a spend limit. Owners and admins create it with POST /admin/v1/orgs/{org}/routing-policies (name, routing_policy with the parts above, spend_limit_micros, spend_reset), read them with GET, change one with PUT .../routing-policies/{id} (the whole policy, with ?dry_run=1) and delete one with DELETE. A policy that is assigned anywhere cannot be deleted (409 routing_policy_assigned): unassign it first.

Assign a policy with PUT .../routing-policies/{id}/assignments and {"level": "project", "id": "prj_..."}, "member" with the member’s mem_ or usr_ id, or "key" with a key_ id; each project, member and key has at most one, and a new one replaces the old. A member’s policy applies to every key that member created. DELETE .../routing-policies/{id}/assignments/{level}/{target} unassigns it. Only owners and admins assign, so a member cannot lift a policy from their own key.

A key is under its organization’s policy, its project’s, its creator’s and its own, all at once. Every one must allow a model for the key to use it: a model one policy excludes stays out whatever another allows, the lowest price limit holds, the tightest fallback holds, and data.zdr, data.no_training and locked apply when any of the policies sets them. A refusal names the policy that refused. An assignment or a change that would leave a key with no model is refused with 400 tier_empty; ?dry_run=1 lists the keys it would change.

Beside each key’s spend limit and each member’s monthly quota, an organization can set a spend limit for all of its calls, and each named policy can carry one for every key under it. Both have a reset, as a key’s has: never (a budget for the life of the organization or the policy), daily, weekly (from Monday) or monthly, at 00:00 UTC. A policy’s limit counts the spend of the keys under it now, whichever level gave them the policy.

When a limit is reached, calls return 429 quota_exceeded, saying which limit and when it resets, with x-zabio-quota-scope set to key, member, policy or organization. Owners and admins read and set the organization’s limit with GET and PUT /admin/v1/orgs/{org}/spend-limit (spend_limit_micros, null to remove it, and spend_reset); both answers show what counts against it now. The organization’s limit applies as soon as it is set; a policy’s applies with the routing policies. Every change is written to the audit log.

Settings, Data & Privacy, owners and admins: the default retention for stored conversations and logged bodies, from 1 to 365 days (30 by default). A conversation can set its own retention when it is created. See Responses API and Privacy.

The Dashboard and Usage, Overview show spend, provider cost, savings, calls, tokens and latency for a period, by model, with a daily series; Usage, Overview also shows them by key and by member. Usage, Logs shows every call’s metadata (time, key, models, tokens, cost, outcome, latency) and can be exported as CSV. Usage is also available in the CLI with zabio usage.

Audit Log, owners and admins: the organization’s record of who did what, and when. It lists keys created, changed, rotated or revoked; members invited, removed or given another role or quota; projects, model access, routing policies (and where they are assigned), the organization’s spend limit and IP lists changed; credits added, cards saved and payments; vendor keys, webhooks, connected apps and exports; conversations deleted and logged bodies read; and what Zabio did on the organization, such as a suspension or a balance adjustment, shown as done by Zabio. Rows are grouped by day, newest first. Each row has how long ago it happened (the exact time in your time zone on hover), who did it, the kind and what was done in plain words, what it was done to and a one-line summary; click a row to see its fields, with ids you can copy. Members see that the log is for owners and admins.

Search the log, filter by kind, by person and by dates, and download the filtered rows as CSV (up to the newest 10,000; narrow the dates for older ones). The search looks at what a row shows: the person’s name and email, the action and its words in your language, what it was done to and the fields shown, never a hidden one; it works with the filters and the address of the page keeps them all. The API is GET /admin/v1/orgs/{org}/audit with q (the search, up to 200 characters; q_action, repeated, names actions that count as a match), action (repeat it, or give a prefix ending in a dot such as key.), actor (a person’s usr_ id), from and to (RFC 3339, to not included) and the cursor of the previous page. A search reads up to 5,000 rows per request; when it stops there, the answer’s search.stopped_at_bound is true and the cursor goes on to older rows. The organization’s data download in Settings holds the same rows.

A row carries the fields a customer may see for its kind and no more: never prompts, completions or secrets, no email address but a member’s own, and for Zabio’s own rows no internal notes and no name of the person at Zabio. Sign-ins are recorded for each person, not in an organization’s log (see Signing in). Rows are kept for the life of the organization.

Email and password (12 characters or more), Google, or a magic link sent by email. Email verification is required before an API key can be created or an organization created. Sessions can be listed and ended on My Profile, Security, which also lists your last 20 sign-ins: the time, how you signed in and whether the second step was used. Your account data download includes them. We keep a record of each sign-in to your account (when, how you signed in and whether you used the second step) for 90 days, then delete it. It goes sooner if you delete your account. The CLI signs in with a device code and receives a personal token (zbu_...) that you can list and revoke on My Profile, Access Tokens.