Get aggregated session metrics for the enterprise account.
Optionally filter by playbook_id to get metrics for sessions created with a specific playbook.
ViewAccountMetrics permission at the enterprise level.Service User credential (prefix: cog_)
Successful Response
Response model for session metrics.
Session counts by origin type.
Note: The internal analytics model tracks additional origins (cli, vscode_extension, devin_spaces) that are not exposed in this API model. Sessions from those origins are not included in the API response.
Session counts by size category.
Session counts by size category.