PicassoIA API
API Authentication
Every request carries an API key. Create it in your account, keep it on your server, revoke it when you need to.
Authentication
Every request needs an API key in the Authorization header:
Authorization: Bearer pia_sk_…- Creating a key. Create keys on picassoia.com, in your account's API keys section.
- The full key is shown once, when you create it. Store it somewhere safe.
- An account can hold 2 keys at a time. To make room, revoke one.
- Revoking a key. A revoked key stops working at once.
- Keep keys server-side. Anyone with a key can run predictions on your account, so never put one in a web page or a mobile app. The API sends no CORS headers, so browsers cannot call it directly.
- Plan changes. Keys keep existing if your plan changes. Without an Infinite plan, creating predictions answers
403 plan_required. Reading, listing and canceling your predictions keeps working.