Method: projects.get

  • Retrieves metadata for a specific Google Apps Script project using its Drive ID.

  • Requires authorization with specific scopes for either read or read/write access.

  • The request is made using an HTTP GET method to a structured URL with path parameters.

  • The response provides a detailed Project object containing the script project's metadata upon successful retrieval.

  • Request body should be empty, using gRPC Transcoding syntax for the URL.

Gets a script project's metadata.

HTTP request

GET https://script.googleapis.com/v1/projects/{scriptId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
scriptId

string

The script project's Drive ID.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Project.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/script.projects
  • https://www.googleapis.com/auth/script.projects.readonly

For more information, see the OAuth 2.0 Overview.