read
analytics
Run a compact GA4 report over the last N days. Provide GA4 API dimension and metric names (e.g. dimensions ["sessionDefa
Changed onRun a compact GA4 report over the last N days. Provide GA4 API dimension and metric names (e.g. dimensions ["sessionDefaultChannelGroup"], metrics ["sessions","totalRevenue"]). Queries the Google Analytics Data API, see https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema
post/api/v1/tools/ga4_run_report
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopesanalytics:read
Request body
object required
dimensions, string[] required
metrics, string[] required
days, integer
Lookback window (default 30).
limit, integer
Max rows (default 50).
Response
Tool result
object required
ok, boolean required
result, unknown required
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning