Skip to content

API Overview

The Florentine.ai API lets you integrate natural language querying for your MongoDB data directly into your project.

How it works

Questions are transformed into MongoDB aggregations.

Executing the aggregations and answering the questions in natural language can also be handled directly via the API.

API Endpoint

Base URL:

https://nltm.florentine.ai/ask

Request Method:

POST

Content-Type:

application/json

Node.js Client

If you are using Node.js we advise you to use our official npm module, which will make working with the API even easier. Just install it via npm:

npm install @florentine-ai/api