v1

latestOpenAPI 3.1.02026-07-26269227514.8 KB
sessions

List sessions with insights

List sessions with detailed insights including message counts, session size classification, and AI-generated analysis.

get/v3/enterprise/sessions/insights

Query parameters

afterstring nullable
firstinteger
session_idsstring[] nullable
created_afterinteger nullable
created_beforeinteger nullable
updated_afterinteger nullable
updated_beforeinteger nullable
tagsstring[] nullable
playbook_idstring nullable
originsstring[] nullable
schedule_idstring nullable
user_idsstring[] nullable
service_user_idsstring[] nullable
repo_namesstring[] nullable

Filter by repository names (e.g., 'owner/repo')

Filter by repository names (e.g., 'owner/repo')

category'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' nullable
is_archivedboolean nullable
org_idsstring[] nullable
include_deleted_orgsboolean

Response

Successful Response

end_cursorstring nullable

Cursor to fetch the next page, or None if this is the last page.

has_next_pageboolean

Whether there are more items available after this page.

totalinteger nullable

Optional total count (can be omitted for performance).