{
    "name": "Xyrom OS Public API",
    "version": "v0",
    "status": "operational",
    "docs": "https://dev.xyromos.com",
    "base_url": "https://api.xyromos.com/api",
    "endpoints": {
        "GET  /api/health": "API health check",
        "POST /api/tokens": "Create API token",
        "GET  /api/tokens": "List tokens for org",
        "DELETE /api/tokens/{id}": "Revoke token",
        "GET  /api/usage/{org_id}": "Usage analytics",
        "GET  /api/usage/{org_id}/daily": "Daily usage breakdown",
        "POST /api/webhooks": "Register webhook",
        "GET  /api/webhooks": "List webhooks",
        "DELETE /api/webhooks/{id}": "Remove webhook",
        "POST /api/webhooks/{id}/test": "Test webhook delivery",
        "GET  /api/webhooks/{id}/deliveries": "Delivery history",
        "POST /api/oauth/apps": "Register OAuth app",
        "GET  /api/oauth/apps": "List OAuth apps",
        "POST /api/log": "Ingest API request log",
        "GET  /api/stats": "Platform-wide API stats"
    }
}