API reference

59 endpoints, generated from the OpenAPI contract the hosted API serves. Each page lists parameters, request and response fields, and Python, JavaScript and cURL samples.

Base URLhttps://futuresmart.ai/database-agent/api
AuthenticationX-API-Key: <your API key>

This reference covers the endpoints an API key can call. The deployed service also serves routes for the web app, account administration and the platform itself; those need a signed-in session or an operator key and are left out on purpose. See API keys and permissions.

Chat

Ask questions and follow-ups. Every call is scoped to one agent.

Conversations

Read, rename, delete and export saved conversations.

Agent

Read and change the agent's own settings.

Databases

The databases this agent answers from.

Tables and columns

Which tables the agent may query, and the descriptions it reads them by.

Example questions

Question and SQL pairs the agent learns from.

Column value lookup

Columns whose stored values the agent looks up before it writes SQL.

Analytics

How the agent is being used and where it fails.

Chat widget

The embeddable chat widget's appearance.