API Keys
Create, scope, and manage API keys for the coding plan.
On this page
Overview
API keys authenticate requests to the coding plan API. Each key is scoped to specific permissions and can be revoked individually. Maximum number of keys depends on your plan tier.
Create a key
- 1Log in to the IN2PETA dashboard
- 2Navigate to API Keys in settings
- 3Click Create Key, give it a name, select scopes
- 4Copy the key value (shown once)
Permissions
| Scope | Access |
|---|---|
| read | List models, check quota, view usage |
| create | Send completions, create predictions |
| write | Full read + create + cancel + model management |
Best practices
- Create a separate key for each agent or application
- Use the minimum required scope
- Rotate keys every 90 days
- Store keys in environment variables or a secrets manager
- Never commit keys to version control