Windmill · Arazzo Workflow
Windmill Run a Script and Clean up its Job
Version 1.0.0
Run a script, await its result, capture it, then delete the completed job record.
View Spec
View on GitHub
AutomationInternal ToolsOpen-SourcePro-Code-API-CompositionScriptsWebhookWorkflow EngineWorkflowsArazzoWorkflows
Provider
Workflows
run-script-and-cleanup-job
Run a script, await and capture its result, then delete the job record.
Starts an asynchronous run, polls until completion, captures the result of the completed job, then deletes the completed job to purge its data.
1
runScript
Submit an asynchronous run of the script by path. The response body is the new job UUID.
2
pollResult
Poll the completed-result-maybe endpoint, looping back while the completed flag is false and proceeding once the job has finished.
3
captureResult
Read the full completed job to capture the result and success flag before the record is purged.
4
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.