Operations 7
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“Which analytics projects do I have?”
“Can I get all my Swetrix projects in one call?”
Tell an agent
List all my analytics projects.
Show every project on my account.
Ask an LLM
“How do I start tracking a new website as an analytics project?”
“Can I password-protect a project's dashboard when I create it?”
Tell an agent
Create an analytics project named {name}.
Create project {name} under organisation {organisationId}.
Ask an LLM
“What settings does a particular project currently have?”
“Can I fetch a single project by its ID?”
Tell an agent
Get the details of project {id}.
Show me the configuration of project {id}.
Ask an LLM
“How do I restrict which origins can send data to my project?”
“Can I block certain IP addresses or raise bot protection on an existing project?”
Tell an agent
Rename project {id} to {name}.
Allow only origins {origins} to report to project {id}.
Ask an LLM
“Does deleting a project also wipe all of its collected analytics data?”
“Can I permanently remove a site I no longer track?”
Tell an agent destructive · confirm first
Permanently delete project {id} and all its data.
Remove analytics project {id}.
Ask an LLM
“How do I keep my most important project at the top of the dashboard?”
“Can I pin a project so it shows first?”
Tell an agent
Pin project {id} to the top of my dashboard.
Pin project {id}.
Ask an LLM
“Can I take a project out of the pinned section?”
“What's the way to stop a project from staying pinned at the top?”
Tell an agent destructive · confirm first
Unpin project {id}.
Remove project {id} from my pinned projects.
Documentation
Documentation
https://swetrix.com/docs/statistics-api
Documentation
https://swetrix.com/docs/admin-api