2026
January 2026
v3 API Updates
-
Queue endpoint (Jan 21): Added
GET /v3beta1/enterprise/queueendpoint for enterprise admins to monitor session queue health. Returns the total number of queued sessions and a status indicator (normal,elevated, orhigh). Useful for setting up alerts for capacity issues. RequiresViewAccountMetricspermission. -
Sessions endpoints (Jan 19): Added
GET /v3beta1/enterprise/sessions/{devin_id}andGET /v3beta1/organizations/{org_id}/sessions/{devin_id}endpoints for retrieving details of a specific session. AddedPOST /v3beta1/enterprise/sessions/{devin_id}/messagesandPOST /v3beta1/organizations/{org_id}/sessions/{devin_id}/messagesendpoints for sending messages to active sessions (sessions are automatically resumed if suspended). Also addedoriginsfilter parameter to the sessions list endpoints for filtering by session origin (webapp,slack,teams,api,linear,jira,other). -
Audit logs order parameter (Jan 17): Added
orderquery parameter (ascordesc, defaults todesc) to the enterprise and organization audit logs endpoints for controlling the sort order of results. -
Secrets router (Jan 16): Added organization-level secrets management endpoints:
GET /v3beta1/organizations/{org_id}/secretsfor listing secrets,POST /v3beta1/organizations/{org_id}/secretsfor creating secrets, andDELETE /v3beta1/organizations/{org_id}/secrets/{secret_id}for deleting secrets. RequiresManageOrgSecretspermission. -
Audit logs fix (Jan 15): Fixed an issue where
end_cursorwas not returned in audit logs API responses when there were items on the page. -
Service user provisioning (Jan 14): Added
POST /v3beta1/enterprise/service-usersandPOST /v3beta1/organizations/{org_id}/service-usersendpoints for programmatically provisioning new service users. Enforces privilege escalation prevention: the target role’s permissions must be a subset of the caller’s permissions, andManageServiceUserspermissions can never be granted. RequiresManageAccountServiceUsersorManageOrgServiceUserspermission respectively. -
IDP Groups enterprise-level endpoints (Jan 14): Added
GET /v3beta1/enterprise/idp-groupsfor listing IDP groups registered with an enterprise,POST /v3beta1/enterprise/idp-groupsfor bulk registering IDP groups (up to 100 at a time), andDELETE /v3beta1/enterprise/idp-groups/{idp_group_name}for removing a registered IDP group. Groups with existing role assignments or user memberships cannot be deleted. RequiresManageAccountMembershippermission. -
Audit log actions (Jan 12): Added
create_join_request,automatic_join_event, andreject_join_requestaction types to audit log responses. -
Active users endpoint (Jan 8): Added
GET /v3beta1/enterprise/metrics/active-usersendpoint for retrieving unique active users for a custom date range. Unlike the DAU/WAU/MAU endpoints which return lists broken down by period, this endpoint returns a single count of unique active users across the entire specified range. Supports filtering by organization IDs and configurable activity thresholds (min_sessions,min_searches). -
Hypervisors default status (Jan 8): The
GET /v3beta1/enterprise/hypervisorsendpoint now defaults to filtering byavailablestatus instead of returning all hypervisors. Passstatus=allto retrieve hypervisors regardless of status. -
Session secrets (Jan 5): Added
session_secretsparameter to the session creation endpoint (POST /v3beta1/organizations/{org_id}/sessions). Session secrets are temporary secrets available only within the current session and are not stored in organization secrets. -
Pagination fix (Jan 5): Fixed pagination bug in the v3 Enterprise Users API where
end_cursorwas not always returned correctly.
-
Repo cloning fix (Jan 20): Fixed the
POST /v2/enterprise/organizations/{org_id}/clone-repositoryendpoint schema. Removed the legacyRepoSetupStepsTformat and simplified the request body to use flat fields (pull_repo_commands,run_lint_commands,run_project_commands,update_dependencies_commands,repo_note,repo_path). -
Git permissions URL fields (Jan 15): Added
group_prefix_urlandrepo_urlfields to theGitPermissionRequestschema, providing full URL alternatives to path-based repository and group prefix matching. -
Organization member role field (Jan 8): Added
org_role_namefield to theGET /v2/enterprise/organizations/{org_id}/membersresponse, showing each member’s role within the organization. -
Organization creation option (Jan 8): Added
add_creator_as_memberboolean parameter (defaults totrue) toPOST /v2/enterprise/organizations, allowing enterprise admins to create organizations without automatically adding themselves as a member. - Consumption timezone documentation (Jan 7): Added timezone behavior documentation to the daily consumption endpoints. Billing cycles use midnight PST (08:00:00 UTC) as the day boundary.
- Secret types update (Jan 16): Added
dictionaryas a recognized secret type value in the secrets API schema. Note: creating secrets with typedictionaryis deprecated; usecookie,key-value, ortotpinstead.
2025
December 2025
v3 API Updates
- Org group limits endpoint (Dec 23): Added
GET /v3beta1/enterprise/org-group-limitsandPUT /v3beta1/enterprise/org-group-limitsendpoints for managing organization group configurations. Groups map sets of organization IDs to optional max Agent Compute Unit limits per billing cycle. RequiresManageOrganizationspermission. This feature requires enablement by your account team. - Session archive endpoint (Dec 11): Added
POST /v3beta1/organizations/{org_id}/sessions/{devin_id}/archiveendpoint for archiving sessions. Also addedarchivequery parameter toDELETE /v3beta1/organizations/{org_id}/sessions/{devin_id}(terminate session) andis_archivedfield to session responses. - Order parameter removal (Dec 11): Breaking change: Removed the
orderquery parameter from the sessions list endpoint (GET /v3beta1/organizations/{org_id}/sessions). Clients must stop sendingorder; use cursor-based pagination withfirst/afterparameters instead. - Searches router (Dec 10): Added enterprise and organization-level search endpoints at
GET /v3beta1/enterprise/searchesandGET /v3beta1/organizations/{org_id}/searchesfor listing searches with pagination and filtering. - Audit logs improvements (Dec 10): Added
dataobject,service_user_name, anduser_emailfields to audit log responses. Addedupdate_git_permissionaction type. - Advanced sessions support (Dec 8): Added support for advanced session modes (
analyze,create,improve,batch,manage) with new request parameters:advanced_mode,child_playbook_id,session_links, andbypass_approval. Session responses now includechild_session_ids,parent_session_id, andis_advancedfields. - Session Tags router (Dec 5): Added CRUD endpoints at
/v3/beta/enterprise/organizations/{org_id}/tagsfor managing allowed session tags per organization. When tag validation is enabled, session creation and tag updates enforce tags from the allowed list. - Enterprise Sessions endpoint (Dec 5): Added
GET /v3/beta/enterprise/sessionsto list sessions across the enterprise with optionalorg_idsfiltering. - Git Permissions updates (Dec 5): Added
prefix_pathfield for matching repositories by path prefix. AddedPUTandDELETEendpoints for bulk replacing or clearing all permissions for an organization. - Session impersonation (Dec 5): Added
create_as_user_idparameter to the session creation endpoint, allowing service users to create sessions on behalf of other users. - Hypervisors response change (Dec 5): The hypervisors endpoint response now returns
utilization_percentageinstead ofmax_slotsandavailable_slots. - Notes and Playbooks routers (Dec 1): Added enterprise and organization-level Notes and Playbooks management endpoints to v3 API. Notes endpoints require
ManageAccountKnowledgepermission, Playbooks endpoints requireManageAccountPlaybookspermission.
- Org group limits endpoint (Dec 23): Added
GET /v2/enterprise/org-group-limitsandPUT /v2/enterprise/org-group-limitsendpoints for managing organization group configurations. Groups map sets of organization IDs to optional max Agent Compute Unit limits per billing cycle. The PUT endpoint replaces the entire configuration (groups not in the request are deleted). This feature requires enablement by your account team. - Self endpoint (Dec 23): Added
GET /v2/enterprise/selfendpoint returning information about the authenticated API key, including the key ID, associated user ID, user email, and organization ID. - Sessions messages field (Dec 11): Added
messagesfield to v2 sessions API response, providing all session messages similar to the v1 API. - Response schema improvements (Dec 11): Added proper response schemas for audit logs, snapshots, and playbook endpoints including
AuditLogsResponse,EnterpriseSnapshotResponse, andEnterprisePlaybookResponse.
- Audit logs deprecation (Dec 5): The
/v1/audit-logsendpoint is deprecated; use the v2 or v3 audit logs endpoints instead.
November 2025
v2 Enterprise API Updates
- Pagination limit update (Nov 21): Maximum pagination limit reduced from 1000 to 200 items per request for improved performance and reliability. Default limit remains 100. This change does NOT affect the v1 External API.
- Sessions router (Nov 16): Added comprehensive sessions management endpoints to v2 API for enterprise administrators.
- Snapshots API endpoint (Nov 3): Added endpoint for retrieving snapshot details programmatically.
- Terminate session endpoint (Oct 31): Added endpoint to terminate running sessions programmatically.
October 2025
v3 API Launch (Beta)
- API v3 launch (Oct 23): Launched v3 API with full RBAC support, service user authentication model, and comprehensive audit logging for service user actions.
- Snapshot creation endpoint (Oct 30): New V2 Enterprise Organizations API endpoint for enterprise admins to programmatically clone repositories and create snapshots with custom setup steps and startup commands.
- Playbooks API improvements (Oct 14): Added API for publishing enterprise playbooks with improved functionality for programmatic playbook management.
September 2025
v2 Enterprise API Updates
- Roles router (Sep 25): Added enterprise roles router with five API endpoints for managing roles programmatically.
- Playbooks API (Sep 6): Added comprehensive Playbooks API endpoints to v1 for creating, updating, listing, and deleting playbooks programmatically.
- Secrets endpoint (Sep 5): Added new
POST /v1/secretsendpoint for creating secrets via API.
March 2025
v2 Enterprise API Launch
- API v2 launch (Mar 23): Launched Enterprise API v2 for enterprise administrators with organization management, consumption tracking, and member management capabilities.
2024
October 2024
v1 API Launch (Oct 26)
- Launched REST API for programmatic session creation and management
- Session creation, monitoring, and management endpoints
- File attachment upload and download support
- Basic authentication with API keys
- Idempotent session creation support
- Use cases: automatic PR reviews, lint error resolution, migrations
API Versioning Policy
Backward Compatibility
We strive to maintain backward compatibility within major versions. Breaking changes will be:- Announced at least 7 days in advance
- Documented in these release notes
- Accompanied by migration guides when applicable
Deprecation Process
When we deprecate an API feature:- Announcement: We’ll announce the deprecation with a timeline
- Deprecation Period: The feature remains available but marked as deprecated
- Removal: The feature is removed after the deprecation period
Version Support
- v1: Generally available, actively maintained
- v2: Generally available, actively maintained
- v3: Beta - subject to changes, not recommended for production use yet
Migration Guides
Migrating from v1 to v3
If you’re building new integrations that require fine-grained permissions, consider using v3 instead of v1: Key Differences:- Authentication: v3 requires service user tokens instead of personal/service API keys
- Authorization: v3 provides full RBAC with role-based permissions
- Endpoints: v3 uses different URL patterns (
/v3beta1/*instead of/v1/*)
- Create a service user in Enterprise Settings > Service Users
- Assign appropriate roles to the service user
- Generate an API key for the service user
- Update your integration to use v3 endpoints
- Test thoroughly in a non-production environment
Migrating from v2 to v3
v3 provides more flexibility than v2 for enterprise automation: Key Differences:- Authentication: v3 uses service users instead of requiring Enterprise Admin personal keys
- Authorization: v3 supports granular RBAC instead of enterprise-admin-only access
- Scope: v3 can be scoped to specific organizations, v2 is always enterprise-wide
- You need automation with non-admin permissions
- You want to scope API access to specific organizations
- You need clear separation between human and service accounts
- You require detailed audit trails for automated actions
Support
For questions about API changes or migration assistance:- Email: [email protected]
- Documentation: API Overview
- Authentication Guide: Authentication & API Keys
