Skip to main content
The v2 API provides enterprise-wide management, analytics, and compliance capabilities for enterprise administrators.
Access to the v2 API requires Enterprise Admin role.
Base URL: https://api.devin.ai/v2/enterprise/* Authentication: Enterprise Admin Personal API Keys (learn more)

Permissions

The v2 API requires the Enterprise Admin role. Only users with this role can generate personal API keys that work with v2 endpoints. Service API keys and organization-level keys are not accepted. All v2 endpoints provide enterprise-wide access to resources across all organizations within the enterprise. For organization-scoped access or fine-grained RBAC control, use the v1 API or v3 API respectively.

API Keys

Provision and manage service API keys for your enterprise:

Audit Logs

Access compliance and security audit trails:

Consumption

Track ACU usage and billing:

Groups

Manage enterprise IdP groups:

Members

Manage enterprise members and roles:

Metrics

Access analytics and usage metrics:

Organizations

Manage sub-organizations:

Sessions

View enterprise-wide session data:

Playbooks

Manage enterprise-wide playbooks:

Usage Examples

View Code Examples

Check out code examples and common use cases for the v2 API