Skip to main content
The v2 API is being deprecated in favor of the Enterprise API which provides role-based access control with service users, session attribution, and new features like cursor-based pagination. See the migration guide for step-by-step instructions.
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 Organization API or Enterprise 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:

Next steps

Migrate to the current API for RBAC with service users, session attribution, and new features. See the migration guide.