Get affiliateCodeStat
codecks_get_affiliate_code_statRetrieve a single affiliate code statistic by ID, choosing fields like month, visitors, revenue, and signups, to inspect affiliate performance data.
Instructions
Get a single affiliateCodeStat by ID with optional field selection.
Available fields: month, newVisitors, revenue, signups, visits, year Relations: affiliateCode
Example selection: ["month", "newVisitors", "revenue"]
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": {
"id": "<id>"
},
"name": "codecks_get_affiliate_code_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Model ID | |
| selection | No | Selection array (fields/relations) | |
| 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 |