get_script_metrics
Retrieve execution metrics for Apps Script projects to monitor active users, total and failed executions over time, with daily or weekly granularity.
Instructions
Gets execution metrics for a script project.
Returns analytics data including active users, total executions, and failed executions over time.
Args: service: Injected Google API service client user_google_email: User's email address script_id: The script project ID metrics_granularity: Granularity of metrics - "DAILY" or "WEEKLY"
Returns: str: Formatted string with metrics data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | ||
| user_google_email | Yes | ||
| metrics_granularity | No | DAILY |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |