401 with INVALID_API_KEY, never partial data.
Keys
- Create and revoke keys in the console under API keys. A key is shown once, when you create it; JobLake stores only a hash of it.
- Give each app, environment or AI assistant its own key, so you can revoke one without touching the others.
- A key can have a monthly spend cap. Once it is reached the key answers
402SPEND_CAP_REACHEDuntil the next month (UTC); your other keys keep working. - Revoking a key stops it at once.
Scopes
Every paid endpoint needs theread scope. A key without it answers 403 MISSING_SCOPE.
Keep keys secret
- Call the API from your server, never from a browser or a mobile app, where anyone can read the key.
- Keep keys in environment variables or a secrets manager, not in your code.
- If a key leaks, revoke it in the console and create a new one.