Get org conversation stats
GET /api/organizations/{org_id}/conversations/stats
Get aggregated statistics for organization conversations. Returns counts of active conversations, running runtimes, completed conversations, and aggregated cost/token usage for the organization. Access Control: Requires VIEW_ORG_CONVERSATIONS permission (Admin or Owner role). Returns: OrgConversationStats: Aggregated statistics for the org
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | `string | null` | yes |
X-Org-Id | header | `string | null` | no |
Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
active_conversations | integer | no | — |
running_runtimes | integer | no | — |
completed_24h | integer | no | — |
completed_7d | integer | no | — |
completed_30d | integer | no | — |
total_cost | number | no | — |
total_prompt_tokens | integer | no | — |
total_completion_tokens | integer | no | — |
total_tokens | integer | no | — |
Operation ID: get_org_conversation_stats_api_organizations__org_id__conversations_stats_get