Administrative endpoints for user management, monitoring, notifications, and system health.
List all users with statistics.
Auth: Admin role required.
Response:
[{
"id": "string",
"name": "string",
"email": "string",
"role": "user | admin",
"driveCount": 3,
"pageCount": 45,
"messageCount": 120,
"aiProvider": "string",
"createdAt": "string"
}]
Get database schema information for administrative tools.
Auth: Admin role required.
System monitoring and analytics.
Supported metrics:
system-health — Server status, uptime, memoryapi-metrics — Request counts, latency percentilesuser-activity — Active users, session countsai-usage — AI calls, tokens, costs by providererror-logs — Recent errors with stack tracesperformance — Database query times, cache hit ratesQuery params: timeRange (1h, 24h, 7d, 30d)
Auth: Admin role required.
List notifications for the current user.
Query params: countOnly (boolean), limit, offset
Response:
{
"notifications": [{
"id": "string",
"type": "string",
"title": "string",
"message": "string",
"read": false,
"createdAt": "string"
}],
"totalCount": 15,
"unreadCount": 3
}
Mark a notification as read.
Mark all notifications as read.
Delete a notification.
Client-side event tracking for analytics.
Body:
{
"event": "string",
"properties": {}
}
Fire-and-forget — always returns 200.
Permanently delete a page from trash (irreversible).
Permanently delete a trashed drive.
Submit a contact form or support request.
Body:
{
"name": "string",
"email": "string",
"subject": "string",
"message": "string"
}
Search docs, blog posts, and more.