http://localhost:8000/api/v1
Most endpoints require authentication using JWT tokens.
Authorization: Bearer <access_token>
Check API health status.
{
"status": "healthy",
"database": "healthy"
}Authenticate user and receive tokens.
{
"email": "user@example.com",
"password": "password123"
}{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGc...",
"refresh_token": "eyJ0eXAiOiJKV1QiLCJhbGc...",
"token_type": "bearer"
}Refresh access token.
{
"refresh_token": "eyJ0eXAiOiJKV1QiLCJhbGc..."
}{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGc...",
"refresh_token": "eyJ0eXAiOiJKV1QiLCJhbGc...",
"token_type": "bearer"
}Create new user.
{
"email": "user@example.com",
"username": "username",
"password": "StrongPass123!"
}{
"id": 1,
"email": "user@example.com",
"username": "username",
"is_active": true,
"is_superuser": false,
"created_at": "2024-01-01T00:00:00",
"updated_at": "2024-01-01T00:00:00"
}Get user by ID. Requires authentication.
{
"id": 1,
"email": "user@example.com",
"username": "username",
"is_active": true,
"is_superuser": false,
"created_at": "2024-01-01T00:00:00",
"updated_at": "2024-01-01T00:00:00"
}{
"detail": "Validation error message"
}{
"detail": "Invalid authentication credentials"
}{
"detail": "Resource not found"
}{
"detail": "Internal server error"
}- 100 requests per minute per IP
- 1000 requests per hour per user
List endpoints support pagination:
GET /users?skip=0&limit=10
{
"items": [...],
"total": 100,
"skip": 0,
"limit": 10
}