script.projects.deployments.list
Lists deployments for an Apps Script project, with pagination via pageSize and pageToken, and returns the results as JSON for inspection or management.
Instructions
Lists the deployments of an Apps Script project [HTTP GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: create, delete, get, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| pageSize | No | [query parameter] The maximum number of deployments on each returned page. Defaults to 50. | |
| scriptId | Yes | [URL path segment] The script project's Drive ID. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| pageToken | No | [query parameter] The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployments | No | ||
| nextPageToken | No |