API Keys Overview
API keys let you authenticate with Wren AI. There are two scopes:
Key Type | Scope | Typical Use Cases |
---|---|---|
Organization | Org-wide across all projects | Provisioning projects, automation, admin scripts |
Project | Single project only | App integrations, scoped access for one project |
Choose the right key
- Use an organization key for cross-project tasks, provisioning, and administration
- Use a project key for least-privilege access in a single application or service
Create and manage
- Organization keys: see Organization API Keys
- Project keys: see Project API Keys
Best practices
- Create separate keys per environment (dev/staging/prod)
- Store keys securely (secrets manager, vault). Never commit to source control
- Monitor usage in API History