API reference
Reference for the ZeroLeaks REST API, the @zeroleaks/sdk client, webhooks and the MCP server.
The ZeroLeaks API creates and reads runtime scans, endpoint scans and skill scans. Call it over HTTP or through the @zeroleaks/sdk client.
The base URL is https://zeroleaks.ai/api/v1. A machine-readable OpenAPI specification is available at https://zeroleaks.ai/openapi.json.
Send an API key in the Authorization header of every authenticated request. See Authentication. The Shield API has its own base URL and reference.
Next steps
Authentication
API keys, scan access and Shield access.
REST API
Every v1 HTTP endpoint.
SDK reference
Methods, options and types of the client.
Webhooks
Skill scan completion events and signature verification.
MCP server
Public documentation resources over MCP.
Errors
HTTP status codes, error codes and rate limits.