Get detailed insights for a specific session, including message counts, session size classification, and AI-generated analysis.
ViewAccountSessions permission at the enterprise level.Service User credential (prefix: cog_)
Successful Response
Session details augmented with quantitative metrics and AI analysis.
Extends SessionResponse with additional fields that require extra queries.
Number of Devin messages sent during the session.
Number of user messages sent during the session.
Session size classification based on ACU usage and message count.
xs, s, m, l, xl new, claimed, running, exit, error, suspended, resuming AI-generated session analysis. None if analysis has not completed.
Additional 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', 'payment_declined', 'org_usage_limit_exceeded', or 'error'. Only populated on get/list endpoints.
working, waiting_for_user, waiting_for_approval, finished, inactivity, user_request, usage_limit_exceeded, out_of_credits, payment_declined, org_usage_limit_exceeded, error Validated structured output from the session. Only populated on get/list endpoints.