> ## 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.

# List Agents Groups

Lists the agent groups for the scanner. Requires SCAN MANAGER \[40] user permissions. See [Permissions](https://developer.tenable.com/docs/permissions).

<Note>
  External Documentation

  To learn more, visit the [Tenable documentation](https://developer.tenable.com/reference/agent-groups-list).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter  | Description                                      |
  | ---------- | ------------------------------------------------ |
  | Scanner ID | The ID of the scanner to query for agent groups. |
</div>

## Example Output

```json theme={"dark"}
{
	"value": {
		"groups": [
			{
				"agents_count": 0,
				"creation_date": 1544455100,
				"id": 106592,
				"last_modification_date": 1544455100,
				"name": "slibs",
				"owner": "system",
				"owner_id": 1,
				"owner_name": "system",
				"owner_uuid": "1bd703af-b2aa-4a82-ad8d-b883381a873f",
				"shared": 1,
				"timestamp": 1544455100,
				"user_permissions": 128,
				"uuid": "9bd87b50-7349-4a52-8a41-573b9a4b9bb6"
			}
		]
	}
}
```

## Workflow Library Example

[List Agents Groups with Tenable and Send Results Via Email](https://library.blinkops.com/workflows/list-agents-groups-with-tenable-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/list-agents-groups-with-tenable-and-send-results-via-email/canvas" />
</div>
