---
title: "get scripts's latest version (hash)"
method: GET
path: "/w/{workspace}/scripts/get_latest_version/{path}"
tags: ["script"]
---

# get scripts's latest version (hash)

`GET /w/{workspace}/scripts/get_latest_version/{path}`

## Path parameters

- `workspace` string, required
- `path` string, required

## Response `200`

Script version/hash

- ScriptHistory
  - `script_hash` string, required
  - `deployment_msg` string

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/7b281701c340/schema)
