API Reference
REST Endpoints
Available REST API endpoints
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Available REST API endpoints
curl -X POST https://api.superatom.ai/v1/query \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"question": "What were sales last month?"}'
{
"success": true,
"data": {
"answer": "Sales last month were 1.2M...",
"visualization": { ... },
"sql": "SELECT SUM(amount)..."
}
}