Generate session insights
Sessions (Organization)
Generate session insights
Trigger on-demand generation of session insights.
Returns already_exists if insights have already been generated.
Otherwise kicks off generation in the background. Poll the
GET insights endpoint to retrieve results once generation completes.
POST
Generate session insights
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.
The
devin_id is the session ID prefixed with devin- (e.g., devin-abc123).Permissions
Requires a service user with theManageOrgSessions permission at the organization level.
Behavior
- If insights have already been generated (or generation is in progress), the endpoint returns
{ "status": "already_exists" }without re-triggering. - If no insights exist (or the last attempt failed), the endpoint triggers generation in the background and returns
{ "status": "started" }. - Poll the GET session insights endpoint to retrieve results once generation completes.
Authorizations
Service User credential (prefix: cog_)
Path Parameters
Devin session ID (prefix: devin-)
Example:
"devin-abc123def456"
Organization ID (prefix: org-)
Example:
"org-abc123def456"
