Conversions
onelence_list_conversionsLists individual conversions (purchases, sign-ups, leads and other conversion events OneLence tracked), newest first, each with its time, type, value and currency, attribution method, affiliate and coupon, plus how many conversions the window holds. Pass site for one site; without it, every site in the workspace. Visitor identities are never included.
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": "onelence_list_conversions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Window end, inclusive for a date. Defaults to now. | |
| site | No | Site domain (e.g. example.com) or site id. Defaults to the workspace's newest active site. | |
| limit | No | Items to return (default 25). | |
| start | No | Window start: a date (YYYY-MM-DD) or ISO 8601 date-time. Defaults to 30 days before end. | |
| cursor | No | next_cursor from the previous call, for more. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| more | No | How to fetch the next page, when has_more. | |
| site | Yes | ||
| total | Yes | ||
| object | Yes | ||
| window | Yes | ||
| has_more | Yes | ||
| attribution | Yes | ||
| next_cursor | Yes |