> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Access Rule

Retrieve the access rule configuration details by its ID.

<Note>
  External Documentation

  To learn more, visit the [Opal Security documentation](https://docs.opal.dev/api-reference/access-rules/get-access-rules).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                         |
  | -------------- | --------------------------------------------------- |
  | Access Rule ID | The `access rule ID` (group ID) to get details for. |
</div>

## Example Output

```json theme={"dark"}
{
	"access_rule_id": "7c86c85d-0651-43e2-a748-d69d658418e8",
	"name": "Platform Engineering",
	"description": "This access rule represents all platform engineers in the company.",
	"admin_owner_id": "7c86c85d-0651-43e2-a748-d69d658418e8",
	"status": "ACTIVE",
	"ruleClauses": {
		"when": {
			"clauses": [
				{
					"selectors": [
						{
							"key": "<string>",
							"value": "<string>",
							"connection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
						}
					]
				}
			]
		},
		"unless": {
			"clauses": [
				{
					"selectors": [
						{
							"key": "<string>",
							"value": "<string>",
							"connection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
						}
					]
				}
			]
		}
	}
}
```

## Workflow Library Example

[Get Access Rule with Opal Security and Send Results Via Email](https://library.blinkops.com/workflows/get-access-rule-with-opal-security-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-access-rule-with-opal-security-and-send-results-via-email/canvas" />
</div>
