---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers"
tags: ["Watcher"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Retrieve a list of watchers.

## Path parameters

- `resourceGroupName` string, required
- `automationAccountName` string, required
- `subscriptionId` string, required

## Query parameters

- `$filter` string
- `api-version` string, required

## Response `200`

OK

- WatcherListResult: The response model for the list watcher operation.
  - `value` Watcher[]: Gets or sets a list of watchers.
    - `id` string: Fully qualified resource Id for the resource
    - `name` string: The name of the resource
    - `type` string: The type of the resource.
    - `tags` object: Resource tags.
    - `location` string: The Azure Region where the resource lives
    - `properties` WatcherProperties: Definition of the watcher properties
      - `executionFrequencyInSeconds` integer: Gets or sets the frequency at which the watcher is invoked.
      - `scriptName` string: Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing runbook.
      - `scriptParameters` object: Gets or sets the parameters of the script.
      - `scriptRunOn` string: Gets or sets the name of the hybrid worker group the watcher will run on.
      - `status` string: Gets the current status of the watcher.
      - `creationTime` string, date-time: Gets or sets the creation time.
      - `lastModifiedTime` string, date-time: Gets or sets the last modified time.
      - `lastModifiedBy` string: Details of the user who last modified the watcher.
      - `description` string: Gets or sets the description.
    - `etag` string: Gets or sets the etag of the resource.
  - `nextLink` string: Gets or sets the next link.

## Other responses

- `default`: Automation error response describing why the operation failed.

## Changes

- **2019-05-07** (2015-10-31) `95a1f22aee0d`: 4 breaking
  - added the new path request parameter `automationAccountName`
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
- **2018-06-22** (2015-10-31) `e8a382e94b9b`: 1 warning
  - deleted the `path` request parameter `automationAccountName`

[Operation history](https://skmtc.dev/azure/apis/automationmanagement-23/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Automation/automationAccounts/:automationAccountName/watchers/get.md)

---

[API](https://skmtc.dev/azure/apis/automationmanagement-23.md) - [All operations](https://skmtc.dev/azure/apis/automationmanagement-23/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/automationmanagement-23/revisions/95a1f22aee0d?raw)
