List execution processes
list_processesLists execution history for Google Apps Script processes, with filters for script, status, time, and function to monitor runs or identify failed and timed-out executions.
Instructions
Lists execution processes (the execution history): each entry carries projectName, functionName, processType (WEBAPP, EXECUTION_API, TIME_DRIVEN, TRIGGER, SIMPLE_TRIGGER, ADD_ON, EDITOR, MENU, BATCH_TASK), processStatus (COMPLETED, FAILED, TIMED_OUT, RUNNING, PAUSED, CANCELED, DELAYED, UNKNOWN), userAccessLevel, startTime and duration. With script_id only that script's executions are listed; without it, ALL executions started by the authorizing user across their scripts. To hunt errors, filter statuses=["FAILED","TIMED_OUT"] — but note the API returns no error messages or logs here, only the fact and time of failure: get the message by re-running via run_function, or from the Apps Script dashboard / Cloud Logging. start_time/end_time (RFC3339 UTC) bound the process start; paginate with page_token. Requires the script.processes scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | Only these launch types (EXECUTION_API = run_function calls, TIME_DRIVEN = clock triggers). | |
| end_time | No | Only processes started before this RFC3339 UTC timestamp. | |
| statuses | No | Only these process states, e.g. ["FAILED","TIMED_OUT"] for error hunting. | |
| page_size | No | Processes per page (1..50; API default 50). | |
| script_id | No | Limit to this script's executions; omit for all of the caller's executions. | |
| page_token | No | nextPageToken from the previous page. | |
| start_time | No | Only processes started at or after this RFC3339 UTC timestamp. | |
| deployment_id | No | Only processes of this deployment. | |
| function_name | No | Only processes that ran this function. |