{"name":"Aegis API","version":"1.0.0","docs":"/docs","redoc":"/redoc","endpoints":{"GET /health":"Health check","GET /":"This endpoint","POST /user":"Add or update the authenticated user's GitHub connection","GET /user":"Get the authenticated user's details","POST /user-prompts":"Create a prompt for the authenticated user","GET /user-prompts":"Get prompts for the authenticated user","PUT /user-prompts/{prompt_id}":"Update a prompt for the authenticated user","GET /repos":"Get the authenticated user's repos with permissions","GET /sessions":"Get the authenticated user's session actions","GET /sessions/aggregate":"Get the authenticated user's aggregated sessions","POST /sync":"Sync all repos for the authenticated user","POST /sync-repo":"Sync a single repository using the authenticated user's PAT","POST /permissions":"Set repo permission for the authenticated user","GET /access":"Check repo access for the authenticated user","POST /permissions/bulk":"Bulk set repo permissions for the authenticated user","GET /check_freeze_state":"Check freeze state for the authenticated user","GET /get_mcp_approvals":"Get MCP approvals for the authenticated user","POST /policy":"Get or create policy for the authenticated user","PUT /policy":"Update policy for the authenticated user","POST /query":"Execute custom SQL query","POST /api/repo/files":"Get repo files using the authenticated user's GitHub PAT","POST /api/users/tools":"Get tool availability for the authenticated user in a room"}}