MongoDB Events API

Returns events. This collection remains under revision and may change.

OpenAPI Specification

mongodb-events-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 Events API
  version: '2.0'
  x-xgen-sha: 3d70e065843c008b9871ea7836c98c9de6f202f9
servers:
- url: https://cloud.mongodb.com
security:
- ServiceAccounts: []
- DigestAuth: []
tags:
- description: Returns events. This collection remains under revision and may change.
  name: Events
paths:
  /api/atlas/v2/eventTypes:
    get:
      description: Returns a list of all event types, along with a description and additional metadata about each event.
      operationId: listEventTypes
      parameters:
      - $ref: '#/components/parameters/envelope'
      - $ref: '#/components/parameters/includeCount'
      - $ref: '#/components/parameters/itemsPerPage'
      - $ref: '#/components/parameters/pageNum'
      - $ref: '#/components/parameters/pretty'
      responses:
        '200':
          content:
            application/vnd.atlas.2023-01-01+json:
              schema:
                $ref: '#/components/schemas/PaginatedEventTypeDetailsResponse'
              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'
        '429':
          $ref: '#/components/responses/tooManyRequests'
        '500':
          $ref: '#/components/responses/internalServerError'
      summary: Return All Event Types
      tags:
      - Events
      x-codeSamples:
      - lang: cURL
        label: Atlas CLI
        source: atlas api events listEventTypes --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.ListEventTypesApiParams{}\n\tsdkResp, httpResp, err := client.EventsApi.\n\t\tListEventTypesWithParams(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/eventTypes?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/eventTypes?pretty=true\""
      x-rolesRequirements:
      - Organization Member
      - Project Read Only
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listEventTypes
  /api/atlas/v2/groups/{groupId}/events:
    get:
      description: 'Returns events for the specified project. Events identify significant database, billing, or security activities or status changes. 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: listGroupEvents
      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: Human-readable label that identifies the cluster.
        in: query
        name: clusterNames
        schema:
          items:
            pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$
            type: string
          type: array
        style: form
      - description: 'Category of incident recorded at this moment in time.


          **IMPORTANT**: The complete list of event type values changes frequently.'
        in: query
        name: eventType
        schema:
          items:
            $ref: '#/components/schemas/EventTypeForNdsGroup'
          type: array
      - description: 'Category of event that you would like to exclude from query results, such as `CLUSTER_CREATED`.


          **IMPORTANT**: Event type names change frequently. Verify that you specify the event type correctly by checking the complete list of event types.'
        in: query
        name: excludedEventType
        schema:
          items:
            $ref: '#/components/schemas/EventTypeForNdsGroup'
          type: array
      - description: Flag that indicates whether to include the raw document in the output. The raw document contains additional meta information about the event.
        in: query
        name: includeRaw
        schema:
          default: false
          type: boolean
      - description: Date and time from when MongoDB Cloud stops returning events. This parameter uses the ISO 8601 timestamp format in UTC.
        in: query
        name: maxDate
        schema:
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
          format: date-time
          type: string
      - description: Date and time from when MongoDB Cloud starts returning events. This parameter uses the ISO 8601 timestamp format in UTC.
        in: query
        name: minDate
        schema:
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/vnd.atlas.2023-01-01+json:
              schema:
                $ref: '#/components/schemas/GroupPaginatedEventView'
              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 Events from One Project
      tags:
      - Events
      x-codeSamples:
      - lang: cURL
        label: Atlas CLI
        source: atlas api events listGroupEvents --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.ListGroupEventsApiParams{}\n\tsdkResp, httpResp, err := client.EventsApi.\n\t\tListGroupEventsWithParams(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}/events?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}/events?pretty=true\""
      x-rolesRequirements:
      - Project Read Only
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listGroupEvents
  /api/atlas/v2/groups/{groupId}/events/{eventId}:
    get:
      description: 'Returns one event for the specified project. Events identify significant database, billing, or security activities or status changes. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Use the Return Events from One Project endpoint to retrieve all events to which the authenticated user has access.


        This resource remains under revision and may change.'
      externalDocs:
        description: Return Events from One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents
      operationId: getGroupEvent
      parameters:
      - $ref: '#/components/parameters/envelope'
      - $ref: '#/components/parameters/groupId'
      - $ref: '#/components/parameters/pretty'
      - description: Unique 24-hexadecimal digit string that identifies the event that you want to return.
        in: path
        name: eventId
        required: true
        schema:
          pattern: ^([a-f0-9]{24})$
          type: string
      - description: Flag that indicates whether to include the raw document in the output. The raw document contains additional meta information about the event.
        in: query
        name: includeRaw
        schema:
          default: false
          type: boolean
      responses:
        '200':
          content:
            application/vnd.atlas.2023-01-01+json:
              schema:
                $ref: '#/components/schemas/EventViewForNdsGroup'
              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 Event from One Project
      tags:
      - Events
      x-codeSamples:
      - lang: cURL
        label: Atlas CLI
        source: atlas api events getGroupEvent --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.GetGroupEventApiParams{}\n\tsdkResp, httpResp, err := client.EventsApi.\n\t\tGetGroupEventWithParams(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}/events/{eventId}?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}/events/{eventId}?pretty=true\""
      x-rolesRequirements:
      - Project Read Only
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getGroupEvent
  /api/atlas/v2/orgs/{orgId}/events:
    get:
      description: 'Returns events for the specified organization. Events identify significant database, billing, or security activities or status changes. To use this resource, the requesting Service Account or API Key must have the Organization Member role.


        This resource remains under revision and may change.'
      operationId: listOrgEvents
      parameters:
      - $ref: '#/components/parameters/envelope'
      - $ref: '#/components/parameters/includeCount'
      - $ref: '#/components/parameters/itemsPerPage'
      - $ref: '#/components/parameters/orgId'
      - $ref: '#/components/parameters/pageNum'
      - $ref: '#/components/parameters/pretty'
      - description: 'Category of incident recorded at this moment in time.


          **IMPORTANT**: The complete list of event type values changes frequently.'
        in: query
        name: eventType
        schema:
          items:
            $ref: '#/components/schemas/EventTypeForOrg'
          type: array
      - description: Flag that indicates whether to include the raw document in the output. The raw document contains additional meta information about the event.
        in: query
        name: includeRaw
        schema:
          default: false
          type: boolean
      - description: Date and time from when MongoDB Cloud stops returning events. This parameter uses the ISO 8601 timestamp format in UTC.
        in: query
        name: maxDate
        schema:
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
          format: date-time
          type: string
      - description: Date and time from when MongoDB Cloud starts returning events. This parameter uses the ISO 8601 timestamp format in UTC.
        in: query
        name: minDate
        schema:
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/vnd.atlas.2023-01-01+json:
              schema:
                $ref: '#/components/schemas/OrgPaginatedEventView'
              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 Events from One Organization
      tags:
      - Events
      x-codeSamples:
      - lang: cURL
        label: Atlas CLI
        source: atlas api events listOrgEvents --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.ListOrgEventsApiParams{}\n\tsdkResp, httpResp, err := client.EventsApi.\n\t\tListOrgEventsWithParams(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/orgs/{orgId}/events?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/orgs/{orgId}/events?pretty=true\""
      x-rolesRequirements:
      - Organization Member
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrgEvents
  /api/atlas/v2/orgs/{orgId}/events/{eventId}:
    get:
      description: 'Returns one event for the specified organization. Events identify significant database, billing, or security activities or status changes. To use this resource, the requesting Service Account or API Key must have the Organization Member role. Use the Return Events from One Organization endpoint to retrieve all events to which the authenticated user has access.


        This resource remains under revision and may change.'
      externalDocs:
        description: Return Events from One Organization
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents
      operationId: getOrgEvent
      parameters:
      - $ref: '#/components/parameters/envelope'
      - $ref: '#/components/parameters/orgId'
      - $ref: '#/components/parameters/pretty'
      - description: Unique 24-hexadecimal digit string that identifies the event that you want to return.
        in: path
        name: eventId
        required: true
        schema:
          pattern: ^([a-f0-9]{24})$
          type: string
      - description: Flag that indicates whether to include the raw document in the output. The raw document contains additional meta information about the event.
        in: query
        name: includeRaw
        schema:
          default: false
          type: boolean
      responses:
        '200':
          content:
            application/vnd.atlas.2023-01-01+json:
              schema:
                $ref: '#/components/schemas/EventViewForOrg'
              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 Event from One Organization
      tags:
      - Events
      x-codeSamples:
      - lang: cURL
        label: Atlas CLI
        source: atlas api events getOrgEvent --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.GetOrgEventApiParams{}\n\tsdkResp, httpResp, err := client.EventsApi.\n\t\tGetOrgEventWithParams(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/orgs/{orgId}/events/{eventId}?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/orgs/{orgId}/events/{eventId}?pretty=true\""
      x-rolesRequirements:
      - Organization Member
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getOrgEvent
components:
  schemas:
    HostMetricEvent:
      description: Host Metric Event reflects different measurements and metrics about mongod host.
      discriminator:
        mapping:
          ASSERT_MSG: '#/components/schemas/RawMetricEventView'
          ASSERT_REGULAR: '#/components/schemas/RawMetricEventView'
          ASSERT_USER: '#/components/schemas/RawMetricEventView'
          ASSERT_WARNING: '#/components/schemas/RawMetricEventView'
          AVG_COMMAND_EXECUTION_TIME: '#/components/schemas/TimeMetricEventView'
          AVG_READ_EXECUTION_TIME: '#/components/schemas/TimeMetricEventView'
          AVG_WRITE_EXECUTION_TIME: '#/components/schemas/TimeMetricEventView'
          BACKGROUND_FLUSH_AVG: '#/components/schemas/TimeMetricEventView'
          CACHE_BYTES_READ_INTO: '#/components/schemas/DataMetricEventView'
          CACHE_BYTES_WRITTEN_FROM: '#/components/schemas/DataMetricEventView'
          CACHE_USAGE_DIRTY: '#/components/schemas/DataMetricEventView'
          CACHE_USAGE_USED: '#/components/schemas/DataMetricEventView'
          COMPUTED_MEMORY: '#/components/schemas/DataMetricEventView'
          CONNECTIONS: '#/components/schemas/RawMetricEventView'
          CONNECTIONS_MAX: '#/components/schemas/RawMetricEventView'
          CONNECTIONS_PERCENT: '#/components/schemas/RawMetricEventView'
          CURSORS_TOTAL_CLIENT_CURSORS_SIZE: '#/components/schemas/RawMetricEventView'
          CURSORS_TOTAL_OPEN: '#/components/schemas/RawMetricEventView'
          CURSORS_TOTAL_TIMED_OUT: '#/components/schemas/RawMetricEventView'
          DB_DATA_SIZE_TOTAL: '#/components/schemas/DataMetricEventView'
          DB_DATA_SIZE_TOTAL_WO_SYSTEM: '#/components/schemas/DataMetricEventView'
          DB_INDEX_SIZE_TOTAL: '#/components/schemas/DataMetricEventView'
          DB_STORAGE_TOTAL: '#/components/schemas/DataMetricEventView'
          DISK_PARTITION_QUEUE_DEPTH_DATA: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_QUEUE_DEPTH_INDEX: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_QUEUE_DEPTH_JOURNAL: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_READ_IOPS_DATA: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_READ_IOPS_INDEX: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_READ_IOPS_JOURNAL: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_READ_LATENCY_DATA: '#/components/schemas/TimeMetricEventView'
          DISK_PARTITION_READ_LATENCY_INDEX: '#/components/schemas/TimeMetricEventView'
          DISK_PARTITION_READ_LATENCY_JOURNAL: '#/components/schemas/TimeMetricEventView'
          DISK_PARTITION_SPACE_USED_DATA: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_SPACE_USED_INDEX: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_SPACE_USED_JOURNAL: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_UTILIZATION_DATA: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_UTILIZATION_INDEX: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_UTILIZATION_JOURNAL: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_WRITE_IOPS_DATA: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_WRITE_IOPS_INDEX: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_WRITE_IOPS_JOURNAL: '#/components/schemas/RawMetricEventView'
          DISK_PARTITION_WRITE_LATENCY_DATA: '#/components/schemas/TimeMetricEventView'
          DISK_PARTITION_WRITE_LATENCY_INDEX: '#/components/schemas/TimeMetricEventView'
          DISK_PARTITION_WRITE_LATENCY_JOURNAL: '#/components/schemas/TimeMetricEventView'
          DOCUMENT_DELETED: '#/components/schemas/RawMetricEventView'
          DOCUMENT_INSERTED: '#/components/schemas/RawMetricEventView'
          DOCUMENT_RETURNED: '#/components/schemas/RawMetricEventView'
          DOCUMENT_UPDATED: '#/components/schemas/RawMetricEventView'
          EXTRA_INFO_PAGE_FAULTS: '#/components/schemas/RawMetricEventView'
          FTS_DISK_UTILIZATION: '#/components/schemas/DataMetricEventView'
          FTS_JVM_CURRENT_MEMORY: '#/components/schemas/DataMetricEventView'
          FTS_JVM_MAX_MEMORY: '#/components/schemas/DataMetricEventView'
          FTS_MEMORY_MAPPED: '#/components/schemas/DataMetricEventView'
          FTS_MEMORY_RESIDENT: '#/components/schemas/DataMetricEventView'
          FTS_MEMORY_VIRTUAL: '#/components/schemas/DataMetricEventView'
          FTS_PROCESS_CPU_KERNEL: '#/components/schemas/RawMetricEventView'
          FTS_PROCESS_CPU_USER: '#/components/schemas/RawMetricEventView'
          GLOBAL_ACCESSES_NOT_IN_MEMORY: '#/components/schemas/RawMetricEventView'
          GLOBAL_LOCK_CURRENT_QUEUE_READERS: '#/components/schemas/RawMetricEventView'
          GLOBAL_LOCK_CURRENT_QUEUE_TOTAL: '#/components/schemas/RawMetricEventView'
          GLOBAL_LOCK_CURRENT_QUEUE_WRITERS: '#/components/schemas/RawMetricEventView'
          GLOBAL_LOCK_PERCENTAGE: '#/components/schemas/RawMetricEventView'
          GLOBAL_PAGE_FAULT_EXCEPTIONS_THROWN: '#/components/schemas/RawMetricEventView'
          INDEX_COUNTERS_BTREE_ACCESSES: '#/components/schemas/RawMetricEventView'
          INDEX_COUNTERS_BTREE_HITS: '#/components/schemas/RawMetricEventView'
          INDEX_COUNTERS_BTREE_MISSES: '#/components/schemas/RawMetricEventView'
          INDEX_COUNTERS_BTREE_MISS_RATIO: '#/components/schemas/RawMetricEventView'
          JOURNALING_COMMITS_IN_WRITE_LOCK: '#/components/schemas/RawMetricEventView'
          JOURNALING_MB: '#/components/schemas/DataMetricEventView'
          JOURNALING_WRITE_DATA_FILES_MB: '#/components/schemas/DataMetricEventView'
          LOGICAL_SIZE: '#/components/schemas/DataMetricEventView'
          MAX_DISK_PARTITION_QUEUE_DEPTH_DATA: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_QUEUE_DEPTH_INDEX: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_QUEUE_DEPTH_JOURNAL: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_READ_IOPS_DATA: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_READ_IOPS_INDEX: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_READ_IOPS_JOURNAL: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_READ_LATENCY_DATA: '#/components/schemas/TimeMetricEventView'
          MAX_DISK_PARTITION_READ_LATENCY_INDEX: '#/components/schemas/TimeMetricEventView'
          MAX_DISK_PARTITION_READ_LATENCY_JOURNAL: '#/components/schemas/TimeMetricEventView'
          MAX_DISK_PARTITION_SPACE_USED_DATA: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_SPACE_USED_INDEX: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_SPACE_USED_JOURNAL: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_UTILIZATION_DATA: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_UTILIZATION_INDEX: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_UTILIZATION_JOURNAL: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_WRITE_IOPS_DATA: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_WRITE_IOPS_INDEX: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_WRITE_IOPS_JOURNAL: '#/components/schemas/RawMetricEventView'
          MAX_DISK_PARTITION_WRITE_LATENCY_DATA: '#/components/schemas/TimeMetricEventView'
          MAX_DISK_PARTITION_WRITE_LATENCY_INDEX: '#/components/schemas/TimeMetricEventView'
          MAX_DISK_PARTITION_WRITE_LATENCY_JOURNAL: '#/components/schemas/TimeMetricEventView'
          MAX_NORMALIZED_SYSTEM_CPU_STEAL: '#/components/schemas/RawMetricEventView'
          MAX_NORMALIZED_SYSTEM_CPU_USER: '#/components/schemas/RawMetricEventView'
          MAX_SWAP_USAGE_FREE: '#/components/schemas/DataMetricEventView'
          MAX_SWAP_USAGE_USED: '#/components/schemas/DataMetricEventView'
          MAX_SYSTEM_MEMORY_AVAILABLE: '#/components/schemas/DataMetricEventView'
          MAX_SYSTEM_MEMORY_PERCENT_USED: '#/components/schemas/RawMetricEventView'
          MAX_SYSTEM_MEMORY_USED: '#/components/schemas/DataMetricEventView'
          MAX_SYSTEM_NETWORK_IN: '#/components/schemas/DataMetricEventView'
          MAX_SYSTEM_NETWORK_OUT: '#/components/schemas/DataMetricEventView'
          MEMORY_MAPPED: '#/components/schemas/DataMetricEventView'
          MEMORY_RESIDENT: '#/components/schemas/DataMetricEventView'
          MEMORY_VIRTUAL: '#/components/schemas/DataMetricEventView'
          MUNIN_CPU_IOWAIT: '#/components/schemas/RawMetricEventView'
          MUNIN_CPU_IRQ: '#/components/schemas/RawMetricEventView'
          MUNIN_CPU_NICE: '#/components/schemas/RawMetricEventView'
          MUNIN_CPU_SOFTIRQ: '#/components/schemas/RawMetricEventView'
          MUNIN_CPU_STEAL: '#/components/schemas/RawMetricEventView'
          MUNIN_CPU_SYSTEM: '#/components/schemas/RawMetricEventView'
          MUNIN_CPU_USER: '#/components/schemas/RawMetricEventView'
          NETWORK_BYTES_IN: '#/components/schemas/DataMetricEventView'
          NETWORK_BYTES_OUT: '#/components/schemas/DataMetricEventView'
          NETWORK_NUM_REQUESTS: '#/components/schemas/RawMetricEventView'
          NORMALIZED_FTS_PROCESS_CPU_KERNEL: '#/components/schemas/RawMetricEventView'
          NORMALIZED_FTS_PROCESS_CPU_USER: '#/components/schemas/RawMetricEventView'
          NORMALIZED_SYSTEM_CPU_STEAL: '#/components/schemas/RawMetricEventView'
          NORMALIZED_SYSTEM_CPU_

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