Routing guarantees
Provider secrets are encrypted at rest and never returned to clients.
Policy scope can be global or workspace-specific, with workspace overrides inheriting from global defaults when unset.
How model access, provider policy, platform keys, and user-managed credentials interact in connected runtime.
Connected API runtime with provider credential secret configured.
Workspace principal with relevant credentials and provider permissions.
Resolve workspace policy for providers, mode, and model-tag constraints.
Validate request body including model, messages, and stream options.
Route via platform key or decrypted BYOK credential depending on policy.
Enforce quota checks for platform-managed requests.
Persist usage completion metadata and quota snapshots.
Provider secrets are encrypted at rest and never returned to clients.
Policy scope can be global or workspace-specific, with workspace overrides inheriting from global defaults when unset.
Completion metadata is logged for activity, security, and domain streams, so operators can investigate request behavior without reading raw prompt payloads.
Usage snapshots are used by dashboard and admin surfaces for quota and billing diagnostics.