Skip to content
Live demo

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.

GET/charts
Runs against the demo workspace
ParameterTypeRequiredDescription
metricstringyesWhich chart. Pick the one that answers the question asked.
daysintegernoHistory for the time-based metrics. Default 30, max 365.
limitintegernoBars to show for the rankings. Default 8, max 20.
StatusMeaning
200Chart the workspace
400Invalid or missing parameters.
401Missing or invalid API key.
403The key lacks the “workspace:read” scope.
429Rate limit exceeded. See Retry-After.

Requires the workspace:read scope.