Retrieve a paged list of Action Sets for the specified organization. See Using Global API Keys for more information on permission and scope requirements.
Successful Operation
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Too many requests
Service Unavailable
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = "https://console.automox.com/api/orgs/{orgID}/remediations/action-sets?limit=25&page=0&sort=updated_at:desc&status:not_in[]=error&groupBy=configuration_id&groupSort=latest_updated_at:desc&configuration_id:is_set=true&include_all_runs:equals=true" $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers -ContentType "application/json").Content
{- "summary": "Action sets list example",
- "description": "Example response for retrieving multiple action sets with pagination metadata and vulnerability statistics",
- "value": {
- "metadata": {
- "total_pages": 3,
- "current_page": 0,
- "limit": 30,
- "total_count": 50
}, - "data": [
- {
- "id": 17194,
- "statistics": {
- "issues": {
- "unknown-host": {
- "count": 78
}
}, - "solutions": {
- "patch-now": {
- "count": 1,
- "device_count": 1,
- "vulnerability_count": 1
}, - "patch-with-worklet": {
- "count": 96,
- "device_count": 1,
- "vulnerability_count": 4
}
}
}, - "configuration_id": "1ee24da5-654d-6464-bb90-4b1496b4b3a0",
- "organization_id": 1191100,
- "status": "ready",
- "source": {
- "name": "AVR Testing Config",
- "type": "Rapid7"
}, - "created_by_user": {
- "id": 901250,
- "firstname": "Jane",
- "lastname": "Doe",
- "email": "janedoe@web.com"
}, - "created_at": "2023-07-27T10:00:53+0000",
- "updated_at": "2023-07-27T10:02:52+0000"
}
]
}
}