Generate session insights
Generates (or regenerates) the insight for a session and returns it. The session must have finished.
Scope:runAuthorizations
Your ara_ API key from Settings > Ara API. Keys are capability-scoped: run, plugins:read, secrets:read, secrets:write, sessions:read, knowledge:read, repos:read, repos:write, reviews:read, reviews:write, analytics:read, org:read, org:write, attachments:read, attachments:write, plugins:write, guardrails:read, guardrails:write.
Path Parameters
Organization id or slug. Resolve it with GET /v3/self.
The session id.
Response
The generated insight.
A generated summary of a session and its headline metrics. When status is not_generated, only session_id and status are populated.
generated, not_generated A short natural-language summary of what the session did.
The inferred category of the work, e.g. bug_fix or feature.
The outcome of the session, e.g. pr_opened.
Number of messages exchanged during the session.
Relative size of the change.
small, medium, large The first instruction that started the session.

