Desearch API requests are authenticated with an API key from Desearch Console. Send the key in the HTTP Authorization header on every request.
Do not prefix the key with Bearer unless your Desearch account or SDK explicitly instructs you to. Use the exact key value shown when the key is generated.
| Status | Likely cause | Fix |
|---|---|---|
401 | Missing, invalid, revoked, or wrong key. | Regenerate the key in Console and update the server-side environment variable. |
422 | Auth is valid, but request params/body are invalid. | Compare your request to the API Reference and remove stale fields. |
429 | The key exceeded a limit. | Add retry/backoff, reduce concurrency, or upgrade/contact support. |