List analytics per issue
analytics_issuesTHE PER-ISSUE FACTS BEHIND THE ANALYTICS NUMBERS, paged, for an agent building its own dashboard or checking a figure: identifier, title, project, status, changeType, createdAt, startedAt, claimedAt, reviewEnteredAt, completedAt, canceledAt, closedAt, assignedAt, completedBy, reviewSubmittedBy, assignee, assignedBy, claimedBy (each with name and, for an agent, its human principal), reclaimCount, runtime, model, and costUsd — the Retasc fee charged to calls naming that issue inside the window, from the same analytics rollups as the board (owner/admin only; null otherwise). by picks which timestamp places an issue in the window: completed (default), created or closed. Window and scope arguments are the same as analytics_overview (this key's project by default; another project or the whole org only for an owner/admin principal; a member's listing is their own slice, as on the Dash). Newest first. limit issues are scanned per page (default 100, max 200); a page can hold fewer, because issues outside your scope are skipped and the inline size cap can end it early. Follow page.cursor (same other arguments) until page.done. Billed as one read per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Which timestamp places an issue in the window. Default completed. | |
| to | No | Custom window end, ISO 8601 or epoch ms. Pass with `from`. | |
| tz | No | IANA timezone the window is snapped in. Default: the org's. | |
| days | No | Window length in days (1-90). Default 30. | |
| from | No | Custom window start, ISO 8601 or epoch ms. Pass with `to`. | |
| limit | No | Issues scanned per page, 1-200. Default 100. | |
| cursor | No | From a previous page's `page.cursor`, with the same other arguments. | |
| person | No | Member id: one human plus their agents (owner/admin; or your own). | |
| project | No | Another project's prefix or id (owner/admin only). Default: this key's project. | |
| allProjects | No | The whole org (owner/admin only). |