API Reference

Google Analytics

Retrieve Google Analytics (GA4) data — realtime active users, traffic sources, top pages, events, and daily engagement trends.

← All docs
all core 16 API calls

Plugin ID: google-analytics

API calls

Every tool Google Analytics exposes. Click a call to see its full parameter schema.

Invoking from code

Authenticate with a bearer token, then call any tool above. This example runs get_ga_summary for the google-analytics app.

curl -X POST https://api.kiap.ai/api/plugin/call \
  -H "Authorization: Bearer cbk_..." \
  -H "Content-Type: application/json" \
  -d '{ "pluginId": "google-analytics", "toolName": "get_ga_summary", "args": {} }'