2026
January 2026
v3 API Updates
- Active users endpoint (Jan 9): 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).
2025
December 2025
v3 API Updates
- 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. - 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. - 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. - 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.
- 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: support@cognition.ai
- Documentation: API Overview
- Authentication Guide: Authentication & API Keys
