MongoDB Monitoring and Logs API

Returns database deployment monitoring and logging data.

GitHub OpenAPI
Business capability
Observability Management BC-4220.20

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz Download a cluster host's log file · Download Logs for One Cluster Host in One Project #
Ask an LLM
“Can I download the audit log for one host in my project?”
“How do I get a compressed log file for a cluster host?”
Tell an agent
Download the {logName} log for host {hostName} in project {groupId}.
Get {logName} logs for {hostName} in project {groupId} between {startDate} and {endDate}.
GET /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics List Atlas Search metrics for a process · Return All Atlas Search Metric Types for One Process #
Ask an LLM
“Which Atlas Search metric types are available for a process?”
“What search metrics can I pull for one host?”
Tell an agent
List Atlas Search metrics for process {processId} in project {groupId}.
Show the search metric types available on host {processId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements List search index metrics for a namespace · Return All Atlas Search Index Metrics for One Namespace #
Ask an LLM
“What search index metrics are available for a collection?”
“Can I get per-index search metrics for a namespace?”
Tell an agent
List search index metrics for {databaseName}.{collectionName} on process {processId} in project {groupId}.
Show per-index search metrics for {databaseName}.{collectionName} on {processId} in project {groupId} over {period}.
GET /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements Get search metrics for one index · Return Atlas Search Metrics for One Index in One Namespace #
Ask an LLM
“What are the search metrics for a single index?”
“Can I pull metrics for one index in a namespace?”
Tell an agent
Get search metrics for index {indexName} on {databaseName}.{collectionName} in project {groupId}.
Show search metrics for index {indexName} of {databaseName}.{collectionName} on {processId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements List search hardware and status metrics · Return Atlas Search Hardware and Status Metrics #
Ask an LLM
“What hardware and status metrics does Atlas Search report?”
“Can I get search status metrics for a process?”
Tell an agent
List search hardware and status metrics for process {processId} in project {groupId}.
Show search status metrics for {processId} in project {groupId} over {period}.
GET /api/atlas/v2/groups/{groupId}/processes List MongoDB processes in a project · Return All MongoDB Processes in One Project #
Ask an LLM
“Which mongod and mongos processes run in my project?”
“Can I page through all processes in a project?”
Tell an agent
List all processes in project {groupId}.
Show {itemsPerPage} processes per page for project {groupId}.
GET /api/atlas/v2/groups/{groupId}/processes/{processId} Get one MongoDB process · Return One MongoDB Process by ID #
Ask an LLM
“What details are returned for a single process?”
“Can I look up one mongod or mongos process by ID?”
Tell an agent
Get process {processId} in project {groupId}.
Show details for process {processId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/processes/{processId}/databases List databases on a process · Return Available Databases for One MongoDB Process #
Ask an LLM
“Which databases run on a given process?”
“Can I list databases for one mongod host?”
Tell an agent
List databases on process {processId} in project {groupId}.
Show databases hosted by {processId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName} Get one database on a process · Return One Database for One MongoDB Process #
Ask an LLM
“What are the details of a single database on a process?”
“Can I fetch one database by name?”
Tell an agent
Get database {databaseName} on process {processId} in project {groupId}.
Show details of {databaseName} hosted by {processId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements Get database measurements for a process · Return Measurements for One Database in One MongoDB Process #
Ask an LLM
“How much disk space does a database use on a process?”
“Can I get database measurements for a host?”
Tell an agent
Get {m} measurements for database {databaseName} on process {processId} in project {groupId}.
Show database {databaseName} metrics on {processId} in project {groupId} over {period}.
GET /api/atlas/v2/groups/{groupId}/processes/{processId}/disks List disks on a process · Return Available Disks for One MongoDB Process #
Ask an LLM
“Which disks or partitions does a process have?”
“Can I list the disks on a mongod host?”
Tell an agent
List disks on process {processId} in project {groupId}.
Show the partitions hosted by {processId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName} Get measurement data for a host disk · Return Measurements for One Disk #
Ask an LLM
“How do I see I/O and performance stats for one partition on a MongoDB process?”
“Can I fetch measurements for a disk on a cluster host?”
Tell an agent
Get measurements for partition {partition} on process {process} in project {group}.
Show I/O performance data of disk {partition} on host {process} for project {group}.
GET /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements Get disk measurements for a partition · Return Measurements of One Disk for One MongoDB Process #
Ask an LLM
“How much I/O and latency does a disk partition show?”
“Can I get measurements for one disk partition?”
Tell an agent
Get {m} measurements for disk {partitionName} on process {processId} in project {groupId}.
Show disk {partitionName} metrics on {processId} in project {groupId} over {period}.
GET /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements Get process measurements · Return Measurements for One MongoDB Process #
Ask an LLM
“What CPU and I/O metrics does a process report?”
“Can I get host-level measurements for a process?”
Tell an agent
Get {m} measurements for process {processId} in project {groupId}.
Show host measurements for {processId} in project {groupId} over {period}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mongodb:mongodb-monitoring-and-logs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mongodb-monitoring-and-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb Monitoring and Logs API
  version: '2.0'
  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
  x-refined-note:
  - x-xgen-sha differs across the merged source definitions and was not carried
  description: 'Operations tagged Monitoring and Logs across 2 of this provider''s published API definitions: mongodb-atlas-openapi.yaml, mongodb-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cloud.mongodb.com
security:
- ServiceAccounts: []
- DigestAuth: []
tags:


# --- truncated at 32 KB (116 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-monitoring-and-logs-api-openapi.yml