MongoDB AI Model API Keys API

Returns, adds, edits, and removes API Keys for your AI Models.

GitHub OpenAPI

Operations 7

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}/aiModelApiKeys List AI model API keys for a project · Return AI Model API Keys for One Group #
Ask an LLM
“Which AI model API keys are set up for my project?”
“Can I page through a project's AI model keys?”
Tell an agent
List AI model API keys for project {groupId}.
Show {itemsPerPage} AI model keys per page for project {groupId}.
POST /api/atlas/v2/groups/{groupId}/aiModelApiKeys Create an AI model API key for a project · Create New AI Model API Key #
Ask an LLM
“How do I generate an AI model API key for a project?”
“Can I restrict a project's AI model key to one cloud and geography?”
Tell an agent
Create an AI model API key {name} for project {groupId} scoped to {cloud} and {geography}.
Generate a new AI model key {name} for project {groupId}.
DELETE /api/atlas/v2/groups/{groupId}/aiModelApiKeys/{apiKeyId} Delete an AI model API key from a project · Delete Existing AI Model API Key #
Ask an LLM
“How do I revoke an AI model API key from a project?”
“Can I delete a project-level AI model key?”
Tell an agent destructive · confirm first
Delete AI model API key {apiKeyId} from project {groupId}.
Revoke project key {apiKeyId} in {groupId}.
GET /api/atlas/v2/groups/{groupId}/aiModelApiKeys/{apiKeyId} Get one AI model API key for a project · Return Single AI Model API Key for One Group #
Ask an LLM
“What are the details of a single AI model key in my project?”
“Can I look up a project-level AI model key by ID?”
Tell an agent
Get AI model API key {apiKeyId} in project {groupId}.
Show the details of project key {apiKeyId} for {groupId}.
PATCH /api/atlas/v2/groups/{groupId}/aiModelApiKeys/{apiKeyId} Rename an AI model API key in a project · Update Existing AI Model API Key #
Ask an LLM
“Can I rename an AI model API key in my project?”
“Is it possible to change a project-level AI model key's name?”
Tell an agent
Rename AI model API key {apiKeyId} in project {groupId} to {name}.
Change the name of project key {apiKeyId} to {name} for {groupId}.
GET /api/atlas/v2/orgs/{orgId}/aiModelApiKeys List AI model API keys for an organization · Return AI Model API Keys for One Organization #
Ask an LLM
“Which AI model API keys exist across all projects in my organization?”
“Can I page through an organization's AI model keys?”
Tell an agent
List AI model API keys for organization {orgId}.
Show {itemsPerPage} AI model keys per page for org {orgId}.
GET /api/atlas/v2/orgs/{orgId}/aiModelApiKeys/{apiKeyId} Get one AI model API key for an org · Return Single AI Model API Key for One Organization #
Ask an LLM
“How do I look up a single AI model API key for an organization?”
“Can I retrieve one model key by its ID?”
Tell an agent
Get AI model API key {apiKeyId} in organization {orgId}.
Show model key {apiKeyId} for org {orgId}.

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-ai-model-api-keys-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-ai-model-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.
  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 AI Model API Keys API
  version: '2.0'
  x-xgen-sha: 8f9485d239f53f5b963c55e11f5f05a34bec9586
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-ai-model-api-keys-api-openapi.yml