Base URL
When running locally with Docker:Authentication
The current version does not require authentication. In production deployments, you should add authentication middleware to protect the API endpoints.Web Interface
The system includes a web-based chat interface:http://localhost:8000 when running locally.
Available Endpoints
Query
Process natural language queries
Entities
Get available entities for autocomplete
Reload
Reload configuration data
Health
System health check
Common Response Formats
Success Response
All successful API responses return JSON with appropriate status codes:Error Response
Errors return standard HTTP status codes with detail messages:Status Codes
200- Success500- Internal server error
Request Format
All POST requests accept JSON payloads withContent-Type: application/json header.
Example Usage
FastAPI Documentation
The API also exposes interactive documentation at:- Swagger UI:
http://localhost:8000/docs - ReDoc:
http://localhost:8000/redoc
Rate Limiting
The current version does not implement rate limiting. Consider adding rate limiting middleware for production use.
CORS
CORS is not configured by default. Add CORS middleware if you need to access the API from web applications:Next Steps
Query Endpoint
Learn about natural language queries
Query Engine
Explore the Python query engine