4. Create an API key
Inference calls authenticate with a Bearer API key (prefixed pzero_), not your session cookie. Keys are how agents and integrations reach the API.
Steps
- Open API keys in your account.
- Click Create key and give it a name.
- Copy the key: it is shown only once. Store it securely.
- Use it as
Authorization: Bearer pzero_…on inference requests.
Managing keys
- List your active keys with their name, prefix, created date, and last used.
- Revoke a key at any time; revocation is immediate and does not affect your other keys.
Two credentials, not interchangeable
The session cookie authenticates account, funding, and supply actions. The Bearer key authenticates inference. Sending a session cookie to the inference endpoint is rejected, and vice versa.