Skip to main content
Instance endpoint

Validate Shell Command

POST/shell-command-validations/

Example request

application/json
{
  "command": "echo hello | sort"
}

Handler-checked behavior​

Send a command string of at most 64 KiB. Parses POSIX sh syntax without executing commands or substitutions. Returns HTTP 200 with valid and diagnostics for both valid and invalid scripts; diagnostic line and column positions are one-based when available. Empty or comment-only commands and NUL bytes are invalid. This does not save a workflow or check whether programs and files exist.

See the Instance guide for related tasks and context.