---
title: "Get all mute rules"
method: GET
path: "/api/v2/security/findings/automation/mute_rules"
tags: ["Security Monitoring"]
---

# Get all mute rules

`GET /api/v2/security/findings/automation/mute_rules`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/security/findings/automation/mute_rules`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Get all mute rules for the current organization.

## Query parameters

- `page[size]` integer
- `page[number]` integer

## Response `200`

Successfully retrieved the list of mute rules

- MuteRulesResponse: A list of mute rules with pagination metadata.
  - `data` MuteRuleDataResponse[], required: A list of mute rule data objects.
    - `attributes` MuteRuleAttributesResponse, required: Attributes of a mute rule returned by the API.
      - `action` MuteRuleAction, required: The action to take when the mute rule matches a finding.
        - `expire_at` integer: The Unix timestamp in milliseconds at which the mute expires. If omitted, the mute does not expire.
        - `reason` 'duplicate' | 'false_positive' | 'no_fix' | 'other' | 'pending_fix' | 'risk_accepted', required: The reason for muting a security finding.
        - `reason_description` string: An optional description providing more context for the mute reason.
      - `created_at` integer, required: The Unix timestamp in milliseconds when the rule was created.
      - `created_by` AutomationRuleCreatedBy, required: The user or Datadog system who created the rule.
        - `id` string, required: The actor's identifier (a user UUID or a system identifier).
        - `name` string, required: The name of the actor.
        - `type` 'user' | 'system', required: Whether the actor is a user or the Datadog system.
      - `enabled` boolean, required: Whether the mute rule is enabled.
      - `modified_at` integer, required: The Unix timestamp in milliseconds when the rule was last modified.
      - `modified_by` AutomationRuleModifiedBy, required: The user or Datadog system who last modified the rule.
        - `id` string, required: The actor's identifier (a user UUID or a system identifier).
        - `name` string, required: The name of the actor.
        - `type` 'user' | 'system', required: Whether the actor is a user or the Datadog system.
      - `name` string, required: The name of the mute rule.
      - `rule` AutomationRuleScope, required: Defines the scope of findings to which the automation rule applies.
        - `finding_types` SecurityFindingType[], required: The list of security finding types that the automation rule applies to.
        - `query` string: A search query to further filter the findings matched by this rule. The `@workflow.*` namespace and `@status` fields are not permitted. For a reference of available fields, see the [Security Findings schema documentation](https://docs.datadoghq.com/security/guide/findings-schema/).
    - `id` string, uuid, required: The ID of the mute rule.
    - `type` 'mute_rules', required: The JSON:API type for mute rules.
  - `links` SecurityAutomationRulesLinks, required: Pagination links for the list of automation rules.
    - `first` string, required: Link to the first page of results.
    - `last` string, required: Link to the last page of results.
    - `next` string: Link to the next page of results.
    - `prev` string: Link to the previous page of results.
  - `meta` SecurityAutomationRulesMeta, required: Metadata for the list of automation rules.
    - `page` SecurityAutomationRulesPageInfo, required: Pagination information for the list of automation rules.
      - `total_filtered_count` integer, required: The total number of rules matching the current filter.

## Other responses

- `403`: Forbidden
- `429`: Too many requests

---

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