---
title: "run script preview without starting a new job"
method: POST
path: "/w/{workspace}/jobs/run_inline/preview"
tags: ["job"]
---

# run script preview without starting a new job

`POST /w/{workspace}/jobs/run_inline/preview`

## Path parameters

- `workspace` string, required

## Request body

- PreviewInline
  - `content` string, required — The code to run
  - `args` ScriptArgs, required — The arguments to pass to the script or flow
  - `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

## Response `200`

script result

- unknown

---

[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)
