---
title: "Retrieve analytics totals"
method: GET
path: "/api/analytics/totals"
tags: ["analytics"]
---

# Retrieve analytics totals

`GET /api/analytics/totals`

Retrieve aggregated lifetime stats (views, reactions, comments) for articles.

### Scope Control:
- Specify `article_id` to query a single post's metrics.
- Specify `organization_id` to retrieve metrics across all articles owned by the target organization.

## Query parameters

- `article_id` integer
- `organization_id` integer

## Response `200`

successful

---

[API](https://skmtc.net/forem/apis/forem-api-v1.md) · [All operations](https://skmtc.net/forem/apis/forem-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/forem/forem-api-v1/versions/bcdd2cdd127c/schema)
