get_project_affiliates_breakdown
Retrieve affiliate breakdown for a project grouped by audience, tier, region, or status. Filter by date range, sort by metrics, and apply dimension filters.
Instructions
Affiliate breakdown for a project (by audience, tier, region, or status): GET /api/v1/projects/:projectId/affiliate-portal/global-breakdown. groupBy is required (audience | tier | region | status). Optional sortBy, sortOrder, date filters, and dimension filters. Example: {"project_id":"","groupBy":"region","dateRange":"30d"}. If the API returns HTTP 429, wait Retry-After seconds (if present) before retrying.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"groupBy": "<groupBy>"
},
"name": "get_project_affiliates_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| groupBy | Yes | ||
| dateRange | No | ||
| dateFrom | No | ||
| dateTo | No | ||
| sortBy | No | ||
| sortOrder | No | ||
| statuses | No | ||
| regions | No | ||
| audiences | No | ||
| tiers | No |