- Admin overview
- Access and permissions
Roles and permissions (RBAC)
Roles and permissions (RBAC)
Mistral uses role-based access control (RBAC) to govern what members can do. Roles are predefined and apply at two scopes: the Organization and each Workspace.
How roles work
- Two scopes. Organization roles control account-wide administration; Workspace roles control access within a single Workspace. They are independent. A user can be a Member of the Organization and a Workspace admin of one Workspace.
- Multiple roles. A user can hold several roles in the same Organization or Workspace. Permissions are additive: the user gets the union of everything their roles grant.
- Default Workspace role. New Workspace members get Workspace contributor by default, regardless of their Organization role. Even an Organization admin or billing manager starts as a Workspace contributor until you change it.
- Where to assign. Assign roles in the Admin Panel (a multi-select per member). On Enterprise plans, you can also assign them with the Admin API using role_names. See Manage users and Manage groups and roles.
Organization roles
Use the role_names field in the Admin API to assign Organization roles by name.
UI label | API Role name | What it grants |
|---|---|---|
| Member | member | Product usage. Manages their own profile and preferences. |
| Billing | billing_manager | Subscriptions, invoices, payment methods, and usage reports. Cannot change Organization settings or invite members. |
| Admin | organization_admin | Full control of the Organization: settings, members, security, billing, and audit logs. |
Workspace roles
Use the role_names field in the Admin API to assign Workspace roles by name.
UI label | API Role name | What it grants |
|---|---|---|
| User | user | Access to Vibe and its features. No Studio access. |
| Developer | dev | Access to Studio and all its primitives (agents, fine-tuning, etc.). No Vibe access. |
| Mistral Vibe Code User | mistral_code_user | Access to Mistral Code (requires a seat). |
| Workspace Contributor | workspace_contributor | All product features (user, dev, and mistral_code_user combined), including offline evaluations. No management, administration, traces, or live evaluations. |
| Admin | workspace_admin | Everything a Workspace Contributor has, plus Workspace administration, traces, and live evaluations. |
| Observability Viewer | observability_viewer | Everything a Developer has, plus traces and live evaluations. |
GET /v1/admin/roles returns the authoritative list of roles and their UUIDs. Assign roles by name with role_names, or by UUID with roles.
Roles apply to non-human principals too. A service account holds the workflow_executor Workspace role so its worker can register and run workflows, and can additionally be granted the Developer role from the Admin Console.
Assign roles
In the Admin Panel
1.
Open Admin Panel › Administration › Members.2.
Select a member.3.
Choose one or more roles from the role selector. Changes apply immediately.
With the Admin API (Enterprise plans only)
Set Organization roles when creating or updating a user, and Workspace roles when adding members to a Workspace. You can also assign roles to an entire user group.
# Organization role
curl -X PATCH https://api.mistral.ai/v1/admin/users/<USER_UUID> \
-H "Content-Type: application/json" -H "x-api-key: $ADMIN_API_KEY" \
-d '{"role_names": ["member"]}'
# Workspace role
curl -X PATCH https://api.mistral.ai/v1/admin/workspaces/<WORKSPACE_UUID>/users \
-H "Content-Type: application/json" -H "x-api-key: $ADMIN_API_KEY" \
-d '{"members": [{"user_uuid": "<USER_UUID>", "role_names": ["workspace_admin"]}]}'