Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Windmill Scripts API

Code runnables in Python, TypeScript, Go, Bash, SQL, and more.

Windmill Scripts API is one of 15 APIs that Windmill publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Scripts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 4 operations across 4 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.745.0.

Requests are made against 2 base URLs: https://app.windmill.dev/api, http://localhost:8000/api.

4 operations 4 paths 3 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.745.0
Base URL
https://app.windmill.dev/api
Authentication
HTTP Bearer, API Key
Contact
Resource Areas
1

Authentication & Security 2

Windmill Scripts API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). An API key is passed in the cookie as token (cookieAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer token created in the Windmill UI under account settings, passed as Authorization: Bearer YOURTOKEN.
  • cookieAuth — Session cookie set by the Windmill web UI after login.

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 2 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Scripts 4

Code runnables in Python, TypeScript, Go, Bash, SQL, and more.

GET
/w/{workspace}/scripts/list
List scripts
listScripts 1 param → 200401
POST
/w/{workspace}/scripts/create
Create a script
createScript 1 param body → 201401
GET
/w/{workspace}/scripts/get/p/{path}
Get a script by path
getScriptByPath 2 params → 200404
POST
/w/{workspace}/scripts/archive/p/{path}
Archive a script
archiveScriptByPath 2 params → 200404

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Script (8 properties), ScriptInput (6 properties), Error (1 property). Each schema is shown below with its type and property counts.

Script
object
8 properties
ScriptInput
object
6 properties 3 required
Error
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

windmill-dev-scripts-api-openapi.yml Raw ↑

Other APIs Windmill publishes across the network.

Windmill Apps API
Windmill Audit API
Windmill Flows API
Windmill Folders API
Windmill Groups API
Windmill Jobs API
Windmill OIDC API
Windmill Resources API
Windmill Schedules API
Windmill Triggers API
Windmill Users API
Windmill Variables API