/insights/historyDaily snapshots of value, cost and copies, plus today.
collector.getPortfolioHistory()insights:readIf-None-MatchX-Request-IddaysintegerDays back (7 to 3650, default 365).
200OKThe history.
Daily portfolio snapshots, plus today.
currencystringrequiredISO 4217 code, e.g. USD.
daysintegerrequiredpointsarray of objectrequireddaystring (date)requiredvalueCentsintegerrequiredcostCentsintegerrequiredownedCountintegerrequiredsnapshotCountintegerrequiredDaily snapshots recorded (today’s live point excluded).
304Not ModifiedNot modified: your copy (the ETag in If-None-Match) is current.
invalid_request: The query or body doesn’t match the schema (see errors[]).
unauthorized: Not signed in (no session or token, or an expired one).
feature_required: The plan doesn’t include this (details.feature names it).
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).