Sources
onelence_list_sourcesThe traffic sources on a site with visitors, conversions, conversion rate and traffic share (ratios 0 to 1), and the posture of those on the decision board. Sources with a Decision come first in priority order, then acquisition, owned and utility sources. For sources ranked by visitors, or compared with the previous period, use onelence_get_breakdown with dimension=source (and compare=previous_period). Without start and end, counts cover the last 30 completed UTC days (see window), while onelence_get_breakdown runs up to now, so the two can differ slightly. A visitor who arrived from several sources counts under each. Use a source id with onelence_get_decision.
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_sources"
}
}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. | |
| type | No | ||
| group | No | ||
| 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. | |
| object | Yes | ||
| window | Yes | ||
| has_more | Yes | ||
| next_cursor | Yes |