Windmill · Schema

QueuedJob

Windmill QueuedJob schema

AutomationInternal ToolsOpen SourceProCode API CompositionScriptsWebhooksWorkflow EngineWorkflows

Properties

Name Type Description
workspace_id string
id string
parent_job string
created_by string
created_at string
started_at string
scheduled_for string
running boolean
script_path string
script_hash string
args object
logs string
raw_code string
canceled boolean
canceled_by string
canceled_reason string
last_ping string
job_kind string
schedule_path string
permissioned_as string The user (u/userfoo) or group (g/groupfoo) whom the execution of this script will be permissioned_as and by extension its DT_TOKEN.
flow_status object
workflow_as_code_status object
raw_flow object
is_flow_step boolean
language object
email string
visible_to_owner boolean
mem_peak integer
tag string
priority integer
self_wait_time_ms number
aggregate_wait_time_ms number
suspend number
preprocessed boolean
worker string
View JSON Schema on GitHub

JSON Schema

windmill-queuedjob-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/windmill/refs/heads/main/json-schema/windmill-queuedjob-schema.json",
  "title": "QueuedJob",
  "description": "Windmill QueuedJob schema",
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string"
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "parent_job": {
      "type": "string",
      "format": "uuid"
    },
    "created_by": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "started_at": {
      "type": "string",
      "format": "date-time"
    },
    "scheduled_for": {
      "type": "string",
      "format": "date-time"
    },
    "running": {
      "type": "boolean"
    },
    "script_path": {
      "type": "string"
    },
    "script_hash": {
      "type": "string"
    },
    "args": {
      "$ref": "#/components/schemas/ScriptArgs"
    },
    "logs": {
      "type": "string"
    },
    "raw_code": {
      "type": "string"
    },
    "canceled": {
      "type": "boolean"
    },
    "canceled_by": {
      "type": "string"
    },
    "canceled_reason": {
      "type": "string"
    },
    "last_ping": {
      "type": "string",
      "format": "date-time"
    },
    "job_kind": {
      "type": "string",
      "enum": [
        "script",
        "preview",
        "dependencies",
        "flowdependencies",
        "appdependencies",
        "flow",
        "flowpreview",
        "script_hub",
        "identity",
        "deploymentcallback",
        "singlestepflow",
        "flowscript",
        "flownode",
        "appscript",
        "aiagent",
        "unassigned_script",
        "unassigned_flow",
        "unassigned_singlestepflow"
      ]
    },
    "schedule_path": {
      "type": "string"
    },
    "permissioned_as": {
      "type": "string",
      "description": "The user (u/userfoo) or group (g/groupfoo) whom\nthe execution of this script will be permissioned_as and by extension its DT_TOKEN.\n"
    },
    "flow_status": {
      "$ref": "../../openflow.openapi.yaml#/components/schemas/FlowStatus"
    },
    "workflow_as_code_status": {
      "$ref": "#/components/schemas/WorkflowStatus"
    },
    "raw_flow": {
      "$ref": "../../openflow.openapi.yaml#/components/schemas/FlowValue"
    },
    "is_flow_step": {
      "type": "boolean"
    },
    "language": {
      "$ref": "#/components/schemas/ScriptLang"
    },
    "email": {
      "type": "string"
    },
    "visible_to_owner": {
      "type": "boolean"
    },
    "mem_peak": {
      "type": "integer"
    },
    "tag": {
      "type": "string"
    },
    "priority": {
      "type": "integer"
    },
    "self_wait_time_ms": {
      "type": "number"
    },
    "aggregate_wait_time_ms": {
      "type": "number"
    },
    "suspend": {
      "type": "number"
    },
    "preprocessed": {
      "type": "boolean"
    },
    "worker": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "running",
    "canceled",
    "job_kind",
    "permissioned_as",
    "is_flow_step",
    "email",
    "visible_to_owner",
    "tag"
  ]
}