| Header | Value |
|---|---|
X-API-Key | Your API key (of_...) |
Content-Type | application/json |
auth.md.
One key authenticates everything: the same X-API-Key is used across the Product APIs, Agent Primitives, and the OpenFunnel MCP. There are no separate keys or scopes per surface, provision one key and reuse it everywhere.
Get a key (Agent Auth)
Sign up / sign in
POST /api/v1/agent/sign-up sends a 6-digit code to your email. New users get an account; existing users use this to recover a lost key.Authenticate requests
Send the key asX-API-Key on every other endpoint:
Errors and limits
The sign-up and verify endpoints return structured errors:| Status | error_code | Meaning |
|---|---|---|
| 400 | OTP_EXPIRED | No pending code, call sign-up again. |
| 400 | OTP_INVALID | Wrong code (details.remaining_attempts shows how many tries are left). |
| 429 | RATE_LIMITED | Too many sign-up attempts (details.retry_after_seconds). |
| 429 | OTP_MAX_ATTEMPTS | Code exhausted after 10 tries, call sign-up again. |
| 500 | INTERNAL_ERROR | Transient server error, retry. |
Looking for the endpoint reference? See Agent Sign Up on the home page, and note that every Product API and Agent Primitive page links back to this page for auth.