---
title: "diff local script hashes against deployed versions"
method: POST
path: "/w/{workspace}/scripts/raw_temp/diff"
tags: ["script"]
---

# diff local script hashes against deployed versions

`POST /w/{workspace}/scripts/raw_temp/diff`

## Path parameters

- `workspace` string, required

## Request body

- object
  - `scripts` object, required — map of script path to SHA256 content hash
  - `workspace_deps` object[] — workspace dependencies to diff
    - `path` string, required — CLI path (e.g. dependencies/package.json)
    - `language` 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb' | 'bunnative' | 'dbt', required
    - `name` string — named workspace dependency (null for default)
    - `hash` string, required — SHA256 content hash

## Response `200`

list of paths that differ from deployed versions

- string[]

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/versions/155a35b3caff/schema)
