Two independent role systems
Ragen AI has two role systems that operate completely independently. Confusing them is the most common way to misread what someone can or cannot do.Organization Role
Controls what you can do inside one organization. Stored as one row per person per organization. Granted by that organization’s owner or admin.
Platform Role
Controls access to the admin panel — a separate application. Applies across the entire installation. Granted by another platform administrator.
Organization roles
Your organization role determines what you can see and manage within a single organization.admin and owner have identical day-to-day permissions. The only difference is that only the owner can dispose of the organization itself — transfer it to another owner or delete it entirely.
Platform role
The platform role (admin or user) controls access to the admin panel — a separate application used for cross-organization management. Platform admins can view usage across every organization, manage disk ceilings, revoke API keys, and access the activity log. Having a platform role does not grant membership in any organization and does not allow reading another organization’s documents through the main application.
Document permissions
Within an organization, individual files and folders carry their own visibility rules. Permissions are set at creation time based on ownership, and can be extended through explicit sharing.
You can grant access at two levels:
- View — the document is included in retrieval results and the user can read its content
- Full access — the user can also edit, move, and delete the document
When a change reaches retrieval
The knowledge base list shows a sharing change at once. Retrieval follows a moment later. Each indexed passage stores who may read it, and a background job (syncDocumentAccess) rewrites that after every share, revoke or move, usually within seconds. Until the job runs, answers still use the previous access.
Upgrading from a release before this job existed? A share revoked then may still reach retrieval. Such a file is corrected the next time its sharing changes or it is re-indexed. No automatic sweep over older files exists yet.
API key scope
Each API key is bound to one organization, and to a scope chosen when the key is created: one assistant, or the whole knowledge base. The key cannot cross its organization boundary — cross-organization requests are always rejected — and within the organization the scope is a boundary too: a request that disagrees with it is refused with403 rather than obliged. The scope cannot be changed afterwards; issue a new key instead.
Inside its scope, a key reads with the document permissions of the person who created it — the same filter the web app applies to them — so an agent using a member’s key never sees a file that member cannot open. See Whose permissions a key carries.
Debug mode
Each API key has an optional debug mode toggle, off by default. When enabled, every API request made with that key automatically saves the full conversation — user message and assistant response — as a thread in the API threads tab of the bound project. Use debug mode while building and testing integrations to inspect exactly what the API received and responded without adding logging to your own code. Disable it once your integration is stable — debug mode saves every conversation to the database and increases storage usage over time.You can sign in with email and password, a magic link, or your company account over OpenID Connect. See Company sign-in. SAML, SCIM and MFA are not available yet; follow the roadmap.