API Reference
API Reference
Here you'll find all the technical details for integrating the Leak-Check API. We offer two ways to implement it:
Option A: AI-Assisted Integration (Recommended)
If you use AI-powered IDEs such as Cursor, Windsurf, or GitHub Copilot, we recommend our machine-readable agent file. It contains all the requirements (k-anonymity, rate limiting, mandatory fail-open) so your AI generates correct, error-free code.
curl -s https://raw.githubusercontent.com/hansestack/developer-context/main/agents/leakcheck.md -o docs/hansestack-agent.mdDetails and prompts are available in our Developer Context GitHub repo.
Option B: Interactive Swagger UI
For classic manual implementation or testing in the browser, we provide a full OpenAPI 3.0 specification.
Go to the interactive Swagger UI →
During the Open Beta, API paths, rate limits, or response formats may occasionally change in exceptional cases. Please review the release notes in the GitHub repo.