Authentication
API keys
Every request to a Zero Proof Labs hosted endpoint authenticates with an API key. Sign in on the platform page to create named keys, up to five active per account. Keys look like zp_ followed by 48 hex characters.
Use it
Send the key as the X-Api-Key header on every request. Keep it in an environment variable; if it leaks, delete it on the platform page and create a new one.
curl
curl https://zeroproofai--zeroproof-studio-api-serve.modal.run/api/... \
-H "X-Api-Key: $ZEROPROOF_API_KEY"python
import os, requests
resp = requests.post(
"https://zeroproofai--zeroproof-studio-api-serve.modal.run/api/...",
headers={"X-Api-Key": os.environ["ZEROPROOF_API_KEY"]},
json={...},
)Daily allowance
Your account has one free daily allowance, shared across all of its keys: 500,000 input tokens and 1,000,000 output tokens. Creating more keys never adds quota. Counters reset at midnight UTC; current usage shows on the platform page.
Responses
401Missing, malformed, or deleted key. Check the X-Api-Key header; manage keys at /platform.
429Daily allowance exhausted. Wait for the midnight UTC reset, or ask for a higher limit.
Questions or a higher limit: jacob@zeroproofai.com