MongoDB Data Federation API

Returns, adds, edits, and removes Federated Database Instances. This resource requires your project ID. Changes to federated database instance configurations can affect costs.

GitHub OpenAPI

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}/dataFederation List federated database instances in a project · Return All Federated Database Instances in One Project #
Ask an LLM
“Which federated database instances exist in my project?”
“Can I list only federated instances of a certain type?”
Tell an agent
List federated database instances in project {groupId}.
Show federated instances of type {type} in project {groupId}.
POST /api/atlas/v2/groups/{groupId}/dataFederation Create a federated database instance · Create One Federated Database Instance in One Project #
Ask an LLM
“How do I federate an external data source into my project?”
“Can I set the cloud provider and storage mapping when creating a federated instance?”
Tell an agent
Create federated database instance {name} in project {groupId}.
Create federated instance {name} in project {groupId} with storage {storage}.
DELETE /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName} Remove a federated database instance · Remove One Federated Database Instance from One Project #
Ask an LLM
“How do I remove a federated database instance from a project?”
“Can I delete a federated instance by its tenant name?”
Tell an agent destructive · confirm first
Remove federated database instance {tenantName} from project {groupId}.
Delete federated instance {tenantName} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName} Get one federated database instance · Return One Federated Database Instance in One Project #
Ask an LLM
“What are the details of a specific federated database instance?”
“Can I look up a federated instance by its tenant name?”
Tell an agent
Get federated database instance {tenantName} in project {groupId}.
Show the details of federated instance {tenantName} in project {groupId}.
PATCH /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName} Update a federated database instance · Update One Federated Database Instance in One Project #
Ask an LLM
“Can I change the hostnames or state of an existing federated instance?”
“How do I update the storage mapping on a federated database instance?”
Tell an agent
Update federated database instance {tenantName} in project {groupId} with state {state}.
Set the hostnames of federated instance {tenantName} in project {groupId} to {hostnames}.
GET /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits List query limits for a federated instance · Return All Query Limits for One Federated Database Instance #
Ask an LLM
“What query limits are set on my federated database instance?”
“Can I see all query limits for one federated instance?”
Tell an agent
List query limits for federated instance {tenantName} in project {groupId}.
Show every query limit on federated database instance {tenantName} in project {groupId}.
DELETE /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName} Delete a query limit from a federated instance · Delete One Query Limit for One Federated Database Instance #
Ask an LLM
“How do I remove a query limit from a federated database instance?”
“Can I delete a federated instance limit by name?”
Tell an agent destructive · confirm first
Delete query limit {limitName} from federated instance {tenantName} in project {groupId}.
Remove the {limitName} limit on federated database instance {tenantName} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName} Get one query limit on a federated instance · Return One Federated Database Instance Query Limit for One Project #
Ask an LLM
“What is the current value of a specific query limit on my federated instance?”
“Can I read one federated instance query limit by name?”
Tell an agent
Get query limit {limitName} on federated instance {tenantName} in project {groupId}.
Show the {limitName} limit for federated database instance {tenantName} in project {groupId}.
PATCH /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName} Set a query limit on a federated instance · Configure One Query Limit for One Federated Database Instance #
Ask an LLM
“How do I cap the bytes processed per query on my federated instance?”
“Can I change a federated instance query limit's maximum value?”
Tell an agent
Set query limit {limitName} on federated instance {tenantName} in project {groupId} to {value}.
Cap federated database instance {tenantName} in project {groupId} at {value} for limit {limitName}.
GET /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz Download query logs for a federated instance · Download Query Logs for One Federated Database Instance #
Ask an LLM
“Can I download the query logs for a federated database instance?”
“How do I get federated instance query logs for a date range?”
Tell an agent
Download query logs for federated instance {tenantName} in project {groupId}.
Download federated database instance {tenantName} query logs in project {groupId} from {startDate} to {endDate}.
GET /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds List federated and archive private endpoints · Return All Federated Database Instance and Online Archive Private Endpoints in… #
Ask an LLM
“Which private endpoints are configured for federated database instances and online archives?”
“Can I include the total count when listing federated instance private endpoints?”
Tell an agent
List private endpoints for federated instances and online archives in project {groupId}.
Show federated and archive private endpoints in project {groupId} with count {includeCount}.
POST /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds Add a private endpoint for federated instances · Create One Federated Database Instance and Online Archive Private Endpoint for… #
Ask an LLM
“How do I add a private endpoint for federated database instances or online archives?”
“Can I attach a comment to a new federated instance private endpoint?”
Tell an agent
Add private endpoint {endpointId} to federated instances and archives in project {groupId}.
Create federated instance private endpoint {endpointId} in project {groupId} with comment {comment}.
DELETE /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId} Remove a federated instance private endpoint · Remove One Federated Database Instance and Online Archive Private Endpoint from… #
Ask an LLM
“How do I remove a private endpoint from federated instances or online archives?”
“Can I delete a federated instance private endpoint by ID?”
Tell an agent destructive · confirm first
Remove private endpoint {endpointId} from federated instances and archives in project {groupId}.
Delete federated database instance private endpoint {endpointId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId} Get one federated instance private endpoint · Return One Federated Database Instance and Online Archive Private Endpoint in… #
Ask an LLM
“What are the details of a specific federated instance private endpoint?”
“Can I look up a federated instance private endpoint by ID?”
Tell an agent
Get private endpoint {endpointId} for federated instances and archives in project {groupId}.
Show federated database instance private endpoint {endpointId} in project {groupId}.

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-data-federation-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-data-federation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb Data Federation 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 Data Federation 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 (107 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-data-federation-api-openapi.yml