Get project visits
get_project_visitsReport who has opened a spawnpoint project, per invited email: whether they have actually opened it, when first and last (RFC3339), and a visit count (activity is counted at most once a minute, so this is sessions-ish, not page views). An invited email with no first_opened has never opened the link. A domain shared as @company.com has a row marked domain, and each person at it who opened the link has a row of their own with via naming the domain. Viewers appear here by verifying their email at the gate, so for a restricted project this is the complete answer to "did they look at it". Visits without signing in (a public project, or a restricted one's public paths) are in public_traffic: page views and visitors per UTC day over the last 30 days, and the sites visitors came from. A visitor there is an approximate count of one address and browser on one day, nobody's identity; for how many people came, give visitors_in_window as a range, never the days added up.
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_visits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | the id of the project to fetch |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| viewers | Yes | ||
| project_id | Yes | ||
| visibility | Yes | ||
| public_paths | No | ||
| public_traffic | No |