affiliate_optimise-media_get_earnings_summary
Summarize Optimise Media earnings by date range, programme, and transaction status. Get total earnings plus unpaid-age context; pair with transaction lists for deeper analysis.
Instructions
Summarise earnings on Optimise Media across a date window, with breakdowns by programme and by transaction status. Use this when the user wants a single-figure answer plus context — e.g. "total earnings in Q1 with status split". Returns an EarningsSummary including oldestUnpaidAgeDays; pair with list_transactions to drill into the underlying records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| limit | No | ||
| cursor | No | ||
| status | No | ||
| maxAgeDays | No | ||
| minAgeDays | No | ||
| programmeId | No |