---
title: "POST /api/v1/scripts/syntax-check"
method: POST
path: "/api/v1/scripts/syntax-check"
tags: ["Scripts"]
---

# POST /api/v1/scripts/syntax-check

`POST /api/v1/scripts/syntax-check`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/scripts/syntax-check`
- Auth: none declared

## Request body

- ScriptSyntaxCheckRequestBody
  - `script` string, nullable, required
  - `scriptLanguage` 'CommandLine' | 'PowerShell': The string or integer value may be used. CommandLine = 1, PowerShell = 2

## Response `200`

OK

- SyntaxCheckerResult
  - `isSyntaxValid` boolean
  - `errors` string[], nullable

---

[API](https://skmtc.dev/immy/apis/immy-bot-api-2.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api-2/revisions/75b50268fa51?raw)
