API documentation

Authentication

Version 2026-10-15 · effective Oct 15, 2026

Keys

Every request carries one API key, sent as a Bearer token:

Authorization: Bearer ex_live_<your-key>

A key looks like `ex_live_` or `ex_test_` followed by a random string. The secret is shown once, when you create the key in the portal. Exegesy stores only a hash, so a lost secret cannot be recovered; create a new key and revoke the old one.

Never put a key in client-side code, a mobile app, a public repository or a shared document. Keep it in a secrets manager or an environment variable such as `EXEGESY_API_KEY`.

Test and live keys

Test (`ex_test_`)Live (`ex_live_`)
ReturnsThe same endpoints and shapes. A search returns no passagesThe same endpoints and shapes, with passages
BilledNeverYes: its calls are metered (see Metering and billing)
Counts toward limitsLimits applyLimits and spend controls apply

Use test keys while you build. Calls with a test key never change a usage balance or invoice. A search with a test key returns no passages, so use a live key to check results.

Scopes

A key has one or more scopes:

  • `read`: read endpoints.
  • `write`: create, change and delete.
  • `admin`: administrative operations.

A write call with a key that lacks `write` is refused with `403 insufficient_scope`.

IP allow-lists

A key may list the addresses or CIDR ranges it may be used from. A request from any other address is refused with `403 ip_not_allowed`. An empty list allows any address.

Expiry and revocation

A key may have an expiry date; after it, calls are refused. Revoking a key takes effect at once. A revoked or expired key answers `409 key_inactive`.

Plans

Basic accounts have no API keys. API keys are available from the Standard plan. Your plan's key limit is in Limits.