---
title: "Get Summary Chart"
method: GET
path: "/api/v1/summary/chart"
tags: ["summary"]
---

# Get Summary Chart

`GET /api/v1/summary/chart`

## Request

- Base URL: `https://api.pdata.world`
- URL: `https://api.pdata.world/api/v1/summary/chart`
- Auth: none declared

Per-source × time-bucket series for the homepage "24h pulse" chart.

Reads pre-materialized 30-min rows from `chart_buckets` (written by
`app/pipeline/chart_bucket.py` at the tail of each source's cycle),
forward-fills missing buckets, then downsamples at read time for
the 7d/30d windows.

Always returns one entry per source present in `chart_buckets`
within the window. Sources with zero rows in the window are
omitted (not zero-filled) — matches the prior behavior where a
source with no event_snapshots produced no `series` row.

## Query parameters

- `window` '24h' | '7d' | '30d'

## Response `200`

Successful Response

- ChartOut
  - `window` string, required
  - `buckets` string[], required
  - `series` ChartSeries[], required
    - `source` string, required
    - `values` number[], required
  - `total` number[], required
  - `_meta` ResponseMetaList: Agent metadata for list/aggregate responses (no cite_as).
    - `attribution` string: Who aggregated this data, under which licence, and whose data it is.
    - `canonical_url` string, required: Stable URL for this resource: the pdata.world page, or the API URL for list responses.
    - `as_of` string, date-time: When this response was generated (UTC).
    - `docs` string: API documentation.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pdata/apis/pdata-backend.md) · [All operations](https://skmtc.dev/pdata/apis/pdata-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/pdata/apis/pdata-backend/revisions/4c9bf3856786?raw)
