List sessions for account
Sessions (Enterprise)
List sessions for account
List all sessions across the enterprise.
GET
List sessions for account
Permissions
Requires a service user with theViewAccountSessions permission at the enterprise level.Authorizations
Service User credential (prefix: cog_)
Query Parameters
Required range:
1 <= x <= 200Available options:
webapp, slack, teams, api, linear, jira, automation, cli, desktop, code_scan, other Filter by repository names (e.g., 'owner/repo')
Available options:
bug_fixing, ci_cd_and_devops, code_quality_and_security, code_review, code_review_and_analysis, data_and_automation, documentation_and_content, feature_development, migrations_and_upgrades, other, production_investigation, refactoring_and_optimization, research_and_exploration, security, unit_test_generation Filter to sessions created by any of these automations
Filter to child sessions spawned by this parent session
Response
Successful Response
Cursor to fetch the next page, or None if this is the last page.
Whether there are more items available after this page.
Optional total count (can be omitted for performance).

