- Development:
http://localhost:8000 - Production:
https://api.brain-vault.com(when deployed)
GET /health
Returns the health status of the API.
Response:
{
"status": "healthy"
}GET /api/data
Returns sample data from the backend.
Response:
{
"message": "Hello from FastAPI Backend!",
"status": "success"
}Currently, no authentication is required. This will be added in future versions.
All errors follow this format:
{
"detail": "Error message",
"status_code": 400
}Rate limiting will be implemented in future versions.
The API accepts requests from:
http://localhost:5173(local frontend)https://brain-vault-iota.vercel.app(production frontend)
Interactive API documentation is available at:
- Swagger UI:
/docs - ReDoc:
/redoc
Current API version: 1.0.0
Future versions will use URL versioning: /api/v2/...