MongoDB · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Mongodb Collection Level Metrics API
10 actions
10 updates
phrasing
extends
openapi/mongodb-collection-level-metrics-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for MongoDB's API. It is a proposal applied on top of the contract, not a document MongoDB publishes.
What the actions change
x-apievangelist-phrasing
Targets 10
$.info
$.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned'].get
$.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned'].put
$.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned'].patch
$.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin'].patch
$.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces'].get
$.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements'].get
$.paths['/api/atlas/v2/groups/{groupId}/collStats/metrics'].get
$.paths['/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces'].get
$.paths['/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Mongodb Collection Level Metrics API
version: 1.0.0
extends: openapi/mongodb-collection-level-metrics-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 9
- target: $.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned'].get
update:
x-apievangelist-phrasing:
intent: List namespaces pinned for collection latency metrics
effect: read
questions:
- Which namespaces am I currently pinning for collection-level latency metrics on a cluster?
- Can I see the pinned namespaces list for a cluster?
instructions:
- text: List the pinned namespaces for cluster {clusterName} in project {groupId}.
slots:
clusterName: path.clusterName
groupId: path.groupId
- text: Show which namespaces cluster {clusterName} is collecting collection latency metrics on.
slots:
clusterName: path.clusterName
method: generated
generated: '2026-11-19'
- target: $.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned'].put
update:
x-apievangelist-phrasing:
intent: Pin namespaces for collection latency metrics
effect: write
questions:
- How do I start collecting collection-level latency metrics on specific collections?
- Does pinning a namespace replace the existing pinned list?
instructions:
- text: Pin namespaces {namespaces} for collection latency metrics on cluster {clusterName} in project {groupId}.
slots:
namespaces: requestBody.namespaces
clusterName: path.clusterName
groupId: path.groupId
- text: Replace the pinned namespaces list on cluster {clusterName} with {namespaces}.
slots:
clusterName: path.clusterName
namespaces: requestBody.namespaces
method: generated
generated: '2026-11-19'
- target: $.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned'].patch
update:
x-apievangelist-phrasing:
intent: Add namespaces to the pinned list
effect: write
questions:
- Can I add more namespaces to the existing collection latency pinned list?
- How do I grow the pinned namespaces list without replacing it?
instructions:
- text: Add namespaces {namespaces} to the pinned list on cluster {clusterName} in project {groupId}.
slots:
namespaces: requestBody.namespaces
clusterName: path.clusterName
groupId: path.groupId
- text: Grow the existing collection latency pinned namespaces on cluster {clusterName}.
slots:
clusterName: path.clusterName
method: generated
generated: '2026-11-19'
- target: $.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin'].patch
update:
x-apievangelist-phrasing:
intent: Unpin namespaces from collection latency metrics
effect: destructive
questions:
- How do I stop collecting collection-level latency metrics on certain namespaces?
- Can I remove namespaces from the pinned list?
instructions:
- text: Unpin namespaces {namespaces} from collection latency metrics on cluster {clusterName} in project {groupId}.
slots:
namespaces: requestBody.namespaces
clusterName: path.clusterName
groupId: path.groupId
- text: Remove {namespaces} from the pinned namespaces list on cluster {clusterName}.
slots:
namespaces: requestBody.namespaces
clusterName: path.clusterName
method: generated
generated: '2026-11-19'
- target: $.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces'].get
update:
x-apievangelist-phrasing:
intent: Rank a cluster's namespaces by execution time
effect: read
questions:
- Which namespaces in a cluster spent the most total time executing?
- Can I rank a cluster's namespaces by execution time over a time range?
instructions:
- text: Rank the namespaces of cluster {clusterName} ({clusterView}) in project {groupId} by execution time from {start} to {end}.
slots:
clusterName: path.clusterName
clusterView: path.clusterView
groupId: path.groupId
start: query.start
end: query.end
- text: Show the highest-executing namespaces in cluster {clusterName} ({clusterView}) over the last {period}.
slots:
clusterName: path.clusterName
clusterView: path.clusterView
period: query.period
method: generated
generated: '2026-11-19'
- target: $.paths['/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements'].get
update:
x-apievangelist-phrasing:
intent: Get cluster-level collection latency measurements
effect: read
questions:
- What query latency measurements are available for a collection at the cluster level?
- Can I filter cluster-level collection latency metrics to specific metrics?
instructions:
- text: Get cluster-level collection latency measurements for {databaseName}.{collectionName} on cluster {clusterName} ({clusterView}) in project {groupId}.
slots:
databaseName: path.databaseName
collectionName: path.collectionName
clusterName: path.clusterName
clusterView: path.clusterView
groupId: path.groupId
- text: Show {metrics} cluster-level collection latency metrics for {databaseName}.{collectionName} on cluster {clusterName} ({clusterView}) from {start} to {end}.
slots:
metrics: query.metrics
databaseName: path.databaseName
collectionName: path.collectionName
clusterName: path.clusterName
clusterView: path.clusterView
start: query.start
end: query.end
method: generated
generated: '2026-11-19'
- target: $.paths['/api/atlas/v2/groups/{groupId}/collStats/metrics'].get
update:
x-apievangelist-phrasing:
intent: List available collection latency metric names
effect: read
questions:
- What collection-level latency metric names and units are available in my project?
- Which metric names can I request for collection latency measurements?
instructions:
- text: List all available collection latency metric names and units for project {groupId}.
slots:
groupId: path.groupId
- text: Show the metric names and units I can use for collection latency measurements in project {groupId}.
slots:
groupId: path.groupId
method: generated
generated: '2026-11-19'
- target: $.paths['/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces'].get
update:
x-apievangelist-phrasing:
intent: Rank a process's namespaces by execution time
effect: read
questions:
- Which namespaces on one MongoDB process used the most time?
- Can I rank namespaces for a single host process by execution time?
instructions:
- text: Rank the namespaces of process {processId} in project {groupId} by execution time from {start} to {end}.
slots:
processId: path.processId
groupId: path.groupId
start: query.start
end: query.end
- text: Show the highest-executing namespaces on host {processId} over the last {period}.
slots:
processId: path.processId
period: query.period
method: generated
generated: '2026-11-19'
- target: $.paths['/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements'].get
update:
x-apievangelist-phrasing:
intent: Get host-level collection latency measurements
effect: read
questions:
- What query latency measurements are available for a collection at the host process level?
- Can I filter host-level collection latency metrics to specific metrics?
instructions:
- text: Get host-level collection latency measurements for {databaseName}.{collectionName} on process {processId} in project {groupId}.
slots:
databaseName: path.databaseName
collectionName: path.collectionName
processId: path.processId
groupId: path.groupId
- text: Show {metrics} host-level collection latency metrics for {databaseName}.{collectionName} on process {processId} from {start} to {end}.
slots:
metrics: query.metrics
databaseName: path.databaseName
collectionName: path.collectionName
processId: path.processId
start: query.start
end: query.end
method: generated
generated: '2026-11-19'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/mongodb-collection-level-metrics-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.