Get Script Metrics
get_script_metricsRetrieve execution metrics for a script project, showing active users, total and failed executions over time. Choose 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | User's email address | |
| script_id | Yes | The script project ID | |
| metrics_granularity | No | Granularity of metrics - "DAILY" or "WEEKLY" | DAILY |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |