Skip to main content
Extends SessionResponse with additional fields that require extra queries.

Properties

number
required
SessionInsightsAnalysis | null
Type: SessionInsightsAnalysisAI-generated session analysis. None if analysis has not completed.
Category | null
Type: CategoryThe session’s assigned use-case category, if categorisation has run. Only populated on get/list endpoints.
string[] | null
number
required
boolean
number
required
Number of Devin messages sent during the session.
number
required
Number of user messages sent during the session.
string
required
Origin | null
Type: OriginThe origin from which the session was created.
string | null
string | null
SessionPullRequest[]
required
string | null
string
required
required
Session size classification based on ACU usage and message count.
required
StatusDetail | null
Type: StatusDetailAdditional detail about the session’s current status. When status is ‘running’: ‘working’ (actively working), ‘waiting_for_user’ (needs user input), ‘waiting_for_approval’ (awaiting action approval in safe mode), or ‘finished’ (task complete). When status is ‘suspended’: the reason for suspension such as ‘inactivity’, ‘user_request’, ‘usage_limit_exceeded’, ‘out_of_credits’, ‘out_of_quota’, ‘no_quota_allocation’, ‘payment_declined’, ‘org_usage_limit_exceeded’, ‘total_session_limit_exceeded’, or ‘error’. Only populated on get/list endpoints.
Record<string, unknown> | null
Validated structured output from the session. Only populated on get/list endpoints.
string | null
The session’s assigned subcategory display name. ‘Other’ when a category is set but no subcategory was assigned or resolved. Only populated on get/list endpoints.
string[]
required
string | null
number
required
string
required
string | null