MongoDB Serverless Private Endpoints API

Returns, adds, edits, and removes private endpoints for serverless instances. To learn more, see the Atlas Administration API tab on the following tutorial.

GitHub OpenAPI

Operations 5

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}/privateEndpoint/serverless/instance/{instanceName}/endpoint List private endpoints for a serverless instance · Return All Private Endpoints for One Serverless Instance #
Ask an LLM
“Which private endpoints are attached to my serverless instance?”
“Can I see all tenant endpoints for one serverless cluster?”
Tell an agent
List private endpoints for serverless instance {instanceName} in project {groupId}.
Show every tenant endpoint on serverless cluster {instanceName}.
POST /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint Create a private endpoint for a serverless instance · Create One Private Endpoint for One Serverless Instance #
Ask an LLM
“How do I attach a private endpoint to a serverless instance?”
“What role do I need to create a tenant endpoint on a serverless cluster?”
Tell an agent
Create a private endpoint on serverless instance {instanceName} in project {groupId}.
Add a tenant endpoint to serverless cluster {instanceName} with comment {comment}.
DELETE /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId} Remove a private endpoint from a serverless instance · Remove One Private Endpoint for One Serverless Instance #
Ask an LLM
“How do I detach a private endpoint from a serverless instance?”
“Can I remove a tenant endpoint from a serverless cluster?”
Tell an agent destructive · confirm first
Remove private endpoint {endpointId} from serverless instance {instanceName} in project {groupId}.
Detach tenant endpoint {endpointId} from serverless cluster {instanceName}.
GET /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId} Get one private endpoint on a serverless instance · Return One Private Endpoint for One Serverless Instance #
Ask an LLM
“What provider and status does one tenant endpoint on my serverless instance have?”
“Can I look up a single private endpoint on a serverless cluster by its ID?”
Tell an agent
Get private endpoint {endpointId} on serverless instance {instanceName} in project {groupId}.
Show the status of tenant endpoint {endpointId} on serverless cluster {instanceName}.
PATCH /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId} Update a private endpoint on a serverless instance · Update One Private Endpoint for One Serverless Instance #
Ask an LLM
“Can I change the cloud provider of a tenant endpoint on a serverless instance?”
“How do I update the comment on a private endpoint attached to a serverless cluster?”
Tell an agent
Update private endpoint {endpointId} on serverless instance {instanceName} in project {groupId} to provider {providerName}.
Set the comment on tenant endpoint {endpointId} of serverless cluster {instanceName} to {comment}.

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-serverless-private-endpoints-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-serverless-private-endpoints-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb Serverless Private Endpoints 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 Serverless Private Endpoints 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 (36 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-serverless-private-endpoints-api-openapi.yml