Windmill · JSON Structure

Windmill Script Structure

Structure definition for Windmill Script

Type: Properties: 0
AutomationInternal ToolsOpen-SourcePro-Code-API-CompositionScriptsWebhookWorkflow EngineWorkflows

Windmill Script Structure is a JSON Structure definition published by Windmill. It conforms to the https://json-schema.org/draft/2020-12/schema meta-schema.

Meta-schema: https://json-schema.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/windmill/refs/heads/main/json-structure/windmill-script-structure.json",
  "title": "Windmill Script Structure",
  "description": "Structure definition for Windmill Script",
  "structure": {
    "type": "object",
    "required": [
      "hash",
      "path",
      "summary",
      "description",
      "content",
      "created_by",
      "created_at",
      "archived",
      "deleted",
      "is_template",
      "extra_perms",
      "language",
      "kind",
      "starred",
      "has_preprocessor"
    ],
    "properties": {
      "workspace_id": {
        "type": "string"
      },
      "hash": {
        "type": "string"
      },
      "path": {
        "type": "string"
      },
      "parent_hashes": {
        "type": "array",
        "items": "string"
      },
      "summary": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "content": {
        "type": "string"
      },
      "created_by": {
        "type": "string"
      },
      "created_at": {
        "type": "string"
      },
      "archived": {
        "type": "boolean"
      },
      "schema": {
        "type": "object"
      },
      "deleted": {
        "type": "boolean"
      },
      "is_template": {
        "type": "boolean"
      },
      "extra_perms": {
        "type": "object"
      },
      "lock": {
        "type": "string"
      },
      "lock_error_logs": {
        "type": "string"
      },
      "language": {
        "type": "ScriptLang"
      },
      "kind": {
        "type": "string",
        "enum": [
          "script",
          "failure",
          "trigger",
          "command",
          "approval",
          "preprocessor"
        ]
      },
      "starred": {
        "type": "boolean"
      },
      "tag": {
        "type": "string"
      }
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/windmill-script-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.