GET /api/v1/links — per-link performance for a time window, sorted by revenue.
Scope: secret key (lk_).
Query parameters
Last N days ending now (1–365). Alternative to
from/to.Start of an explicit window
[from, to).End of the window; defaults to now.
Maximum links to return (max 500).
Response
The resolved
{ from, to } window.One row per link, sorted by revenue descending:
slug, channel, destination, clicks,
visitors, conversions, revenue.
