Zum Hauptinhalt springen
GET
Sitzungen mit Insights auflisten

Berechtigungen

Erfordert einen Servicebenutzer mit der Berechtigung ViewAccountSessions auf Enterprise-Ebene.

Autorisierungen

Authorization
string
header
erforderlich

Servicebenutzer-Anmeldedaten (Präfix: cog_)

Abfrageparameter

after
string | null
first
integer
Standard:100
Erforderlicher Bereich: 1 <= x <= 200
session_ids
string[] | null
created_after
integer | null
created_before
integer | null
updated_after
integer | null
updated_before
integer | null
tags
string[] | null
playbook_id
string | null
origins
enum<string>[] | null
Verfügbare Optionen:
webapp,
slack,
teams,
api,
linear,
jira,
automation,
cli,
desktop,
code_scan,
other
schedule_id
string | null
user_ids
string[] | null
service_user_ids
string[] | null
repo_names
string[] | null

Nach Repository-Namen filtern (z. B. 'owner/repo')

category
enum<string> | null
Verfügbare Optionen:
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,
refactoring_and_optimization,
research_and_exploration,
security,
unit_test_generation
is_archived
boolean | null
org_ids
string[] | null
include_deleted_orgs
boolean
Standard:false

Antwort

Erfolgreiche Antwort

items
SessionInsightsResponse · object[]
erforderlich
end_cursor
string | null

Cursor zum Abrufen der nächsten Seite oder None, falls dies die letzte Seite ist.

has_next_page
boolean
Standard:false

Gibt an, ob nach dieser Seite weitere Elemente verfügbar sind.

total
integer | null

Optionale Gesamtanzahl (kann aus Leistungsgründen weggelassen werden).