How policies inherit
Predict which policy of each type covers a workspace, member, or API key, work out what applies when several cover the same request, and override a default without loosening a workspace-wide policy.
Every API request is checked against four layers: your account’s privacy settings, plus three policy layers (workspace-wide, the member, and the API key). For each policy type, each policy layer uses the policy assigned to it, or else a default: the policy that applies when nothing more specific is assigned. Then all four apply, and the stricter rule wins.
Where each layer comes from
- Account privacy settings: set by org admins under Settings > Privacy, including Zero Data Retention per model group. They cover every workspace, member, and key, with no way to opt out.
- Workspace-wide: required policies for every member and API key in the workspace. One workspace-wide policy can cover any number of workspaces. A workspace uses the one assigned to it, or else the account’s default workspace-wide policy.
- Member: the policy assigned to the member in this workspace. Without one, the workspace’s default member & API key policy. A member’s policies also cover the API keys they created.
- API key: the policy assigned to the key. An organization API key without one follows the member who created it, and its spend counts toward their budget. A key with no creator, or whose creator left the organization, gets the workspace default.
Use a default when most of your team should follow the same policy, so you don’t assign it one by one, and so new workspaces, members, and keys are covered the moment they’re added. Defaults are optional; without one, only what you assign gets a policy of that type.
Each type resolves on its own, and each policy layer holds at most one policy of each type: a workspace has one workspace-wide budget, a member has one member budget, and a key has one key budget. So assigning someone a new budget policy replaces only their budget at that layer. Their model access and moderation policies stay as they were, whether assigned or inherited.
Check your understanding
Your workspace’s default member & API key policy allows only OpenAI models. A contractor joins the workspace tomorrow and creates an API key. Which models can that key call?
Every layer applies
Each column is a layer, and each row is a setting. A request has to satisfy every layer at once. When layers set different values for the same setting, the strictest value wins, and the winner can come from a different layer for each setting:
Each kind of setting combines its own way:
- Models and providers: only those every layer allows, minus any that a layer blocks.
- Zero Data Retention: enforced for a model group if any layer enforces it.
- Content filters: filters from every layer are combined, and block beats redact.
- Budgets: each one is checked on its own, and the first one used up blocks the request.
A request that a policy blocks gets a 403 error.
Override a default
To override a default for one workspace, member, or key, change it at the level where the default is set: workspace-wide defaults under Account > Guardrails, and member and key defaults on the workspace’s Assignments tab. You have two options:
- Assign a different policy, which replaces the default for that type.
- Remove the default, so that workspace, member, or key has no policy of that type at that level.
An override replaces the policy at its own layer only. Every other layer still applies, so a member or key policy can’t loosen a workspace-wide one.
Check your understanding
A workspace-wide budget policy caps each member and key in the workspace at $100/month, and the workspace default member budget is $50/month. You assign Alice her own $300/month budget policy. How much can she spend?
Apply it
Every workspace should block prompts that contain provider API keys, including workspaces created next quarter, except a security team sandbox where researchers test those prompts on purpose. How do you set that up?
Create a workspace-wide content moderation policy with the Secrets preset set to block, and make it the default. Every workspace gets it, including new ones.
Then remove the default from the sandbox workspace, or give the sandbox a different workspace-wide moderation policy.
Both steps need an org admin. For a requirement with no exceptions at all, like ZDR for a model group, use Settings > Privacy instead, where no workspace can opt out.
Takeaway
Every request meets four layers, and account privacy settings always apply. For each policy type, every policy layer uses its assigned policy or a default, and an organization key without one follows its creator. The strictest layer decides each setting, and an override replaces the policy at one layer only.
Try it live
OptionalPick a workspace and open its Guardrails page. On the Assignments tab, check which members and keys inherit the workspace defaults and which have their own policies.