Skip to main content
Role-based access control (RBAC) determines who can access your LangSmith organization and workspaces, and what they can do in each. Each user has: A user can also receive additional workspace roles through user groups. The user then holds the permissions of their assigned role and of each user group’s role in that workspace. Which roles you can assign depends on your plan:
  • Developer: Every user has the Organization Admin and Workspace Admin roles.
  • Plus: All organization roles are available. Every workspace member has the Workspace Admin role.
  • Enterprise: All organization and workspace roles are available, and you can create custom roles. To upgrade, contact our sales team.
To set up RBAC and assign roles, see the User Management guide. Your identity provider can also assign roles automatically through SCIM groups or SSO Groups Sync. For the permission each operation requires, see the Organization and workspace operations reference.

Organization roles

Organization roles control what a user can do across the organization, such as managing billing, members, and workspaces. They are separate from workspace roles, which control access to resources inside a workspace. Organization roles are system-defined and cannot be modified or extended.

Organization Admin

The Organization Admin role has full permissions to manage all organization configuration, users, billing, and workspaces. Key permissions: Key capabilities: For details on setting up and managing your organization, see the Administration overview.

Organization Operator

The Organization Operator role has management access for day-to-day operations, including workspace and user management, but cannot manage Organization Admins or create organization-wide service keys. Key permissions: Key capabilities:
  • Create and manage workspaces.
  • Invite organization members with any role except Organization Admin.
  • Modify and remove Organization Users, Viewers, and Operators.
  • View, deactivate, reactivate, and delete any member’s personal access tokens.
  • Assign workspace roles to members.
  • Create workspace-scoped service keys and service accounts.
  • Manage organization billing and subscription plans.
  • Create, edit, and delete custom roles.
  • Configure SSO and authentication methods.
  • View organization usage and analytics.
  • View audit logs (Enterprise).
Restrictions:
  • Cannot invite, modify, or remove Organization Admins.
  • Cannot assign the Organization Admin role to users.
  • Cannot create organization-wide (non-workspace-specific) service keys.
  • Is not automatically added to existing workspaces. An Organization Operator joins only the workspaces they create or are explicitly invited to.

Organization User

The Organization User role has read access to organization information and can create personal access tokens. Key permissions: Key capabilities:
  • View organization members and workspaces.
  • View organization settings.
  • Create personal access tokens for API access.
  • Join workspaces they are invited to.
Restrictions:
  • Cannot modify organization settings.
  • Cannot manage billing or subscriptions.
  • Cannot create or delete workspaces.
  • Cannot invite or remove organization members.
  • Cannot manage roles or permissions.
An Organization User can belong to a subset of workspaces, with a workspace role in each that sets their permissions there.

Organization Viewer

The Organization Viewer role has read-only access to organization information. Key permissions: Key capabilities:
  • View organization members and workspaces.
  • View organization settings.
Restrictions:
  • Cannot modify anything at the organization level.
  • Cannot create personal access tokens.
  • Cannot manage billing, workspaces, or members.

Organization Restricted

The Organization Restricted role grants access to assigned workspaces without organization-wide read access. Assign it to users who should work in their own workspaces without seeing other organization members or organization-level details. Key permissions: Key capabilities:
  • View organization metadata and role definitions.
  • Work in assigned workspaces, with permissions set by the workspace role in each.
Restrictions:
  • Does not include organization:read, so cannot list organization members or service keys.
  • Cannot be assigned through just-in-time (JIT) provisioning. New users created through JIT receive Organization User, and the SSO default role setting applies only to workspace roles.
Assign Organization Restricted the same way as any other organization role: through a member invite, a SCIM group, or an SSO Groups Sync group match. Workspace-scoped service keys can also hold this role. When creating or editing a service key scoped to Specific Workspaces, choose Organization Viewer (the default) or Organization Restricted. This choice does not change who can create or edit service keys.

Workspace roles

Workspace roles control what users and API keys can do with resources inside a workspace.
LangSmith also defines workspace roles for the keys LangSmith creates. These roles appear in role lists, such as the role selector for a service key, but are not meant for users.

Workspace Admin

The Workspace Admin role has full permissions for all resources in the workspace and can manage the workspace itself. Key permissions:
  • All create, read, update, delete, and share permissions for all resource types.
  • Workspace management, including workspaces:manage and workspaces:manage-members.

Workspace Editor

The Workspace Editor role has full permissions for most resources in the workspace, but cannot manage workspace settings or delete certain critical resources. Restrictions:
  • Cannot delete runs.
  • Cannot manage workspace settings, such as the workspace name.
  • Cannot manage workspace members (add, remove, or update member roles).

Workspace Viewer

The Workspace Viewer role has read-only access to all resources in the workspace. Key permissions:
  • Read-only access to all resource types.

Fleet roles

The Fleet roles grant access to Fleet without the broader access of the Workspace Editor or Workspace Admin role. Each role includes the permissions of the one above it in this table: Fleet Admin includes workspaces:manage, which also covers workspace settings outside Fleet. It does not include workspaces:manage-members. For what each Fleet permission allows, see Fleet access and oversight.

Workspace Member Only

The Workspace Member Only role makes a user a member of a workspace without granting any permissions. The user’s access in that workspace comes from the roles of their user groups.

Roles for keys that LangSmith creates

These workspace roles belong to API keys that LangSmith creates for its own features, such as deployments, Engine, and taskset runs. Their descriptions in the LangSmith UI start with (System). Do not assign these roles to users. You can assign Gateway Invoker to a service key that only calls the LLM Gateway. For details, see Grant permission to call the LLM gateway.

Custom roles

Creating custom roles is only available for organizations on the Enterprise plan.
Custom roles are workspace roles that you define. Organization Admins and Organization Operators can create custom roles with specific combinations of workspace-level permissions, then assign them alongside the built-in workspace roles.

Create a custom role

Custom roles are created at the organization level and can be assigned to users in any workspace within that organization. To create a custom role:
  1. Navigate to Organization Settings > Roles.
  2. Click Create Role.
  3. Enter a Role Name and, optionally, a Description.
  4. Under Permissions, select the permissions to include in the role.
  5. Click Create.
After you create the role, assign it to users in specific workspaces. For details on which specific permissions are required for each operation, refer to the Organization and workspace operations reference. Note the following details on custom roles:
  • Only Organization Admins and Organization Operators can create and manage custom roles.
  • Custom roles are organization-specific (not transferable between organizations).
  • Each custom role can have any combination of workspace-level permissions.
  • Custom roles cannot have organization-level permissions.
  • Users can have different roles (including custom roles) in different workspaces.

Understand permission behavior

Some permissions offer granular control when used in custom roles:
  • workspaces:manage does not include the ability to manage workspace members. To allow a custom role to add, remove, or update workspace members, you must explicitly grant workspaces:manage-members. The built-in Workspace Admin role includes both permissions automatically.
  • workspaces:manage-model-configs controls the ability to create, edit, or delete model configurations (including attaching OAuth client credentials) and to change which LangSmith features each model is available in. It is separate from workspaces:manage—grant it explicitly on custom roles that should be able to configure models. The built-in Workspace Admin role includes it automatically.
  • workspaces:manage-keys controls the ability to create and delete workspace API keys (service keys scoped to a workspace). It is separate from workspaces:manage—grant it explicitly on custom roles that should be able to manage API keys without full workspace management. To prevent privilege escalation, a key created by a user who does not have workspaces:manage cannot be granted more permissions than that user holds, and cannot be assigned a role the organization has marked restricted. The built-in Workspace Admin role includes it automatically.
  • bulk-exports:read and bulk-exports:manage cover the bulk export endpoints (listing, creating, cancelling exports, and managing destinations). Use them in a custom role to grant least-privilege bulk export access without workspaces:manage. The built-in Workspace Admin role includes bulk-exports:manage and all read-capable roles include bulk-exports:read automatically.
  • projects:increase-trace-tier and projects:decrease-trace-tier are independent and can be granted separately. For example, you can allow a role to decrease retention without allowing it to increase retention. If a user lacks both permissions, the retention settings UI is hidden entirely. If they have only one, the UI is partially enabled (the disallowed direction is disabled).
  • runs:read-inputs and runs:read-outputs control whether a role can see run inputs and outputs, and are separate from runs:read. A role with runs:read but without one of these permissions can still list and open runs, but responses leave out the denied field and its preview. Message and trajectory views require both permissions. To hide inputs or outputs only in specific projects, use an access policy.
  • projects:update covers only metadata updates (name, description, tags) and does not grant the ability to change trace retention. To allow a custom role to modify trace tier, you must explicitly grant projects:increase-trace-tier, projects:decrease-trace-tier, or both.

Restrict roles

Role restriction is available for organizations on the Enterprise plan.
Organization Admins and Organization Operators (roles with the organization:manage permission) can mark any role—system or custom—as restricted. Restricted roles can only be assigned to workspace members by users who hold the built-in Workspace Admin role. Users who have the workspaces:manage-members permission but do not hold the Workspace Admin role cannot assign restricted roles. This prevents privilege escalation: even if a user is authorized to manage workspace membership, they cannot grant roles that have been marked out of bounds for them. No roles are restricted by default. Organizations must explicitly restrict each role. To restrict a role, in the LangSmith UI:
  1. Navigate to Organization Settings > Roles.
  2. Find the role you want to restrict in the Roles table.
  3. Select the Restricted checkbox for that role.
After a role is restricted, users who do not hold the Workspace Admin role cannot see or assign it in the member invite, member edit, or API key creation flows. The API also rejects assignment attempts from callers who do not hold the Workspace Admin role. If a user who does not hold the Workspace Admin role creates an API key, they cannot use their own restricted role as the key’s default role. To unrestrict a role, follow the same steps and clear the Restricted checkbox.
Role restriction applies to both system roles, such as Workspace Admin, Workspace Editor, and Workspace Viewer, and custom roles. It is available on LangSmith Cloud and Self-hosted.

See also