ZeroLeaks
API Reference

REST API

Authentication, versioning, and ZeroLeaks v1 HTTP endpoints.

REST API

All authenticated v1 requests use a ZeroLeaks API key:

Authorization: Bearer zl_live_...
Content-Type: application/json

The base URL is https://zeroleaks.ai/api/v1. The full machine-readable schema is served from https://zeroleaks.ai/openapi.json.

Endpoints

MethodPathPurpose
GET/healthPublic service health
GET/capabilitiesPublic models, modes, surfaces, and limits
POST/scansCreate a prompt scan
GET/scansList prompt scans
GET/scans/{id}Read prompt scan state and report
POST/scans/{id}/cancelCancel a prompt scan
GET/reportsList prompt-scan reports
GET/reports/{id}Get a report by ID
GET/reports/by-scan/{id}Get a report by scan ID
POST/runtime-scansCreate an SDK relay scan
GET/runtime-scans/{id}Read runtime scan state and report
POST/agent-configsCreate an HTTP endpoint configuration
POST/agent-scansScan a configured HTTP endpoint
POST/skill-scansScan a repository, URL, or ZIP archive

Use the SDK when possible: it applies authentication, serializes request types, handles polling and cancellation, and runs the runtime relay protocol for local agents.

On this page