Common errors
Error bodies are JSON with at least error (human-readable string) and responseTimeMs. Example:
{
"error": "Missing workspace API key. Send Authorization: Bearer <token> or X-Api-Key",
"responseTimeMs": 0
}401: missing, invalid, or revoked workspace API key400: missing text, malformed JSON POST body (when Content-Type is JSON), or on v2 only: whitespace-only input after trim (Text is empty)403: this endpoint version is not enabled on the current plan413: text over 50,000 characters429: request rate exceeded (retryAfterMs) or monthly quota exceeded (usedBillableUnitsandquotaBillableUnits)405: HTTP method other than GET, POST, or OPTIONS304: not an error; conditional GET/POST withIf-None-Matchmatching current ETag (only whennocache=trueis not set)502: not used by these endpoints; v2 returns200and falls back to the same wordlist engine as v1 if translation fails (seemeta.fallbackandmeta.translationErrorin the JSON).