Organizations
Prism is multi-tenant. An API key resolves to one user and can carry one
organization ID. Facade currently applies the key’s organization model, rate,
budget, and balance policy before sending a request to a model provider.
Policy layers
Request admission evaluates:
- API-key authentication
- owner credit and trial state
- rate limit
- trial scope and model policy
- available balance
- organization budget
- API-key scope, model allowlist, and organization model override
- credit reservation
This order means a valid key can still receive 402, 403, or 429 as policy,
balance, and organization state change.
Keys and people
Use a distinct key for each service or employee integration. This gives
administrators a narrow revocation boundary and preserves useful attribution.
Do not share one secret across an entire organization.
When a person leaves, revoke their credential immediately. Current
self-service offboarding does not automatically invalidate an existing key.
Never give the same raw secret to a replacement.
Self-service offboarding does not revoke a credential automatically. Revoke the
departing person’s key before removing access elsewhere, and create a new secret
for any replacement.
อ่านภาษาไทย