Developer docs
REST API Reference
Programmatic access to all AdvisorAI features. Authenticate once, then query documents, ask the AI, and pull analytics from any language or platform.
Base URL
fly.dev/api/v1
Auth
Bearer JWT
Content-Type
application/json
Rate Limit
200 req / 60s
Authentication
All API requests require a Bearer token in the Authorization header. Obtain a token via POST /auth/login.
Curl
curl -X POST https://advisorai-backend.fly.dev/api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com","password":"••••••••"}'
# Use the returned token
curl https://advisorai-backend.fly.dev/api/v1/advisor/ask \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"question":"What are my VAT filing deadlines?"}'Endpoints
Click any group to expand and explore the available operations.
Full interactive API docs
Try every endpoint directly in your browser with our hosted Swagger UI. No client needed.