get_project_affiliate_total_stats
Retrieve aggregate affiliate totals for your project, filtering by status, region, audience, tier, or date range.
Instructions
Aggregated project-wide affiliate totals: GET /api/v1/projects/:projectId/affiliate-portal/total-stats. Optional filters: statuses, regions, audiences, tiers, dateRange, dateFrom, dateTo (see fuul-server GetTotalStatsDto). Example: {"project_id":""} or {"project_id":"","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>"
},
"name": "get_project_affiliate_total_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| statuses | No | ||
| regions | No | ||
| audiences | No | ||
| tiers | No | ||
| dateRange | No | ||
| dateFrom | No | ||
| dateTo | No |