Windmill · Example Payload

Windmill Create Script Example

AutomationInternal ToolsOpen SourceProCode API CompositionScriptsWebhooksWorkflow EngineWorkflows

Windmill Create Script Example is an example object payload from Windmill, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationmethodpathsummaryrequestresponse

Example Payload

Raw ↑
{
  "operation": "create-script",
  "method": "POST",
  "path": "/w/{workspace}/scripts/create",
  "summary": "Create Script",
  "request": {
    "path": "u/user/my_script",
    "summary": "My Hello World Script",
    "description": "A simple example script",
    "content": "export async function main(name: string) {\n  return `Hello ${name}`;\n}",
    "language": "deno",
    "schema": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Name to greet"
        }
      },
      "required": [
        "name"
      ]
    }
  },
  "response": "u/user/my_script"
}