List affiliateCodeStat
codecks_list_affiliate_code_statRetrieve and filter affiliate code statistics by month/year, including visits, signups, revenue, and new visitors, with pagination, ordering, and optional relation expansion.
Instructions
List affiliateCodeStat items with optional filters and selection.
Available fields: month, newVisitors, revenue, signups, visits, year Relations: affiliateCode
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codecks_list_affiliate_code_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| filters | No | Filter object for the query | |
| order_by | No | Field to order by | |
| selection | No | Selection array (fields/relations) | |
| order_desc | No | Whether to order descending | |
| project_id | No | Unified project filter key (mapped to projectId internally) | |
| include_deleted | No | Include deleted entities where model-specific deleted flags exist | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |
| include_relations | No | Attempt safe first-level relation expansion with guarded fallback |