What protects a request is set on the key that carries it, together with the workspace's API IP allowlist and its audit log. Each refusal is recorded in Logs with its reason, its HTTP status and its error code.

Access and capabilities

What a key may do is set in its Access step:

  • Capabilities - a new key has every capability on except web search and fine-tuning; turn off what that key does not need.
  • Owner and expiry - never, 24 hours, 7, 30 or 90 days, 1 year, or a date. The owner gets an email 7 days before.
  • IP allowlist - a key's own list, which narrows the workspace's API allowlist.

API IP allowlist

Settings › General holds the workspace's API IP allowlist (Edit…). It limits where API requests may come from, on every key; any other address gets 403. A key can narrow it further with its own list - never widen it.

Allowed and excluded models

The Model and fallback step holds three lists:

  • Allowed models - empty means any model in the catalog.
  • Excluded models - refused even when they are otherwise allowed.
  • Fallback models - tried in order when the model's provider fails: a provider 5xx, 429 or 408, a timeout, a network error, or a provider whose circuit is open. Other 4xx errors go back to your app unchanged, and Infere's own limits never fall back - they refuse the request before any model is called. Fallback is not used on development keys.

The Protection step

Every key has a Protection step. These are the settings that inspect a request before or after the model sees it:

  • Attack check - Off, Monitor (answered and flagged in Logs) or Block (refused with 403).
  • Personal data - Allow (not checked), Redact (the model sees placeholders; the response is redacted too and arrives in one piece, not streamed) or Block (403).
  • Blocklist - terms that refuse a request with 403. Matched in the request's own messages, ignoring case; the model isn't called and the request costs nothing.
  • Content moderation - per category, block (403 before the model is called) or flag. Any category on adds one check-model call per request.
  • Data residency - US, EU, UK, CA, AU, JP, SG, BR. Empty means any region; a model with no endpoint in the chosen regions gets 503.
  • Compliance - none by default; Change sets it.

The key's secret

The secret is shown once, on the page that follows Create key. Copy it then, or Download as .env - a file that sets INFERE_API_KEY; keep it out of version control. After you leave the page it is masked for good. Revoke stops a key at once, and Delete permanently… asks you to type the key's name and can't be undone.

Account security

Your account holds Two-factor authentication (Turn on…), Trusted devices with each device's last sign-in and Remove, and Session timeout, which signs you out after a period without activity. Security emails - a sign-in from a new device, a two-factor or password change - are always on.

Audit log and export

Settings › Audit log records every change in the workspace: when, who, what, the resource and the change (before → after). Filter by period and more, and Export.

For the requests themselves, Logs keeps every one - refused ones included - for 90 days, and Settings › Export produces a full export of them, with request and response text off by default.