MongoDB Alerts API

Returns and acknowledges alerts that MongoDB Cloud triggers based on the alert conditions that you define. This collection remains under revision and may change.

OpenAPI Specification

mongodb-alerts-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  description: "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.\n\nThe Atlas Administration API supports OAuth2 Service Accounts and HTTP Digest-based API keys. Service accounts are the recommended authentication method and API keys are considered a legacy option.\n\nTo authenticate with a Service Account, first exchange its client ID and secret for an access token using the OAuth 2.0 Client Credentials flow. Atlas provides a token endpoint at `POST https://cloud.mongodb.com/api/oauth/token`, which returns a Bearer token that is reusable and valid for 1 hour (3600 seconds).\n\nFor example, to [return a list of your organizations](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listorgs) with [cURL](https://en.wikipedia.org/wiki/CURL), first generate an access token and then use that token to call the same Atlas Administration API endpoint shown in the current example:\n\n```\nACCESS_TOKEN=$(curl -fsS --request POST https://cloud.mongodb.com/api/oauth/token \\\n  --header \"Authorization: Basic $(printf '%s' \"${CLIENT_ID}:${CLIENT_SECRET}\" | base64 | tr -d '\\n')\" \\\n  --header \"Content-Type: application/x-www-form-urlencoded\" \\\n  --header \"Accept: application/json\" \\\n  --data \"grant_type=client_credentials\" | jq -r '.access_token')\n\ncurl --header \"Authorization: Bearer ${ACCESS_TOKEN}\" \\\n  --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n  -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true\"\n```\n\nIf your organization requires an IP access list for the Atlas Administration API, the token can be created from any IP address, but the API call that uses the token must originate from an allowed IP.\n\nTo learn more, see [Get Started with the Atlas Administration API](https://www.mongodb.com/docs/atlas/configure-api-access/). For support, see [MongoDB Support](https://www.mongodb.com/support/get-started).\n\nYou can also explore the various endpoints available through the Atlas Administration API in MongoDB's [Postman workspace](https://www.postman.com/mongodb-devrel/workspace/mongodb-atlas-administration-apis/) (requires a Postman account)."
  license:
    name: CC BY-NC-SA 3.0 US
    url: https://creativecommons.org/licenses/by-nc-sa/3.0/us/
  termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
  title: MongoDB Atlas Administration Access Tracking Alerts API
  version: '2.0'
  x-xgen-sha: 3d70e065843c008b9871ea7836c98c9de6f202f9
servers:
- url: https://cloud.mongodb.com
security:
- ServiceAccounts: []
- DigestAuth: []
tags:
- description: Returns and acknowledges alerts that MongoDB Cloud triggers based on the alert conditions that you define. This collection remains under revision and may change.
  name: Alerts
paths:
  /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts:
    get:
      description: 'Returns all open alerts that the specified alert configuration triggers. These alert configurations apply to the specified project only. Alert configurations define the triggers and notification methods for alerts. Open alerts have been triggered but remain unacknowledged. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Use the Return All Alert Configurations for One Project endpoint to retrieve all alert configurations to which the authenticated user has access.


        This resource remains under revision and may change.'
      externalDocs:
        description: Return All Alert Configurations for One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations
      operationId: getGroupAlertConfigAlerts
      parameters:
      - $ref: '#/components/parameters/envelope'
      - $ref: '#/components/parameters/groupId'
      - $ref: '#/components/parameters/includeCount'
      - $ref: '#/components/parameters/itemsPerPage'
      - $ref: '#/components/parameters/pageNum'
      - $ref: '#/components/parameters/pretty'
      - description: Unique 24-hexadecimal digit string that identifies the alert configuration.
        in: path
        name: alertConfigId
        required: true
        schema:
          example: 32b6e34b3d91647abb20e7b8
          pattern: ^([a-f0-9]{24})$
          type: string
      responses:
        '200':
          content:
            application/vnd.atlas.2023-01-01+json:
              schema:
                $ref: '#/components/schemas/PaginatedAlertView'
              x-xgen-version: '2023-01-01'
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/HeaderRateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/HeaderRateLimitRemaining'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/notFound'
        '429':
          $ref: '#/components/responses/tooManyRequests'
        '500':
          $ref: '#/components/responses/internalServerError'
      summary: Return All Open Alerts for One Alert Configuration
      tags:
      - Alerts
      x-codeSamples:
      - lang: cURL
        label: Atlas CLI
        source: atlas api alerts getAlertConfigAlerts --help
      - lang: go
        label: Go
        source: "import (\n\t\"os\"\n\t\"context\"\n\t\"log\"\n\tsdk \"go.mongodb.org/atlas-sdk/v20250312001/admin\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tclientID := os.Getenv(\"MONGODB_ATLAS_CLIENT_ID\")\n\tclientSecret := os.Getenv(\"MONGODB_ATLAS_CLIENT_SECRET\")\n\n\t// See https://dochub.mongodb.org/core/atlas-go-sdk-oauth\n\tclient, err := sdk.NewClient(sdk.UseOAuthAuth(clientID, clientSecret))\n\n\tif err != nil {\n\t\tlog.Fatalf(\"Error: %v\", err)\n\t}\n\n\tparams = &sdk.GetGroupAlertConfigAlertsApiParams{}\n\tsdkResp, httpResp, err := client.AlertsApi.\n\t\tGetGroupAlertConfigAlertsWithParams(ctx, params).\n\t\tExecute()\n}\n"
      - lang: cURL
        label: curl (Service Accounts)
        source: "curl --include --header \"Authorization: Bearer ${ACCESS_TOKEN}\" \\\n  --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n  -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\""
      - lang: cURL
        label: curl (Digest)
        source: "curl --user \"${PUBLIC_KEY}:${PRIVATE_KEY}\" \\\n  --digest --include \\\n  --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n  -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\""
      x-rolesRequirements:
      - Project Read Only
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getGroupAlertConfigAlerts
      x-xgen-operation-id-override: getAlertConfigAlerts
  /api/atlas/v2/groups/{groupId}/alerts:
    get:
      description: 'Returns all alerts. These alerts apply to all components in one project. You receive an alert when a monitored component meets or exceeds a value you set. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.


        This resource remains under revision and may change.'
      operationId: listGroupAlerts
      parameters:
      - $ref: '#/components/parameters/envelope'
      - $ref: '#/components/parameters/groupId'
      - $ref: '#/components/parameters/includeCount'
      - $ref: '#/components/parameters/itemsPerPage'
      - $ref: '#/components/parameters/pageNum'
      - $ref: '#/components/parameters/pretty'
      - description: Status of the alerts to return. Omit this parameter to return all alerts in all statuses. TRACKING indicates the alert condition exists but has not persisted for the minimum notification delay. OPEN indicates the alert condition currently exists. CLOSED indicates the alert condition has been resolved.
        in: query
        name: status
        schema:
          enum:
          - OPEN
          - TRACKING
          - CLOSED
          type: string
      responses:
        '200':
          content:
            application/vnd.atlas.2023-01-01+json:
              schema:
                $ref: '#/components/schemas/PaginatedAlertView'
              x-xgen-version: '2023-01-01'
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/HeaderRateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/HeaderRateLimitRemaining'
        '400':
          $ref: '#/components/responses/badRequest'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/notFound'
        '429':
          $ref: '#/components/responses/tooManyRequests'
        '500':
          $ref: '#/components/responses/internalServerError'
      summary: Return All Alerts from One Project
      tags:
      - Alerts
      x-codeSamples:
      - lang: cURL
        label: Atlas CLI
        source: atlas api alerts listAlerts --help
      - lang: go
        label: Go
        source: "import (\n\t\"os\"\n\t\"context\"\n\t\"log\"\n\tsdk \"go.mongodb.org/atlas-sdk/v20250312001/admin\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tclientID := os.Getenv(\"MONGODB_ATLAS_CLIENT_ID\")\n\tclientSecret := os.Getenv(\"MONGODB_ATLAS_CLIENT_SECRET\")\n\n\t// See https://dochub.mongodb.org/core/atlas-go-sdk-oauth\n\tclient, err := sdk.NewClient(sdk.UseOAuthAuth(clientID, clientSecret))\n\n\tif err != nil {\n\t\tlog.Fatalf(\"Error: %v\", err)\n\t}\n\n\tparams = &sdk.ListGroupAlertsApiParams{}\n\tsdkResp, httpResp, err := client.AlertsApi.\n\t\tListGroupAlertsWithParams(ctx, params).\n\t\tExecute()\n}\n"
      - lang: cURL
        label: curl (Service Accounts)
        source: "curl --include --header \"Authorization: Bearer ${ACCESS_TOKEN}\" \\\n  --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n  -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true\""
      - lang: cURL
        label: curl (Digest)
        source: "curl --user \"${PUBLIC_KEY}:${PRIVATE_KEY}\" \\\n  --digest --include \\\n  --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n  -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true\""
      x-rolesRequirements:
      - Project Read Only
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listGroupAlerts
      x-xgen-operation-id-override: listAlerts
  /api/atlas/v2/groups/{groupId}/alerts/{alertId}:
    get:
      description: 'Returns one alert. This alert applies to any component in one project. You receive an alert when a monitored component meets or exceeds a value you set. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Use the Return All Alerts from One Project endpoint to retrieve all alerts to which the authenticated user has access.


        This resource remains under revision and may change.'
      externalDocs:
        description: Return All Alerts from One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts
      operationId: getGroupAlert
      parameters:
      - $ref: '#/components/parameters/envelope'
      - $ref: '#/components/parameters/groupId'
      - $ref: '#/components/parameters/pretty'
      - description: Unique 24-hexadecimal digit string that identifies the alert.
        in: path
        name: alertId
        required: true
        schema:
          pattern: ^([a-f0-9]{24})$
          type: string
      responses:
        '200':
          content:
            application/vnd.atlas.2023-01-01+json:
              schema:
                $ref: '#/components/schemas/AlertViewForNdsGroup'
              x-xgen-version: '2023-01-01'
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/HeaderRateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/HeaderRateLimitRemaining'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/notFound'
        '429':
          $ref: '#/components/responses/tooManyRequests'
        '500':
          $ref: '#/components/responses/internalServerError'
      summary: Return One Alert from One Project
      tags:
      - Alerts
      x-codeSamples:
      - lang: cURL
        label: Atlas CLI
        source: atlas api alerts getAlert --help
      - lang: go
        label: Go
        source: "import (\n\t\"os\"\n\t\"context\"\n\t\"log\"\n\tsdk \"go.mongodb.org/atlas-sdk/v20250312001/admin\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tclientID := os.Getenv(\"MONGODB_ATLAS_CLIENT_ID\")\n\tclientSecret := os.Getenv(\"MONGODB_ATLAS_CLIENT_SECRET\")\n\n\t// See https://dochub.mongodb.org/core/atlas-go-sdk-oauth\n\tclient, err := sdk.NewClient(sdk.UseOAuthAuth(clientID, clientSecret))\n\n\tif err != nil {\n\t\tlog.Fatalf(\"Error: %v\", err)\n\t}\n\n\tparams = &sdk.GetGroupAlertApiParams{}\n\tsdkResp, httpResp, err := client.AlertsApi.\n\t\tGetGroupAlertWithParams(ctx, params).\n\t\tExecute()\n}\n"
      - lang: cURL
        label: curl (Service Accounts)
        source: "curl --include --header \"Authorization: Bearer ${ACCESS_TOKEN}\" \\\n  --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n  -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\""
      - lang: cURL
        label: curl (Digest)
        source: "curl --user \"${PUBLIC_KEY}:${PRIVATE_KEY}\" \\\n  --digest --include \\\n  --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n  -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\""
      x-rolesRequirements:
      - Project Read Only
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getGroupAlert
      x-xgen-operation-id-override: getAlert
    patch:
      description: 'Confirms receipt of one existing alert. This alert applies to any component in one project. Acknowledging an alert prevents successive notifications. You receive an alert when a monitored component meets or exceeds a value you set until you acknowledge the alert. To use this resource, the requesting Service Account or API Key must have the Project Alerts Manager, Project Monitoring Admin, Organization Owner, or Project Owner role. Use the Return All Alerts from One Project endpoint to retrieve all alerts to which the authenticated user has access.


        This resource remains under revision and may change. Deprecated versions: v2-{2023-01-01}'
      externalDocs:
        description: Return All Alerts from One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts
      operationId: acknowledgeGroupAlert
      parameters:
      - $ref: '#/components/parameters/envelope'
      - $ref: '#/components/parameters/groupId'
      - $ref: '#/components/parameters/pretty'
      - description: Unique 24-hexadecimal digit string that identifies the alert.
        in: path
        name: alertId
        required: true
        schema:
          pattern: ^([a-f0-9]{24})$
          type: string
      requestBody:
        content:
          application/vnd.atlas.2024-05-30+json:
            schema:
              $ref: '#/components/schemas/AcknowledgeAlert'
        description: Acknowledges or unacknowledges one alert.
        required: true
      responses:
        '200':
          content:
            application/vnd.atlas.2024-05-30+json:
              schema:
                $ref: '#/components/schemas/AlertViewForNdsGroup'
              x-xgen-version: '2024-05-30'
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/HeaderRateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/HeaderRateLimitRemaining'
        '400':
          $ref: '#/components/responses/badRequest'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/forbidden'
        '404':
          $ref: '#/components/responses/notFound'
        '429':
          $ref: '#/components/responses/tooManyRequests'
        '500':
          $ref: '#/components/responses/internalServerError'
      summary: Acknowledge One Alert from One Project
      tags:
      - Alerts
      x-codeSamples:
      - lang: cURL
        label: Atlas CLI
        source: atlas api alerts acknowledgeAlert --help
      - lang: go
        label: Go
        source: "import (\n\t\"os\"\n\t\"context\"\n\t\"log\"\n\tsdk \"go.mongodb.org/atlas-sdk/v20250312001/admin\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tclientID := os.Getenv(\"MONGODB_ATLAS_CLIENT_ID\")\n\tclientSecret := os.Getenv(\"MONGODB_ATLAS_CLIENT_SECRET\")\n\n\t// See https://dochub.mongodb.org/core/atlas-go-sdk-oauth\n\tclient, err := sdk.NewClient(sdk.UseOAuthAuth(clientID, clientSecret))\n\n\tif err != nil {\n\t\tlog.Fatalf(\"Error: %v\", err)\n\t}\n\n\tparams = &sdk.AcknowledgeGroupAlertApiParams{}\n\tsdkResp, httpResp, err := client.AlertsApi.\n\t\tAcknowledgeGroupAlertWithParams(ctx, params).\n\t\tExecute()\n}\n"
      - lang: cURL
        label: curl (Service Accounts)
        source: "curl --include --header \"Authorization: Bearer ${ACCESS_TOKEN}\" \\\n  --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n  --header \"Content-Type: application/json\" \\\n  -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}\" \\\n  -d '{ <Payload> }'"
      - lang: cURL
        label: curl (Digest)
        source: "curl --user \"${PUBLIC_KEY}:${PRIVATE_KEY}\" \\\n  --digest --include \\\n  --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n  --header \"Content-Type: application/json\" \\\n  -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}\" \\\n  -d '{ <Payload> }'"
      x-rolesRequirements:
      - Project Alerts Manager
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/acknowledgeGroupAlert
      x-xgen-method-verb-override:
        customMethod: true
        verb: acknowledge
      x-xgen-operation-id-override: acknowledgeAlert
components:
  schemas:
    HostMetricAlert:
      description: Host Metric Alert notifies about changes of measurements or metrics for mongod host.
      discriminator:
        mapping:
          ASSERT_MSG: '#/components/schemas/RawMetricAlertView'
          ASSERT_REGULAR: '#/components/schemas/RawMetricAlertView'
          ASSERT_USER: '#/components/schemas/RawMetricAlertView'
          ASSERT_WARNING: '#/components/schemas/RawMetricAlertView'
          AVG_COMMAND_EXECUTION_TIME: '#/components/schemas/TimeMetricAlertView'
          AVG_READ_EXECUTION_TIME: '#/components/schemas/TimeMetricAlertView'
          AVG_WRITE_EXECUTION_TIME: '#/components/schemas/TimeMetricAlertView'
          BACKGROUND_FLUSH_AVG: '#/components/schemas/TimeMetricAlertView'
          CACHE_BYTES_READ_INTO: '#/components/schemas/DataMetricAlertView'
          CACHE_BYTES_WRITTEN_FROM: '#/components/schemas/DataMetricAlertView'
          CACHE_USAGE_DIRTY: '#/components/schemas/DataMetricAlertView'
          CACHE_USAGE_USED: '#/components/schemas/DataMetricAlertView'
          COMPUTED_MEMORY: '#/components/schemas/DataMetricAlertView'
          CONNECTIONS: '#/components/schemas/RawMetricAlertView'
          CONNECTIONS_MAX: '#/components/schemas/RawMetricAlertView'
          CONNECTIONS_PERCENT: '#/components/schemas/RawMetricAlertView'
          CURSORS_TOTAL_CLIENT_CURSORS_SIZE: '#/components/schemas/RawMetricAlertView'
          CURSORS_TOTAL_OPEN: '#/components/schemas/RawMetricAlertView'
          CURSORS_TOTAL_TIMED_OUT: '#/components/schemas/RawMetricAlertView'
          DB_DATA_SIZE_TOTAL: '#/components/schemas/DataMetricAlertView'
          DB_DATA_SIZE_TOTAL_WO_SYSTEM: '#/components/schemas/DataMetricAlertView'
          DB_INDEX_SIZE_TOTAL: '#/components/schemas/DataMetricAlertView'
          DB_STORAGE_TOTAL: '#/components/schemas/DataMetricAlertView'
          DISK_PARTITION_QUEUE_DEPTH_DATA: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_QUEUE_DEPTH_INDEX: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_QUEUE_DEPTH_JOURNAL: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_READ_IOPS_DATA: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_READ_IOPS_INDEX: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_READ_IOPS_JOURNAL: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_READ_LATENCY_DATA: '#/components/schemas/TimeMetricAlertView'
          DISK_PARTITION_READ_LATENCY_INDEX: '#/components/schemas/TimeMetricAlertView'
          DISK_PARTITION_READ_LATENCY_JOURNAL: '#/components/schemas/TimeMetricAlertView'
          DISK_PARTITION_SPACE_USED_DATA: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_SPACE_USED_INDEX: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_SPACE_USED_JOURNAL: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_UTILIZATION_DATA: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_UTILIZATION_INDEX: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_UTILIZATION_JOURNAL: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_WRITE_IOPS_DATA: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_WRITE_IOPS_INDEX: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_WRITE_IOPS_JOURNAL: '#/components/schemas/RawMetricAlertView'
          DISK_PARTITION_WRITE_LATENCY_DATA: '#/components/schemas/TimeMetricAlertView'
          DISK_PARTITION_WRITE_LATENCY_INDEX: '#/components/schemas/TimeMetricAlertView'
          DISK_PARTITION_WRITE_LATENCY_JOURNAL: '#/components/schemas/TimeMetricAlertView'
          DOCUMENT_DELETED: '#/components/schemas/RawMetricAlertView'
          DOCUMENT_INSERTED: '#/components/schemas/RawMetricAlertView'
          DOCUMENT_RETURNED: '#/components/schemas/RawMetricAlertView'
          DOCUMENT_UPDATED: '#/components/schemas/RawMetricAlertView'
          EXTRA_INFO_PAGE_FAULTS: '#/components/schemas/RawMetricAlertView'
          FTS_DISK_UTILIZATION: '#/components/schemas/DataMetricAlertView'
          FTS_JVM_CURRENT_MEMORY: '#/components/schemas/DataMetricAlertView'
          FTS_JVM_MAX_MEMORY: '#/components/schemas/DataMetricAlertView'
          FTS_MEMORY_MAPPED: '#/components/schemas/DataMetricAlertView'
          FTS_MEMORY_RESIDENT: '#/components/schemas/DataMetricAlertView'
          FTS_MEMORY_VIRTUAL: '#/components/schemas/DataMetricAlertView'
          FTS_PROCESS_CPU_KERNEL: '#/components/schemas/RawMetricAlertView'
          FTS_PROCESS_CPU_USER: '#/components/schemas/RawMetricAlertView'
          GLOBAL_ACCESSES_NOT_IN_MEMORY: '#/components/schemas/RawMetricAlertView'
          GLOBAL_LOCK_CURRENT_QUEUE_READERS: '#/components/schemas/RawMetricAlertView'
          GLOBAL_LOCK_CURRENT_QUEUE_TOTAL: '#/components/schemas/RawMetricAlertView'
          GLOBAL_LOCK_CURRENT_QUEUE_WRITERS: '#/components/schemas/RawMetricAlertView'
          GLOBAL_LOCK_PERCENTAGE: '#/components/schemas/RawMetricAlertView'
          GLOBAL_PAGE_FAULT_EXCEPTIONS_THROWN: '#/components/schemas/RawMetricAlertView'
          INDEX_COUNTERS_BTREE_ACCESSES: '#/components/schemas/RawMetricAlertView'
          INDEX_COUNTERS_BTREE_HITS: '#/components/schemas/RawMetricAlertView'
          INDEX_COUNTERS_BTREE_MISSES: '#/components/schemas/RawMetricAlertView'
          INDEX_COUNTERS_BTREE_MISS_RATIO: '#/components/schemas/RawMetricAlertView'
          JOURNALING_COMMITS_IN_WRITE_LOCK: '#/components/schemas/RawMetricAlertView'
          JOURNALING_MB: '#/components/schemas/DataMetricAlertView'
          JOURNALING_WRITE_DATA_FILES_MB: '#/components/schemas/DataMetricAlertView'
          LOGICAL_SIZE: '#/components/schemas/DataMetricAlertView'
          MAX_DISK_PARTITION_QUEUE_DEPTH_DATA: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_QUEUE_DEPTH_INDEX: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_QUEUE_DEPTH_JOURNAL: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_READ_IOPS_DATA: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_READ_IOPS_INDEX: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_READ_IOPS_JOURNAL: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_READ_LATENCY_DATA: '#/components/schemas/TimeMetricAlertView'
          MAX_DISK_PARTITION_READ_LATENCY_INDEX: '#/components/schemas/TimeMetricAlertView'
          MAX_DISK_PARTITION_READ_LATENCY_JOURNAL: '#/components/schemas/TimeMetricAlertView'
          MAX_DISK_PARTITION_SPACE_USED_DATA: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_SPACE_USED_INDEX: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_SPACE_USED_JOURNAL: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_UTILIZATION_DATA: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_UTILIZATION_INDEX: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_UTILIZATION_JOURNAL: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_WRITE_IOPS_DATA: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_WRITE_IOPS_INDEX: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_WRITE_IOPS_JOURNAL: '#/components/schemas/RawMetricAlertView'
          MAX_DISK_PARTITION_WRITE_LATENCY_DATA: '#/components/schemas/TimeMetricAlertView'
          MAX_DISK_PARTITION_WRITE_LATENCY_INDEX: '#/components/schemas/TimeMetricAlertView'
          MAX_DISK_PARTITION_WRITE_LATENCY_JOURNAL: '#/components/schemas/TimeMetricAlertView'
          MAX_NORMALIZED_SYSTEM_CPU_STEAL: '#/components/schemas/RawMetricAlertView'
          MAX_NORMALIZED_SYSTEM_CPU_USER: '#/components/schemas/RawMetricAlertView'
          MAX_SWAP_USAGE_FREE: '#/components/schemas/DataMetricAlertView'
          MAX_SWAP_USAGE_USED: '#/components/schemas/DataMetricAlertView'
          MAX_SYSTEM_MEMORY_AVAILABLE: '#/components/schemas/DataMetricAlertView'
          MAX_SYSTEM_MEMORY_PERCENT_USED: '#/components/schemas/RawMetricAlertView'
          MAX_SYSTEM_MEMORY_USED: '#/components/schemas/DataMetricAlertView'
          MAX_SYSTEM_NETWORK_IN: '#/components/schemas/DataMetricAlertView'
          MAX_SYSTEM_NETWORK_OUT: '#/components/schemas/DataMetricAlertView'
          MEMORY_MAPPED: '#/components/schemas/DataMetricAlertView'
          MEMORY_RESIDENT: '#/components/schemas/DataMetricAlertView'
          MEMORY_VIRTUAL: '#/components/schemas/DataMetricAlertView'
          MUNIN_CPU_IOWAIT: '#/components/schemas/RawMetricAlertView'
          MUNIN_CPU_IRQ: '#/components/schemas/RawMetricAlertView'
          MUNIN_CPU_NICE: '#/components/schemas/RawMetricAlertView'
          MUNIN_CPU_SOFTIRQ: '#/components/schemas/RawMetricAlertView'
          MUNIN_CPU_STEAL: '#/components/schemas/RawMetricAlertView'
          MUNIN_CPU_SYSTEM: '#/components/schemas/RawMetricAlertView'
          MUNIN_CPU_USER: '#/components/schemas/RawMetricAlertView'
          NETWORK_BYTES_IN: '#/components/schemas/DataMetricAlertView'
          NETWORK_BYTES_OUT: '#/components/schemas/DataMetricAlertView'
          NETWORK_NUM_REQUESTS: '#/components/schemas/RawMetricAlertView'
          NORMALIZED_FTS_PROCESS_CPU_KERNEL: '#/components/schemas/RawMetricAlertView'
          NORMALIZED_FTS_PROCESS_CPU_USER: '#/components/schemas/RawMetricAlertView'
          NORMALIZED_SYSTEM_CPU_STEAL: '#/components/schemas/RawMetricAlertView'
          NORMALIZED_SYSTEM_CPU_USER: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_CMD: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_DELETE: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_GETMORE: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_INSERT: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_QUERY: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_REPL_CMD: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_REPL_DELETE: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_REPL_INSERT: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_REPL_UPDATE: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_TTL_DELETED: '#/components/schemas/RawMetricAlertView'
          OPCOUNTER_UPDATE: '#/components/schemas/RawMetricAlertView'
          OPERATIONS_QUERIES_KILLED: '#/components/schemas/RawMetricAlertView'
          OPERATIONS_SCAN_AND_ORDER: '#/components/schemas/RawMetricAlertView'
          OPERATION_THROTTLING_REJECTED_OPERATIONS: '#/components/schemas/RawMetricAlertView'
          OPLOG_MASTER_LAG_TIME_DIFF: '#/components/schemas/TimeMetricAlertView'
          OPLOG_MASTER_TIME: '#/components/schemas/TimeMetricAlertView'
          OPLOG_MASTER_TIME_ESTIMATED_TTL: '#/components/schemas/TimeMetricAlertView'
          OPLOG_RATE_GB_PER_HOUR: '#/components/schemas/DataMetricAlertView'
          OPLOG_REPLICATION_LAG_TIME: '#/components/schemas/TimeMetricAlertView'
          OPLOG_SLAVE_LAG_MASTER_TIME: '#/components/schemas/TimeMetricAlertView'
          QUERY_EXECUTOR_SCANNED: '#/components/schemas/RawMetricAlertView'
          QUERY_EXECUTOR_SCANNED_OBJECTS: '#/components/schemas/RawMetricAlertView'
          QUERY_SPILL_TO_DISK_DURING_SORT: '#/components/schemas/RawMetricAlertView'
          QUERY_TARGETING_SCANNED_OBJECTS_PER_RETURNED: '#/components/schemas/RawMetricAlertView'
          QUERY_TARGETING_SCANNED_PER_RETURNED: '#/components/schemas/RawMetricAlertView'
          RESTARTS_IN_LAST_HOUR: '#/components/schemas/RawMetricAlertView'
          SEARCH_INDEX_SIZE: '#/components/schemas/DataMetricAlertView'
          SEARCH_MAX_FIELDS_INDEXED: '#/components/schemas/RawMetricAlertView'
          SEARCH_MAX_NGRAM_FIELDS_INDEXED: '#/components/schemas/RawMetricAlertView'
          SEARCH_MAX_NUMBER_OF_LUCENE_DOCS: '#/components/schemas/NumberMetricAlertView'
          SEARCH_NUMBER_OF_FIELDS_IN_INDEX: '#/components/schemas/RawMetricAlertView'
          SEARCH_NUMBER_OF_QUERIES_ERROR: '#/components/schemas/RawMetricAlertView'
          SEARCH_NUMBER_OF_QUERIES_SUCCESS: '#/components/schemas/RawMetricAlertView'
          SEARCH_NUMBER_OF_QUERIES_TOTAL: '#/components/schemas/RawMetricAlertView'
          SEARCH_OPCOUNTER_DELETE: '#/components/schemas/RawMetricAlertView'
          SEARCH_OPCOUNTER_GETMORE: '#/components/schemas/RawMetricAlertView'
          SEARCH_OPCOUNTER_INSERT: '#/components/schemas/RawMetricAlertView'
          SEARCH_OPCOUNTER_UPDATE: '#/components/schemas/RawMetricAlertView'
          SEARCH_PROCESS_THROTTLING: '#/components/schemas/RawMetricAlertView'
          SEARCH_REPLICATION_LAG: '#/components/schemas/TimeMetricAlertView'
          SWAP_USAGE_FREE: '#/components/schemas/DataMetricAlertView'
          SWAP_USAGE_USED: '#/components/schemas/DataMetricAlertView'
          SYSTEM_MEMORY_AVAILABLE: '#/components/schemas/DataMetricAlertView'
          SYSTEM_MEMORY_PERCENT_USED: '#/components/schemas/RawMetricAlertView'
          SYSTEM_MEMORY_USED: '#/components/schemas/DataMetricAlertView'
          SYSTEM_NETWORK_IN: '#/components/schemas/DataMetricAlertView'
          SYSTEM_NETWORK_OUT: '#/components/schemas/DataMetricAlertView'
          TICKETS_AVAILABLE_READS: '#/components/schemas/RawMetricAlertView'
          TICKETS_AVAILABLE_WRITES: '#/components/schemas/RawMetricAlertView'
        propertyName: metricName
      properties:
        acknowledgedUntil:
          description: 'Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.


            - To acknowledge this alert forever, set the parameter value to 100 years in the future.


         

# --- truncated at 32 KB (95 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/mongodb/refs/heads/main/openapi/mongodb-alerts-api-openapi.yml