GET /charts
Draw one of four charts of the user’s reading, as a card they can file into a report: articles_over_time (daily volume), posting_cadence (which day of the week is busiest), unread_by_folder (where the backlog is), top_sources (which feeds post most). The result carries a one-line summary — say that, and let the chart show the shape. Do not describe every bar; the user can see them.
Held in this tab only (sessionStorage) and sent to the base URL above. Closing the tab clears it.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
metric | string | yes | Which chart. Pick the one that answers the question asked. |
days | integer | no | History for the time-based metrics. Default 30, max 365. |
limit | integer | no | Bars to show for the rankings. Default 8, max 20. |
Responses
Section titled “Responses”| Status | Meaning |
|---|---|
200 | Chart the workspace |
400 | Invalid or missing parameters. |
401 | Missing or invalid API key. |
403 | The key lacks the “workspace:read” scope. |
429 | Rate limit exceeded. See Retry-After. |
Requires the workspace:read scope.