Back to Tools

MongoDB

Data

MongoDB Atlas database operations. Query, insert, update, and aggregate documents.

Available Actions
findinsertupdatedeleteaggregate
Input Schema
{
  "type": "object",
  "required": [
    "collection"
  ],
  "properties": {
    "filter": {
      "type": "object"
    },
    "document": {
      "type": "object"
    },
    "collection": {
      "type": "string"
    }
  }
}
Output Schema
{
  "type": "object",
  "properties": {
    "documents": {
      "type": "array"
    },
    "insertedId": {
      "type": "string"
    },
    "modifiedCount": {
      "type": "number"
    }
  }
}
Quick Start

API Endpoint

POST /api/execute/mongodb

cURL Example

curl -X POST \
  https://api.nulayers.com/execute/mongodb \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action": "find"}'
Integration

Get your API key from the dashboard to start using this tool in your AI applications.