Skip to content

Permission groups

List permission groups

List permission groups in an organization with cursor pagination. Requires organization Admin or owner access and active Access Control. Workspace API keys return `403`; use a personal API key or scoped OAuth token. OAuth scope: `api:read`.

GET/api/v2/organizations/{organizationId}/permission-groups

List permission groups in an organization with cursor pagination. Requires organization Admin or owner access and active Access Control. Workspace API keys return 403; use a personal API key or scoped OAuth token.

OAuth scope: api:read.

Authentication

Send a personal or workspace API key in X-API-Key. See key types and access; operations that reject workspace keys say so in their description.

Send X-API-Key in the request header.

Alternatively

Send a Sim OAuth access token in Authorization: Bearer. See OAuth authentication and scopes.

Authorization: Bearer YOUR_ACCESS_TOKEN

Required scopes: api:read

OAuth flows
json
{
  "authorizationCode": {
    "authorizationUrl": "https://www.sim.ai/api/auth/oauth2/authorize",
    "tokenUrl": "https://www.sim.ai/api/auth/oauth2/token",
    "refreshUrl": "https://www.sim.ai/api/auth/oauth2/token",
    "scopes": {
      "api:read": "Read your workspaces, workflows, files, tables, and logs",
      "api:write": "Read, create, change, run, and delete resources in your workspaces",
      "offline_access": "Stay signed in without asking again"
    }
  }
}

OAuth scope: api:read.

Path parameters

organizationIdstringRequired

Organization that owns the permission groups.

minLength
1

Query parameters

searchstring

Case-insensitive substring match against the group name.

minLength
1
maxLength
200
sortBystring

Field used to sort the result. Do not rely on case-insensitive ordering when sorting by name.

default
createdAt
enum
["name","createdAt","updatedAt"]
sortOrderstring

Sort direction.

default
desc
enum
["asc","desc"]
limitinteger

Maximum permission groups to return per page. Must be a whole number from 1 to 100. Defaults to 50.

default
50
minimum
1
maximum
100
cursorstring

Opaque cursor from the previous page. Send it back with the same sort and filters; only limit may change. Change anything else and pagination must restart without a cursor.

minLength
1

Responses

200

A page of permission groups with resolved settings.

object

A page of permission groups with resolved settings.

2 fields
dataarrayRequired

Items in the current page.

Schema details
Array itemobject

An organization permission group and its resolved settings for human callers. Workspace API keys use their workspace role and operation policy without a user permission group.

11 fields
idstringRequired

Permission group identifier.

organizationIdstringRequired

Organization that owns the group.

namestringRequired

Group name, unique within the organization.

descriptionvalueRequired

Optional description of the group.

Schema details

Any of

Option 1string
Option 2null
configobjectRequired

Resolved group settings. True disables a boolean capability; null allowlists permit every value and empty allowlists permit none. defaultAgentModel selects the default for new Agent blocks without restricting model selection.

45 fields
allowedIntegrationsvalueRequired

Integrations and blocks are limited to this list. Null permits every value; an empty list permits none.

Schema details

Any of

Option 1array
Schema details
Array itemstring
Option 2null
allowedModelProvidersvalueRequired

Model providers are limited to this list. Null permits every value; an empty list permits none.

Schema details

Any of

Option 1array
Schema details
Array itemstring
Option 2null
deniedModelsarrayRequired

Models listed in this list are blocked.

default
[]
Schema details
Array itemstring
deniedToolsarrayRequired

Integration tools listed in this list are blocked.

default
[]
Schema details
Array itemstring
hideTraceSpansbooleanRequired

Withhold per-block trace spans from logs and from the API.

hideKnowledgeBaseTabbooleanRequired

Revoke the Knowledge Base module. Members cannot open, search, or query any knowledge base.

hideTablesTabbooleanRequired

Revoke the Tables module. Members cannot read or write any table.

hideCopilotbooleanRequired

Revoke Chat. Members cannot ask Sim to build or edit anything.

hideIntegrationsTabbooleanRequired

Revoke integration connections. Members cannot view, add, or remove an OAuth connection.

hideSecretsTabbooleanRequired

Revoke secrets. Members cannot read, add, or change a workspace environment variable.

hideApiKeysTabbooleanRequired

Revoke workspace API keys. Members cannot list, create, or revoke one.

hideInboxTabbooleanRequired

Revoke the Sim Mailer inbox. Members cannot read or send mail.

hideFilesTabbooleanRequired

Revoke the Files module. Members cannot list, upload, or download workspace files.

disableMcpToolsbooleanRequired

Block agents from calling MCP tools.

disableCustomToolsbooleanRequired

Block agents from calling user-defined custom tools.

disableSkillsbooleanRequired

Block agents from loading skills.

disableInvitationsbooleanRequired

Prevent inviting anyone to a workspace or to the organization.

disablePublicApibooleanRequired

Revoke public API access. Calls to a deployed workflow are refused.

disablePublicFileSharingbooleanRequired

Revoke public file sharing. Members cannot create a share link.

allowedFileShareAuthTypesvalueRequired

Public file-share authentication is limited to this list. Null permits every value; an empty list permits none.

Schema details

Any of

Option 1array
Schema details
Array itemstring
enum
["public","password","email","sso"]
Option 2null
hideDeployApibooleanRequired

Prevent deploying a workflow as an API endpoint.

hideDeployMcpbooleanRequired

Prevent exposing a workflow as an MCP server.

hideDeployChatbotbooleanRequired

Prevent deploying a workflow as a chat.

allowedChatDeployAuthTypesvalueRequired

Chat deployment authentication is limited to this list. Null permits every value; an empty list permits none.

Schema details

Any of

Option 1array
Schema details
Array itemstring
enum
["public","password","email","sso"]
Option 2null
disablePersonalApiKeysbooleanRequired

Prevent members from using a personal API key against this workspace.

disableLogExportbooleanRequired

Prevent downloading execution logs as a CSV.

hideCostInfobooleanRequired

Withhold execution cost. Logs and member exports omit cost and token spend; organization-level data drains, configurable by org admins only, are not projected.

disableKnowledgeBaseCreationbooleanRequired

Prevent creating knowledge bases, leaving existing ones queryable.

disableKnowledgeBaseFileUploadbooleanRequired

Prevent uploading local documents, leaving sanctioned connectors as the only source.

allowedKnowledgeConnectorsvalueRequired

Knowledge base connectors are limited to this list. Null permits every value; an empty list permits none.

Schema details

Any of

Option 1array
Schema details
Array itemstring
Option 2null
disableTableCreationbooleanRequired

Prevent creating tables, leaving existing ones usable.

disableTableExportbooleanRequired

Prevent downloading a whole table as CSV or JSON.

disableBulkFileDownloadbooleanRequired

Prevent downloading folders as an archive.

disablePersonalCredentialsbooleanRequired

Prevent connecting personal credentials, leaving only workspace-shared ones.

disableWorkspaceCreationbooleanRequired

Prevent creating new workspaces, which no existing group would govern. Read from the organization's default group, because creating a workspace names none.

hideOrgMemberDirectorybooleanRequired

Withhold the member directory. Members cannot see the names or email addresses of other members. Read from the organization's default group, because the directory belongs to the organization and names no workspace.

disableCliAccessbooleanRequired

Prevent approving a CLI login or using Sim CLI OAuth tokens for the public API. A login naming one of this group's workspaces is refused; an account-level login names none, so it is read from the organization's default group.

disableWebhookTriggersbooleanRequired

Prevent making a workflow reachable from an inbound webhook.

disableToolAutoApprovalbooleanRequired

Prevent silencing a tool confirmation, so every call is confirmed again.

hideSandboxesTabbooleanRequired

Revoke the Sandboxes module. Members cannot view, create, or change a workspace sandbox.

disableOAuthAppAccessbooleanRequired

Prevent OAuth apps from accessing this group's workspaces. The organization's default group also governs authorizing apps and refreshing their access.

disableKnowledgeBaseExportbooleanRequired

Prevent downloading a whole knowledge base as an archive.

deniedPartialAccessProjectIssuesarrayRequired

Issues in the listed Projects are unavailable to teammates without access to every active environment.

default
[]
Schema details
Array itemstring
minLength
1
maxLength
255
defaultAgentModelvalueRequired

Default model for new Agent blocks. Null uses the platform default.

default
null
Schema details

Any of

Option 1string
minLength
1
Option 2null
deniedAccessRequestsarrayRequired

Access requests are unavailable for the listed canonical target keys when access is restricted.

default
[]
Schema details
Array itemstring
minLength
1
maxLength
1024

Additional properties are not allowed.

isDefaultbooleanRequired

Whether this is the organization fallback group. It governs a human caller with no applicable workspace-specific group; its own membership assignments do not limit its audience. Organization-level actions use the default group.

membershipModestringRequired

When no explicit assignments exist, an inherit group governs every member in its targeted workspaces. An empty explicit group, including a SCIM-managed group, governs nobody.

workspaceIdsarrayRequired

Workspaces governed by a non-default group. Empty for the default group.

Schema details
Array itemstring
createdBystringRequired

User who created the group.

createdAtstringRequired

When the group was created.

format
date-time
pattern
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
updatedAtstringRequired

When the group was last updated.

format
date-time
pattern
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

Additional properties are not allowed.

nextCursorvalueRequired

Opaque cursor for the next page. Send it back as cursor; null means there are no more pages. Do not construct a cursor yourself.

Schema details

Any of

Option 1string
Option 2null

Additional properties are not allowed.

Response example 1

json
{
  "data": [
    {
      "id": "group-123",
      "organizationId": "org-123",
      "name": "Restricted",
      "description": null,
      "config": {
        "allowedIntegrations": null,
        "allowedModelProviders": null,
        "deniedModels": [],
        "deniedTools": [],
        "hideTraceSpans": false,
        "hideKnowledgeBaseTab": false,
        "hideTablesTab": false,
        "hideCopilot": false,
        "hideIntegrationsTab": false,
        "hideSecretsTab": false,
        "hideApiKeysTab": false,
        "hideInboxTab": false,
        "hideFilesTab": false,
        "disableMcpTools": false,
        "disableCustomTools": false,
        "disableSkills": false,
        "disableInvitations": false,
        "disablePublicApi": false,
        "disablePublicFileSharing": false,
        "allowedFileShareAuthTypes": null,
        "hideDeployApi": false,
        "hideDeployMcp": false,
        "hideDeployChatbot": false,
        "allowedChatDeployAuthTypes": null,
        "disablePersonalApiKeys": false,
        "disableLogExport": false,
        "hideCostInfo": false,
        "disableKnowledgeBaseCreation": false,
        "disableKnowledgeBaseFileUpload": false,
        "allowedKnowledgeConnectors": null,
        "disableTableCreation": false,
        "disableTableExport": false,
        "disableBulkFileDownload": false,
        "disablePersonalCredentials": false,
        "disableWorkspaceCreation": false,
        "hideOrgMemberDirectory": false,
        "disableCliAccess": false,
        "disableWebhookTriggers": false,
        "disableToolAutoApproval": false,
        "hideSandboxesTab": false,
        "disableOAuthAppAccess": false,
        "disableKnowledgeBaseExport": false,
        "deniedPartialAccessProjectIssues": [],
        "defaultAgentModel": null,
        "deniedAccessRequests": []
      },
      "isDefault": false,
      "membershipMode": "inherit",
      "workspaceIds": [
        "workspace-123"
      ],
      "createdBy": "admin-123",
      "createdAt": "2026-06-01T09:00:00.000Z",
      "updatedAt": "2026-06-01T09:00:00.000Z"
    }
  ],
  "nextCursor": null
}

Response headers

X-RateLimit-Limitinteger

Maximum requests allowed in the current window.

minimum
0
maximum
9007199254740991
X-RateLimit-Remaininginteger

Requests remaining in the current window.

minimum
0
maximum
9007199254740991
X-RateLimit-Resetstring

ISO 8601 timestamp when the current rate-limit window resets.

format
date-time
pattern
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
Was this helpful?
Suggest an edit