Get a version
get_versionRetrieve immutable version metadata—version number, description, and creation time—for a Google Apps Script project by specifying script ID and version number. This returns metadata only, not code.
Instructions
Fetches one immutable version by its number: versionNumber, description and createTime. For the code of that version call get_project_content with version_number instead — this endpoint returns metadata only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | The script project id — from the Apps Script editor URL (script.google.com/home/projects/<scriptId>/edit) or from create_project output. For standalone projects it doubles as the Drive file id. | |
| version_number | Yes | The version number from create_version or list_versions. |