Skip to content
Fossa

Authentication

Create API keys and understand account access.

Get an API key

Sign in to the website, then open Profile then API Keys and copy a key. Your account starts with one key. Create adds another key with a one-word name; delete revokes it. You can keep up to 32 active keys. Deleting your last key leaves the list empty.

A key authorizes inference charged to its account. It cannot withdraw funds, export a wallet, or manage keys. Keys have no expiry or account spending limit. Keep them in server-side environment variables or a secret manager. Do not include them in browser code, public repositories, URLs, or logs. Revoke a disclosed key. Revocation stops new requests; work already authorized can continue.

Use Authorization: Bearer <key> for every API request. Copy the entire key, including fossa_.

Wallet control and privacy

The hosted API can use your account wallet’s encrypted server-held signing key. Your external sign-in wallet is separate. An API key delegates inference spending from the account; it is not a wallet private key.

Both the hosted API and the selected provider receive request and response content. This route depends on their availability and adds a network hop. Selecting data_retention: "zero" filters a provider declaration; it does not make content invisible to the gateway or prove deletion.

The protocol also supports independent clients that sign locally and send inference directly to providers. The hosted API is an optional account service.