> ## 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 In Group

List all agents in a given group.

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                         |
  | --------- | ------------------------------------------------------------------- |
  | Group ID  | The ID of the group. Can be obtained from the `List Groups` action. |
</div>

## Example Output

```json theme={"dark"}
{
	"error": "Success",
	"response": {
		"agents": {
			"agentid": "1378682a-3d2f-4f13-9839-e12c9d6fd126",
			"hostname": "DESKTOP-LAB001",
			"username": "johnsmith",
			"domain": "lab.local",
			"groupid": "a2d3b733-1261-4449-b91e-33f6fa59abbe",
			"lastcheckin": "2020-08-30T04:22:00Z",
			"ip": "1.2.3.4",
			"os": "Windows 10 x64",
			"status": "0",
			"freespace": "77",
			"clientversion": "3.1.0.0",
			"policyversion": "37.19"
		}
	}
}
```

## Workflow Library Example

[List Agents in Group with Airlock Digital and Send Results Via Email](https://library.blinkops.com/workflows/list-agents-in-group-with-airlock-digital-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-in-group-with-airlock-digital-and-send-results-via-email/canvas" />
</div>
