Skip to navigation

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.

Authentication

AuthorizationBearer

Personal API Key (apk_user_) or Service API Key (apk_)

Path parameters

devin_idstringRequired

Devin session ID (prefix: devin-)

Query parameters

org_idstring or nullOptional

Response

Successful Response
session_idstring
The session ID for which insights generation was triggered.
statusstring
The status of the generation request.

Errors

422
Unprocessable Entity Error