Onboard your Agent
Paste this into Claude Code, Cursor, Windsurf, or any coding agent — it’ll read the full API index and set itself up:Authentication
Every request authenticates with a single header:| Header | Value |
|---|---|
X-API-Key | Your API key (of_...) |
Content-Type | application/json |
Get a key
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 endpoint:
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. |