TRUST / SECURITY
Security
How to keep your account and API keys safe, and how to report a problem.
Passwords and API keys
Log in only at api.headcountlabs.com/data/login. Create and manage API keys at api.headcountlabs.com/data/keys. Never send a password or API key by email, including to Headcount Labs support. Support will not ask for either.
Keep API keys on your server or in a protected environment variable. Do not put them in browser code, mobile apps, URLs or source control. Give each system its own key, so you can replace one without touching the others.
How API keys are handled
- Headcount Labs stores a digest of each key, not the key itself. The full key is shown once, when you create or rotate it. After that the keys page shows only its last characters.
- Press Rotate on the keys page to give a key a new secret. The old secret stops working at once. Press Revoke to switch a key off; a revoked key gets
401from then on. - Creating, rotating and revoking a key is recorded in an audit log on our side.
- The key actions on the keys page only accept requests that come from the page itself.
How the API protects the service
- The API is served over HTTPS at
api.headcountlabs.com. Every data route needs a bearer key; a missing, unknown or revoked key gets401withWWW-Authenticate: Bearerand no data. - Request bodies are limited to 16,384 bytes, filters are validated, and a query that runs longer than 90 seconds stops with
503 query_too_broad. - Each account is limited to 1 request a second (60 a minute) and, on the free allowance, 1,000 requests a day, across all of its keys. Each key may have 10 requests running at once. Going over returns
429with aRetry-Afterheader. See rate limits. - Every error response carries a
request_id. Quote it when you contact support.
MCP sign-in
The MCP server at https://api.headcountlabs.com/mcp uses OAuth sign-in in your browser, so there is no API key to copy into an AI client. Setup steps are on the MCP page. Tools that change billing settings, such as set_overage, change them only when you ask your agent to.
If a key may have leaked
Rotate or revoke it on the keys page. Then look at your usage to see whether it was used. The usage reporting routes list your recent requests.
Report a security problem
Email [email protected]. Describe the problem without including passwords or API keys. The terms of service ask you not to run security scans or penetration tests against the service without our written permission, so ask first.
Security reviews
If your security or vendor review needs more detail, email [email protected] and tell us what it requires.