Platform reference
Security & tenancy
Governance is enforced by the runtime, not requested of the model. This page is the control set: identity, tenancy, policy, budgets, audit, and how data is handled.
Identity and RBAC#
- Sign in with email and password, Google or GitHub. Sessions and API keys are both principals.
- Three roles:
viewer(read),operator(run, approve, schedule),admin(workspace, identity, policy, budgets). A platform admin is an admin with no organization scope. - API keys carry a role and an expiry, can be revoked, and record last use. They are shown in full once, at creation.
- Deny-by-default tool allowlists per agent, enforced by the runtime’s permission layer regardless of what a prompt says.
Organizations and tenancy#
All data — agents, executions, memory, knowledge, usage — is scoped to an organization. Chat conversations are additionally private to the user who created them: ownership is checked on every read, and there is no fallback to a shared proxy key when NEXORA_REQUIRE_AUTH is set.
Tenant security policy#
Admins set the policy in Settings (API /api/v1/security/policy):
| Control | Effect |
|---|---|
| IP allowlist | Requests from outside the listed CIDRs are rejected for this tenant's principals. |
| Maximum key lifetime | New keys cannot be issued with a longer expiry; existing keys past the limit stop working. |
| Data retention | Conversations, flagged turns and other retained data older than the window are removed by a scheduled sweeper. |
Budgets#
Each organization can carry a spend cap. Every model call is metered against it; when the cap is reached the runtime refuses further model calls with HTTP 402 until an admin raises or clears it. Budgets and the ledger persist through the state store.
Guardrails and approvals as controls#
- Input limits and blocked patterns on what reaches an agent; PII redaction on the way in and out.
- Tool budgets per run.
- Human approval gates on sensitive tools — the run parks, the operator sees the exact arguments, and the decision and note are recorded.
- A grounding verifier in the chat loop flags answers that are not supported by the evidence retrieved, and keeps a log of flagged turns for review.
Audit and webhooks#
Who launched, paused, approved, rejected or changed what is written to the audit trail (/api/v1/audit) and published on the event bus. Webhook channels fan events out to your SIEM or ticketing with retries.
Data handling#
- Attachments: images and PDFs go to the model as native content blocks; binary payloads are stripped from persisted history and replaced with a placeholder, so stored conversations stay small and are not re-sent each turn.
- Provider keys are stored in the organization vault and reported to clients only as “configured”.
- Content the agent fetches from the open web is fenced as data, never as instructions.
- Nexora Code sends your prompt, the attached selection and diagnostics to the runtime you configured — your own deployment if you self-host — and nothing to any other host.
Self-hosting