AI-generated Key Takeaways
- 
          This page details how to get a deployment of an Apps Script project using a GET HTTP request. 
- 
          The request requires both the script project's Drive ID and the deployment ID as path parameters. 
- 
          The request body must be empty, and a successful response contains an instance of Deployment. 
- 
          Authorization is required using specific OAuth scopes related to script deployments. 
Gets a deployment of an Apps Script project.
HTTP request
GET https://script.googleapis.com/v1/projects/{scriptId}/deployments/{deploymentId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| scriptId | 
 The script project's Drive ID. | 
| deploymentId | 
 The deployment ID. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Deployment.
Authorization Scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/script.deployments
- https://www.googleapis.com/auth/script.deployments.readonly
For more information, see the OAuth 2.0 Overview.