Docscoding planAPI Keys

API Keys

Create, scope, and manage API keys for the coding plan.

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

  1. 1Log in to the IN2PETA dashboard
  2. 2Navigate to API Keys in settings
  3. 3Click Create Key, give it a name, select scopes
  4. 4Copy the key value (shown once)

Permissions

ScopeAccess
readList models, check quota, view usage
createSend completions, create predictions
writeFull 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