Built-in permission groups
Braintrust provides built-in permission groups for managing team access:- Owners: Full access to organization, data, and settings. Can invite/remove members, manage permissions, and delete resources. Permissions cascade to all projects.
- Engineers: Can create, read, update, and delete projects and resources. Cannot manage members or access controls. Permissions cascade to all projects
- Viewers: Read-only access to all projects and resources. Cannot create, update, or delete anything. Permissions cascade to all projects.
Starter plan includes the Owners group only. Pro and Enterprise plans include all built-in groups.
Create custom permission groups
Build groups with specific permissions: only available on the Enterprise plan.
- Go to Settings > Organization > Permission groups.
- Click Create permission group.
- Enter group name and description.
- Click Create.
Set organization permissions
Grant organization-level permissions to custom groups:- Find the group in the permission groups list.
- Click Permissions.
- Select organization-level permissions:
- Manage settings: Change organization configuration.
- Manage members: Invite users.
- Remove members: Remove users (organizations must have at least one member).
- Manage access: Grant and revoke permissions (super-user ability).
- Select permissions for all projects:
- Read: View all projects and their resources.
- Create: Create experiments, logs, datasets in all projects.
- Update: Modify existing resources in all projects.
- Delete: Remove resources from all projects.
- Manage access: Grant permissions on all projects.
- Click Save.
Set project permissions
Limit group access for a specific project, including object-level permissions:- Create a custom permission group.
- In your project, go to Settings > Project > Project permissions.
- Search for your group.
- Click the pencil icon next to the group.
- Select project permissions:
- Read: View project and its resources.
- Create: Create experiments, logs, datasets.
- Update: Modify existing resources.
- Delete: Remove resources.
- Manage access: Grant permissions on this project.
- Select object-level permissions for experiments, datasets, logs, prompts, and playgrounds:
- Create: Create the object.
- Read: View the object.
- Update: Modify the object.
- Delete: Remove the object.
- Manage access: Grant permissions on this object.
- Click Save.
Manage group membership
Add or remove users from permission groups:- Go to Settings > Organization > Permission groups.
- Find the group in the permission groups list.
- Click Members.
- To add: Search for users and click +.
- To remove: Click the x next to a user’s name.
Use service accounts
Service accounts provide credentials for system integrations:- Go to Settings > Organization > Service tokens.
- Click + Service token.
- Enter service account name.
- Assign permission groups or grant specific permissions.
- Click Create.
- Copy and save the auto-generated service token somewhere safe and accessible. For security reasons, you will not be able to view it again. If you lose the service token, you must create a new one.
- Use the token like an API key in SDK or API calls.
Only organization owners can create and manage service accounts.For hybrid deployments, you must configure a service token for the data plane to enable features like data retention. See Data plane manager for more details.
Programmatic access control
To automate the creation of permission groups and their access control rules, use the Braintrust API. See the API reference for groups and permissions.Next steps
- Manage organizations to invite members and assign groups
- Manage projects to configure project-level permissions
- Set up automations with service accounts
- API reference for programmatic access control