---
title: "Monitors group search"
method: GET
path: "/api/v1/monitor/groups/search"
tags: ["Monitors"]
---

# Monitors group search

`GET /api/v1/monitor/groups/search`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v1/monitor/groups/search`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `monitors_read`

Search and filter your monitor groups details.

## Query parameters

- `query` string
- `page` integer
- `per_page` integer
- `sort` string

## Response `200`

OK

- MonitorGroupSearchResponse: The response of a monitor group search.
  - `counts` MonitorGroupSearchResponseCounts: The counts of monitor groups per different criteria.
    - `status` MonitorSearchCountItem[]: Search facets.
      - `count` integer: The number of found monitors with the listed value.
      - `name` unknown
    - `type` MonitorSearchCountItem[]: Search facets.
      - `count` integer: The number of found monitors with the listed value.
      - `name` unknown
  - `groups` MonitorGroupSearchResult[]: The list of found monitor groups.
    - `group` string: The name of the group.
    - `group_tags` string[]: The list of tags of the monitor group.
    - `last_nodata_ts` integer: Latest timestamp the monitor group was in NO_DATA state.
    - `last_triggered_ts` integer, nullable: Latest timestamp the monitor group triggered.
    - `monitor_id` integer: The ID of the monitor.
    - `monitor_name` string: The name of the monitor.
    - `status` 'Alert' | 'Ignored' | 'No Data' | 'OK' | 'Skipped' | 'Unknown' | 'Warn': The different states your monitor can be in.
  - `metadata` MonitorSearchResponseMetadata: Metadata about the response.
    - `page` integer: The page to start paginating from.
    - `page_count` integer: The number of pages.
    - `per_page` integer: The number of monitors to return per page.
    - `total_count` integer: The total number of monitors.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v1-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/revisions/ca5871004d26?raw)
