SaaufAI API keys

Create, limit and revoke keys.

  1. Open API keys.
  2. Give the key a name, and optionally lock it to one model, give it a spending cap or an expiry date.
  3. Press Create key and copy it. It's shown once; SaaufAI only keeps a hash.
The Create key form with Name, Model, Spending cap and Expires fieldsThe Create key form with Name, Model, Spending cap and Expires fields
A spending cap stops the key on its own once it has spent that much.

Keeping keys safe

  • Use one key per app or environment so you can revoke one without breaking the rest.
  • Never put a key in a website's front-end code or a public repository. Call the API from your server.
  • Revoke a key from the same page the moment you think it leaked.