Skip to content
For LLMsView as Markdown·

MongoDB Atlas ​

Manage clusters, databases, users, and monitoring with the MongoDB Atlas API.

DetailValue
CategoryDatabase
Base URLhttps://cloud.mongodb.com/api/atlas/v2
AuthenticationHTTP Digest
Endpoints8
Connector keymongodb-atlas

Using MongoDB Atlas in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick MongoDB Atlas from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
GET /groupsList projects
GET /groups/{groupId}/clustersList clusters
POST /groups/{groupId}/clustersCreate a cluster
GET /groups/{groupId}/clusters/{clusterName}Get cluster details
DELETE /groups/{groupId}/clusters/{clusterName}Delete a cluster
GET /groups/{groupId}/databaseUsersList database users
POST /groups/{groupId}/databaseUsersCreate a database user
GET /groups/{groupId}/alertsList alerts

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /groups ​

List projects

DetailValue
Operation IDdatabase.listProjects
MethodGET
Path/groups

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your MongoDB Atlas connection from the Connection dropdown.
  3. In the Operation dropdown, select database.listProjects.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream MongoDB Atlas API reference.

GET /groups/{groupId}/clusters ​

List clusters

DetailValue
Operation IDdatabase.listClusters
MethodGET
Path/groups/{groupId}/clusters

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your MongoDB Atlas connection from the Connection dropdown.
  3. In the Operation dropdown, select database.listClusters.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream MongoDB Atlas API reference.

POST /groups/{groupId}/clusters ​

Create a cluster

DetailValue
Operation IDdatabase.createCluster
MethodPOST
Path/groups/{groupId}/clusters

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your MongoDB Atlas connection from the Connection dropdown.
  3. In the Operation dropdown, select database.createCluster.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream MongoDB Atlas API reference.

GET /groups/{groupId}/clusters/{clusterName} ​

Get cluster details

DetailValue
Operation IDdatabase.getCluster
MethodGET
Path/groups/{groupId}/clusters/{clusterName}

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your MongoDB Atlas connection from the Connection dropdown.
  3. In the Operation dropdown, select database.getCluster.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream MongoDB Atlas API reference.

DELETE /groups/{groupId}/clusters/{clusterName} ​

Delete a cluster

DetailValue
Operation IDdatabase.deleteCluster
MethodDELETE
Path/groups/{groupId}/clusters/{clusterName}

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your MongoDB Atlas connection from the Connection dropdown.
  3. In the Operation dropdown, select database.deleteCluster.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream MongoDB Atlas API reference.

GET /groups/{groupId}/databaseUsers ​

List database users

DetailValue
Operation IDdatabase.listDatabaseUsers
MethodGET
Path/groups/{groupId}/databaseUsers

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your MongoDB Atlas connection from the Connection dropdown.
  3. In the Operation dropdown, select database.listDatabaseUsers.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream MongoDB Atlas API reference.

POST /groups/{groupId}/databaseUsers ​

Create a database user

DetailValue
Operation IDdatabase.createDatabaseUser
MethodPOST
Path/groups/{groupId}/databaseUsers

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your MongoDB Atlas connection from the Connection dropdown.
  3. In the Operation dropdown, select database.createDatabaseUser.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream MongoDB Atlas API reference.

GET /groups/{groupId}/alerts ​

List alerts

DetailValue
Operation IDdatabase.listAlerts
MethodGET
Path/groups/{groupId}/alerts

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your MongoDB Atlas connection from the Connection dropdown.
  3. In the Operation dropdown, select database.listAlerts.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream MongoDB Atlas API reference.