XCloak / docs

Recon API Reference

Base URL: the hosted beta at https://app.xcloak.tech, or http://localhost:8000 if self-hosting. Bearer-token auth via POST /api/v1/auth/login unless noted.

Jump to category

Authentication

Account creation and JWT/API-key issuance

MethodPathDescription
POST/api/v1/auth/registerCreate account
POST/api/v1/auth/loginGet JWT tokens
GET/api/v1/auth/meCurrent user
POST/api/v1/auth/api-keysCreate API key

Scanning

Start scans, watch them live, and approve AI-proposed follow-ups

MethodPathDescription
POST/api/v1/hybrid/executeStart a scan
GET/api/v1/hybrid/status/{id}Scan status + report
GET/api/v1/hybrid/proposals/{id}Pending AI proposals
POST/api/v1/hybrid/approve/{id}Approve/reject proposals
GET/api/v1/hybrid/report/{id}/pdfDownload PDF report
WS/api/v1/ws/scan/{id}Live scan events

Findings

Search and aggregate findings across scans

MethodPathDescription
GET/api/v1/auth/findingsSearch findings (filters: severity, source, port, search)
GET/api/v1/auth/findings/statsAggregated stats
GET/api/v1/auth/scans/{id}/findingsFindings for a scan

Scheduled Scans

Cron-like recurring scans built from reusable templates

MethodPathDescription
POST/api/v1/schedules/templatesCreate scan template
GET/api/v1/schedules/templatesList templates
POST/api/v1/schedules/Create scheduled scan
GET/api/v1/schedules/List schedules
PUT/api/v1/schedules/{id}/togglePause/resume

System

Runtime info, LLM provider switching, audit log, and target allowlist

MethodPathDescription
GET/api/v1/system/infoSystem info + current LLM provider
POST/api/v1/system/llm/switchSwitch LLM provider
GET/api/v1/system/auditQuery audit logs
GET/api/v1/system/targetsList target allowlist
POST/api/v1/system/targetsAdd a target to the allowlist