Get detailed insights for a specific session, including message counts, session size classification, and AI-generated analysis.
Documentation Index
Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
Use this file to discover all available pages before exploring further.
devin_id is the session ID prefixed with devin- (e.g., devin-abc123).ViewOrgSessions permission at the organization level.Service User credential (prefix: cog_)
Devin session ID (prefix: devin-)
"devin-abc123def456"
Organization ID (prefix: org-)
"org-abc123def456"
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.
The origin from which the session was created.
webapp, slack, teams, api, linear, jira, scheduled, automation, cli, desktop, other 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.
The session's assigned use-case category, if categorisation has run. Only populated on get/list endpoints.
bug_fixing, ci_cd_and_devops, code_quality_and_security, code_review_and_analysis, data_and_automation, documentation_and_content, feature_development, migrations_and_upgrades, other, refactoring_and_optimization, research_and_exploration, unit_test_generation 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', 'out_of_quota', 'no_quota_allocation', 'payment_declined', 'org_usage_limit_exceeded', 'total_session_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, out_of_quota, no_quota_allocation, payment_declined, org_usage_limit_exceeded, total_session_limit_exceeded, error Validated structured output from the session. Only populated on get/list endpoints.
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.