---
title: "Get a role."
method: GET
path: "/v1/roles/{id}"
tags: ["roleManagement"]
---

# Get a role.

`GET /v1/roles/{id}`

Get a role with the given identifier in the organization.

## Path parameters

- `id` string, required

## Response `200`

Role object that was requested.

- RoleModel
  - `name` string, required — Name of the role.
  - `description` string — Description of the role.
  - `filterPredicate` string — A search filter to restrict access to specific logs. The filter is silently added to the beginning of each query a user runs. For example, using '!_sourceCategory=billing' as a filter predicate will prevent users assigned to the role from viewing logs from the source category named 'billing'.
  - `users` string[] — List of user identifiers to assign the role to.
  - `capabilities` string[] — List of [capabilities](https://help.sumologic.com/docs/manage/users-roles/roles/role-capabilities/) associated with this role. Valid values are ### Data Management - viewCollectors - manageCollectors - manageBudgets - manageDataVolumeFeed - viewFieldExtraction - manageFieldExtractionRules - manageS3DataForwarding - manageContent - manageApps - dataVolumeIndex - manageConnections - viewScheduledViews - manageScheduledViews - viewPartitions - managePartitions - viewFields - manageFields - viewAccountOverview - manageTokens - downloadSearchResults - manageIndexes - manageDataStreams - viewParsers - viewDataStreams - viewPipelines - managePipelines ### Entity management - manageEntityTypeConfig ### Metrics - metricsTransformation - metricsExtraction - metricsRules ### Security - managePasswordPolicy - ipAllowlisting - ipWhitelisting - createAccessKeys - manageAccessKeys - manageSupportAccountAccess - manageAuditDataFeed - manageSaml - shareDashboardOutsideOrg - manageOrgSettings - changeDataAccessLevel ### Dashboards - shareDashboardWorld - shareDashboardAllowlist - shareDashboardWhitelist ### UserManagement - manageUsersAndRoles ### Observability - searchAuditIndex - auditEventIndex ### Cloud SIEM Enterprise - viewCse - cseViewAutomations - cseManageContextActions - cseViewNetworkBlocks - cseManageInsightTags - cseViewRules - cseViewThreatIntelligence - cseCommentOnInsights - cseViewEntityGroups - cseManageEntityConfiguration - cseManageNetworkBlocks - cseManageMatchLists - cseViewCustomInsights - cseManageActions - cseManageAutomations - cseManageMappings - cseManageThreatIntelligence - cseViewActions - cseCreateInsights - cseManageTagSchemas - cseInvokeInsights - cseManageCustomEntityType - cseViewTagSchemas - cseDeleteInsights - cseManageCustomInsights - cseViewFileAnalysis - cseManageFileAnalysis - cseManageEntityCriticality - cseViewEntityCriticality - cseViewEntity - cseManageCustomInsightStatuses - cseViewContextActions - cseViewMappings - cseViewCustomEntityType - cseManageEntityGroups - cseViewCustomInsightStatuses - cseViewEnrichments - cseManageInsightSignals - cseManageRules - cseManageArtifacts - cseViewMatchLists - cseManageInsightPolicy - cseManageEnrichments - cseViewEntityConfiguration - cseManageEntity - cseExecuteAutomations - cseManageSuppressedEntities - cseManageInsightStatus - cseManageInsightAssignee - cseManageFavoriteFields - cseViewSuppressedEntities ### Alerting - viewMonitorsV2 - manageMonitorsV2 - viewAlerts - viewMutingSchedules - manageMutingSchedules - adminMonitorsV2 ### SLO - viewSlos - manageSlos ### CloudSoar - cloudSoarPlaybooksAccess - cloudSoarNotificationConfigure - cloudSoarReportAll - cloudSoarIncidentTriageAccess - cloudSoarIncidentTaskView - cloudSoarIncidentChangeOwnership - cloudSoarIncidentNotesEdit - cloudSoarAPIEmailEdit - cloudSoarIncidentTemplatesAccess - cloudSoarIncidentPlaybooksManage - cloudSoarGeneralConfigure - cloudSoarEntitiesAccess - cloudSoarEntitiesBulkPhysicalDelete - cloudSoarIncidentAttachmentsAccess - cloudSoarAppCentralAccess - cloudSoarBridgeMonitoringAccess - viewCloudSoar - cloudSoarIncidentView - cloudSoarObservabilityAccess - cloudSoarAPIEmailRead - cloudSoarAppCentralExport - cloudSoarWidgetsAll - cloudSoarIncidentTaskReassign - cloudSoarIntegrationsAccess - cloudSoarCustomizationIncidentLabels - cloudSoarAutomationRulesConfigure - cloudSoarIncidentTaskAccessAll - cloudSoarAuditAndInformationConfigureAuditTrail - cloudSoarIncidentTriageEdit - cloudSoarIncidentEdit - cloudSoarNotificationTriage - cloudSoarIncidentTriageBulkPhysicalDelete - cloudSoarIncidentNotesAccess - cloudSoarAPIUse - cloudSoarIncidentPlaybooksEdit - cloudSoarDashboardAll - cloudSoarEntitiesManage - cloudSoarIncidentTemplatesConfigure - cloudSoarIncidentTriageAccessAll - cloudSoarPlaybooksConfigure - cloudSoarIncidentAccessAll - cloudSoarCustomizationLogo - cloudSoarIncidentTaskAccess - cloudSoarIncidentTriageView - cloudSoarIntegrationsConfigure - cloudSoarIncidentManageInvestigators - cloudSoarIncidentAccess - cloudSoarAuditAndInformationLicenseInformation - cloudSoarIncidentBulkOperations - cloudSoarCustomizationFields - cloudSoarIncidentTaskEdit - cloudSoarDashboardAccess - cloudSoarIncidentAttachmentsEdit - cloudSoarIncidentFoldersEdit - cloudSoarUserManagementGroups - cloudSoarIncidentPlaybooksAccess - cloudSoarIncidentWarRoomUse - cloudSoarReportAccess - cloudSoarAuditAndInformationAuditTrail - cloudSoarAutomationRulesAccess - cloudSoarIncidentTriageChangeOwnership - cloudSoarObservabilityManagement
  - `autofillDependencies` boolean — Set this to true if you want to automatically append all missing capability requirements. If set to false an error will be thrown if any capabilities are missing their dependencies.
  - `createdAt` string, date-time, required — Creation timestamp in UTC in [RFC3339](https://tools.ietf.org/html/rfc3339) format.
  - `createdBy` string, required — Identifier of the user who created the resource.
  - `modifiedAt` string, date-time, required — Last modification timestamp in UTC.
  - `modifiedBy` string, required — Identifier of the user who last modified the resource.
  - `id` string, required — Unique identifier for the role.
  - `systemDefined` boolean — Role is system or user defined.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/versions/18a824df1e78/schema)
