Raw Umami API GET
umami_api_getRetrieve raw JSON by making read-only GET requests to any Umami API endpoint that has no dedicated tool, including newer or custom endpoints like session data, reports, and teams.
Instructions
Make a read-only GET request against any Umami API endpoint that does not have a dedicated tool here.
Use this only as a fallback. The dedicated tools handle date parsing, website resolution, and formatting; this one does not. It is the right choice for endpoints such as /websites/:id/sessions/weekly, /websites/:id/session-data/properties, /websites/:id/session-data/values, /reports, /teams, /me, and anything added in a newer Umami release.
Timestamps in params must be epoch milliseconds, and website IDs must be UUIDs. Only GET is permitted, so this tool cannot create, update, or delete anything.
Args:
path (string, required): API path relative to the API root, for example '/websites/abc-123/sessions/weekly'. Do not include the /api prefix or the host.
params (object, optional): Query string parameters as string values, for example { startAt: '1735689600000', endAt: '1738368000000', timezone: 'America/New_York' }.
Returns: The raw JSON response from Umami, pretty-printed.
Examples:
Weekly session heatmap: path="/websites//sessions/weekly", params={ startAt: "...", endAt: "...", timezone: "America/New_York" }
Session property names: path="/websites//session-data/properties", params={ startAt: "...", endAt: "..." }
Current user: path="/me"
Error handling:
Rejects any path containing a query string; put parameters in 'params' instead.
Returns the Umami status code and path on failure, so a 404 usually means the endpoint does not exist on this Umami version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | API path relative to the API root, starting with '/'. Example: '/websites/<uuid>/sessions/weekly'. | |
| params | No | Query string parameters as string values. |