The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the
workflow, which PUT /v1/workflows/ takes back as expectedRevisionId. webhookUrl: the address
that starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in
the builder’s JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.
The plan an AI agent writes; the compiler turns it into a real workflow.
name
string
required
trigger
object
required
Show child attributes
steps
object[]
required
Show child attributes
notes
object[] | null
Canvas sticky notes; see PlanNotes. Left out, the workflow keeps its notes; [] clears them; an
array is the full set (a note with a stored id is overlaid on that note). Init-only, never a positional
parameter, so the three new WorkflowPlan(...) sites stay as they are.
Show child attributes
table
string | null
The table this workflow is an automation of (a Tables table id), for a Tables trigger (record created, updated or
deleted). Left out on an update, the workflow keeps its table; a workflow's table is set when it is created and
never changes (TableNotChangeable). Read through TableIdOf.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Engini Docs","colors":{"primary":"#5533FF","light":"#D4CCFD","dark":"#0C0C0C"},"logo":{"light":"https://mintcdn.com/engini/AklLlExJ3eAXOGtW/logo/engini-lockup-light.svg?fit=max\u0026auto=format\u0026n=AklLlExJ3eAXOGtW\u0026q=85\u0026s=c0debedd989ac1aae7434afcf8929a79","dark":"https://mintcdn.com/engini/AklLlExJ3eAXOGtW/logo/engini-lockup-dark.svg?fit=max\u0026auto=format\u0026n=AklLlExJ3eAXOGtW\u0026q=85\u0026s=21df93b2081ea3e02ddd60b93533ee87"},"favicon":{"light":"https://mintcdn.com/engini/i8sQTvfL0BFarJoA/logo/favicon-light-theme.png?fit=max\u0026auto=format\u0026n=i8sQTvfL0BFarJoA\u0026q=85\u0026s=cd4460dad6b41e8f324c74cb2cdaefcf","dark":"https://mintcdn.com/engini/i8sQTvfL0BFarJoA/logo/favicon-dark-theme.png?fit=max\u0026auto=format\u0026n=i8sQTvfL0BFarJoA\u0026q=85\u0026s=b68510adf1642927b33d448bcb7bbae2"},"navbar":{"links":[{"href":"/help/getting-started/what-is-engini","label":"Help Center"},{"href":"/developers","label":"Developers"},{"href":"mailto:support@engini.io","label":"Support"}],"primary":{"type":"button","label":"Open engini","href":"https://app.engini.io"}},"footer":{"socials":{"website":"https://engini.ai","github":"https://github.com/engini"}},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Inter"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"engini","hasAudioNarration":false,"actualSubdomain":"engini","customDomains":["docs.engini.ai"],"gitSource":{"type":"github","owner":"engini","repo":"engini-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afeb1f945f7499c2565e8cb","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Help Center","count":158},{"language":"default","tag":"Apps","count":142},{"language":"default","tag":"Developers","count":140},{"language":"default","tag":"API Reference","count":90},{"language":"default","tag":"Endpoints","count":89},{"language":"default","tag":"Guides","count":39},{"language":"default","tag":"Release Notes","count":35},{"language":"default","tag":"Tutorials","count":26},{"language":"default","tag":"Connections","count":23},{"language":"default","tag":"Triggers","count":22}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#topbar-cta-button>a::before{content:\"\";position:relative;z-index:10;display:block;flex:none;width:1.15em;height:1.15em;margin-right:0.4em;background-color:#ffffff;-webkit-mask:url(\"/logo/engini-symbol-mono.svg\") no-repeat center / contain;mask:url(\"/logo/engini-symbol-mono.svg\") no-repeat center / contain}.dark #topbar-cta-button>a>span{background-color:#5533ff}[data-component-part=\"products-selector-trigger\"]{display:none}@media (min-width: 1024px){#navbar div:has(>nav[aria-label=\"Main\"]),#navbar nav[aria-label=\"Main\"],#navbar nav[aria-label=\"Main\"]>ul{display:contents}#navbar div:has(>[data-component-part=\"products-selector-trigger\"]){flex:none}#navbar nav[aria-label=\"Main\"] li,#navbar div:has(>#theme-preference-menu-trigger){order:3}#navbar nav[aria-label=\"Main\"] li:has(>a[href=\"/help/getting-started/what-is-engini\"]),#navbar nav[aria-label=\"Main\"] li:has(>a[href=\"/developers\"]){order:1}#navbar nav[aria-label=\"Main\"] li:has(>a[href=\"/developers\"]){margin-right:0}#navbar div:has(>#search-bar-entry){order:2;flex:0 1 26rem;margin-inline:auto}}body:not(:has(#engini-home)) #navbar:has(a[aria-current=\"location\"][href^=\"/help\"]) nav[aria-label=\"Main\"] a[href=\"/help/getting-started/what-is-engini\"],body:not(:has(#engini-home)) #navbar:has(a[aria-current=\"location\"][href^=\"/developers\"]) nav[aria-label=\"Main\"] a[href=\"/developers\"]{color:rgb(var(--primary))}:is(.dark) body:not(:has(#engini-home)) #navbar:has(a[aria-current=\"location\"][href^=\"/help\"]) nav[aria-label=\"Main\"] a[href=\"/help/getting-started/what-is-engini\"],:is(.dark) body:not(:has(#engini-home)) #navbar:has(a[aria-current=\"location\"][href^=\"/developers\"]) nav[aria-label=\"Main\"] a[href=\"/developers\"]{color:rgb(var(--primary-light))}body:has(#engini-home) #navbar div:has(>.nav-tabs){display:none}body:has(#engini-home):has(#navbar div>.nav-tabs){--topbar-tabs-height: 0rem}"}]}
{"page":{"pagePath":"developers/api-reference/workflows/get-a-workflow-as-a-plan","slug":"/developers/api-reference/workflows/get-a-workflow-as-a-plan","pageMetadata":{"title":"Get a workflow as a plan","description":"The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the\nworkflow, which PUT /v1/workflows/{id} takes back as expectedRevisionId. webhookUrl: the address\nthat starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in\nthe builder's JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows/{workflowId}/plan","href":"/developers/api-reference/workflows/get-a-workflow-as-a-plan","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the\\nworkflow, which PUT /v1/workflows/\", \" takes back as expectedRevisionId. webhookUrl: the address\\nthat starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in\\nthe builder’s JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get a workflow as a plan","description":"The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the\nworkflow, which PUT /v1/workflows/{id} takes back as expectedRevisionId. webhookUrl: the address\nthat starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in\nthe builder's JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows/{workflowId}/plan","href":"/developers/api-reference/workflows/get-a-workflow-as-a-plan","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/engini/4837fd513836c58c/posthog.js"],"openApiReferenceData":{"operation":{"tags":["Workflows"],"summary":"Get a workflow as a plan","description":"The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the\nworkflow, which PUT /v1/workflows/{id} takes back as expectedRevisionId. webhookUrl: the address\nthat starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in\nthe builder's JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.","operationId":"Workflows_GetPlan","parameters":["936bf5bf-2d6c-4229-aea5-ca8d258856cc"],"responses":{"200":"69bc57c0-7b1b-402a-ae5d-02b73e3b1a3b","400":"447d8c73-d97f-4adb-9e7b-4538fbb22a3b","401":"55027d9f-e152-48e6-84a8-3db473a42379","403":"e1965cad-a665-4ff2-ae42-7a7f8c0307b8","404":"9efe0a2b-cbd6-49a6-bb6d-b55abb29bbc8","429":"6193bc10-36c3-46e9-92e3-e75aee7a6379","500":"0b42b481-f447-4133-be29-6f6b96bf32b1"},"security":["87ee3d70-771b-4af1-8f4a-250f3cf12c5d","c246a01b-83e6-4eb8-8e34-9942d33255ff"],"x-codeSamples":[{"lang":"python","label":"Python","source":"from engini import Engini\n\nclient = Engini() # reads ENGINI_API_KEY\n\nplan = client.workflows.get_plan(1234)"},{"lang":"typescript","label":"TypeScript","source":"import { Engini } from \"@engini/sdk\";\n\nconst client = new Engini(); // reads ENGINI_API_KEY\n\nconst plan = await client.workflows.getPlan(1234);"},{"lang":"bash","label":"CLI","source":"engini workflows plan 1234 > plan.json"}],"method":"get","type":"path","servers":["88cde6e8-2200-4503-b575-e9d48ccab6bb"],"path":"/v1/workflows/{workflowId}/plan","baseUrlOptions":["https://api.engini.io"],"title":"Get a workflow as a plan","codeSamples":[{"label":"Python","lang":"python","source":"from engini import Engini\n\nclient = Engini() # reads ENGINI_API_KEY\n\nplan = client.workflows.get_plan(1234)"},{"label":"TypeScript","lang":"typescript","source":"import { Engini } from \"@engini/sdk\";\n\nconst client = new Engini(); // reads ENGINI_API_KEY\n\nconst plan = await client.workflows.getPlan(1234);"},{"label":"CLI","lang":"bash","source":"engini workflows plan 1234 > plan.json"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"936bf5bf-2d6c-4229-aea5-ca8d258856cc":{"name":"workflowId","in":"path","required":true,"schema":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"","typeLabel":"integer\u003cint32>"},"x-position":1}},"responses":{"69bc57c0-7b1b-402a-ae5d-02b73e3b1a3b":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","description":"The plan an AI agent writes; the compiler turns it into a real workflow.","additionalProperties":false,"required":["name","trigger","steps"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"trigger":{"type":"object","additionalProperties":false,"required":["key","type","connection","inputs"],"properties":{"key":{"type":"string","isRequired":true,"uniqueKey":"trigger.key","typeLabel":"string"},"type":{"type":"string","description":"action|if|foreach|switch|do_while|scope|init_variable|set_variable|delay|stop|ai_agent|opaque","isRequired":true,"uniqueKey":"trigger.type","typeLabel":"string"},"connection":{"type":"string","description":"\"auto\" | \"none\" | \"\u003cconnectorId>\"","isRequired":true,"uniqueKey":"trigger.connection","typeLabel":"string"},"inputs":{"type":"object","description":"Never null: a JSON null is normalised to empty.","additionalProperties":{"type":"string","uniqueKey":"trigger.inputs.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"trigger.inputs","typeLabel":"object"},"tool":{"oneOf":[{"type":"string","description":"Catalog slug, for action/trigger.","uniqueKey":"trigger.tool.oneOf.0","typeLabel":"string"},{"type":"null","description":"Catalog slug, for action/trigger.","uniqueKey":"trigger.tool.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.tool","typeLabel":"string | null"},"condition":{"oneOf":[{"type":"object","description":"Op: eq|ne|gt|gte|lt|lte|contains|empty|notempty","required":["left","op","right"],"properties":{"left":{"type":"string","isRequired":true,"uniqueKey":"trigger.condition.oneOf.0.left","typeLabel":"string"},"op":{"type":"string","isRequired":true,"uniqueKey":"trigger.condition.oneOf.0.op","typeLabel":"string"},"right":{"type":"string","isRequired":true,"uniqueKey":"trigger.condition.oneOf.0.right","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"trigger.condition.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"trigger.condition.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.condition","typeLabel":"object | null"},"then":{"oneOf":[{"type":"array","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.then.oneOf.0","typeLabel":"array"},{"type":"null","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.then.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.then","typeLabel":"array | null"},"else":{"oneOf":[{"type":"array","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.else.oneOf.0","typeLabel":"array"},{"type":"null","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.else.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.else","typeLabel":"array | null"},"items":{"oneOf":[{"type":"string","uniqueKey":"trigger.\\items.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"trigger.\\items.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.\\items","typeLabel":"string | null"},"do":{"oneOf":[{"type":"array","description":"The body of a foreach, a do_while (run while its condition holds) or a scope.","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.do.oneOf.0","typeLabel":"array"},{"type":"null","description":"The body of a foreach, a do_while (run while its condition holds) or a scope.","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.do.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.do","typeLabel":"array | null"},"cases":{"oneOf":[{"type":"array","description":"A switch's cases, first case first; the value compared is the step's inputs.data. Every case whose\nvalue equals it is tried in order and the last match runs, so give each case a distinct value.","items":{"type":"object","description":"One case of a switch: the value it matches (a literal or a reference) and the steps it runs.","additionalProperties":false,"properties":{"value":{"oneOf":[{"type":"string","uniqueKey":"trigger.cases.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"trigger.cases.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.cases.oneOf.0.items.[INDEX].value","typeLabel":"string | null"},"steps":{"oneOf":[{"type":"array","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.cases.oneOf.0.items.[INDEX].steps.oneOf.0","typeLabel":"array"},{"type":"null","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.cases.oneOf.0.items.[INDEX].steps.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.cases.oneOf.0.items.[INDEX].steps","typeLabel":"array | null"}},"uniqueKey":"trigger.cases.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"trigger.cases.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"A switch's cases, first case first; the value compared is the step's inputs.data. Every case whose\nvalue equals it is tried in order and the last match runs, so give each case a distinct value.","items":{"type":"object","description":"One case of a switch: the value it matches (a literal or a reference) and the steps it runs.","additionalProperties":false,"properties":{"value":{"oneOf":[{"type":"string"},{"type":"null"}]},"steps":{"oneOf":[{"type":"array","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"}},{"type":"null","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"}}]}}},"uniqueKey":"trigger.cases.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.cases","typeLabel":"object[] | null"},"default":{"oneOf":[{"type":"array","description":"A switch's default branch: runs when no case matches. Every switch has one, possibly empty.","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.default.oneOf.0","typeLabel":"array"},{"type":"null","description":"A switch's default branch: runs when no case matches. Every switch has one, possibly empty.","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.default","typeLabel":"array | null"},"onFailure":{"oneOf":[{"type":"array","description":"The step's failure path: a chain that runs when this step fails, beside it in the same container (not inside it).\nIts first step runs only on failure; the rest follow it. A plan can add a failure path and edit the steps on one,\nbut never re-point or delete an existing one (that stays a designer action).","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.onFailure.oneOf.0","typeLabel":"array"},{"type":"null","description":"The step's failure path: a chain that runs when this step fails, beside it in the same container (not inside it).\nIts first step runs only on failure; the rest follow it. A plan can add a failure path and edit the steps on one,\nbut never re-point or delete an existing one (that stays a designer action).","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"trigger.onFailure.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.onFailure","typeLabel":"array | null"},"ref":{"oneOf":[{"type":"integer","description":"Opaque steps: the StepNo in the base workflow.","format":"int32","uniqueKey":"trigger.ref.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Opaque steps: the StepNo in the base workflow.","format":"int32","uniqueKey":"trigger.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.ref","typeLabel":"integer\u003cint32> | null"},"schedule":{"oneOf":[{"type":"object","description":"The trigger's schedule, only on a schedule (polling) trigger; see PlanScheduleMapper. Left out, an\nexisting trigger keeps the schedule it has.","properties":{"frequency":{"oneOf":[{"type":"string","description":"minute|hour|day|week|month","uniqueKey":"trigger.schedule.oneOf.0.frequency.oneOf.0","typeLabel":"string"},{"type":"null","description":"minute|hour|day|week|month","uniqueKey":"trigger.schedule.oneOf.0.frequency.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.frequency","typeLabel":"string | null"},"interval":{"oneOf":[{"type":"integer","description":"Run every interval units of Frequency.","format":"int32","uniqueKey":"trigger.schedule.oneOf.0.interval.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Run every interval units of Frequency.","format":"int32","uniqueKey":"trigger.schedule.oneOf.0.interval.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.interval","typeLabel":"integer\u003cint32> | null"},"startDate":{"oneOf":[{"type":"string","description":"yyyy-MM-dd; today (UTC) when left out.","uniqueKey":"trigger.schedule.oneOf.0.startDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"yyyy-MM-dd; today (UTC) when left out.","uniqueKey":"trigger.schedule.oneOf.0.startDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.startDate","typeLabel":"string | null"},"startTime":{"oneOf":[{"type":"string","description":"HH:mm; 00:00 when left out.","uniqueKey":"trigger.schedule.oneOf.0.startTime.oneOf.0","typeLabel":"string"},{"type":"null","description":"HH:mm; 00:00 when left out.","uniqueKey":"trigger.schedule.oneOf.0.startTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.startTime","typeLabel":"string | null"},"weekDays":{"oneOf":[{"type":"string","description":"Days of the week, 0 = Sunday … 6 = Saturday: \"1,2,3,4,5\" or [1,2,3,4,5]. Every day when left out. Only a weekly schedule\nreads them, so a subset with any other frequency is refused.","uniqueKey":"trigger.schedule.oneOf.0.weekDays.oneOf.0","typeLabel":"string"},{"type":"null","description":"Days of the week, 0 = Sunday … 6 = Saturday: \"1,2,3,4,5\" or [1,2,3,4,5]. Every day when left out. Only a weekly schedule\nreads them, so a subset with any other frequency is refused.","uniqueKey":"trigger.schedule.oneOf.0.weekDays.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.weekDays","typeLabel":"string | null"},"timeZone":{"oneOf":[{"type":"string","description":"The IANA zone StartDate/StartTime/time frames are written in; UTC when left out. A monthly\nschedule whose start lands on another day in UTC is refused (it repeats on its UTC day of the month).","uniqueKey":"trigger.schedule.oneOf.0.timeZone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IANA zone StartDate/StartTime/time frames are written in; UTC when left out. A monthly\nschedule whose start lands on another day in UTC is refused (it repeats on its UTC day of the month).","uniqueKey":"trigger.schedule.oneOf.0.timeZone.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.timeZone","typeLabel":"string | null"},"timeFrames":{"oneOf":[{"type":"array","description":"Daily windows to repeat in, every EveryMinutes minutes.","items":{"type":"object","additionalProperties":false,"properties":{"start":{"oneOf":[{"type":"string","description":"HH:mm","uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].start.oneOf.0","typeLabel":"string"},{"type":"null","description":"HH:mm","uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].start.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].start","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"HH:mm, after Start.","uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].end.oneOf.0","typeLabel":"string"},{"type":"null","description":"HH:mm, after Start.","uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].end","typeLabel":"string | null"},"everyMinutes":{"oneOf":[{"type":"integer","description":"Always minutes, whatever the schedule's frequency.","format":"int32","uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].everyMinutes.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Always minutes, whatever the schedule's frequency.","format":"int32","uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].everyMinutes.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].everyMinutes","typeLabel":"integer\u003cint32> | null"}},"uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Daily windows to repeat in, every EveryMinutes minutes.","items":{"type":"object","additionalProperties":false,"properties":{"start":{"oneOf":[{"type":"string","description":"HH:mm"},{"type":"null","description":"HH:mm"}]},"end":{"oneOf":[{"type":"string","description":"HH:mm, after Start."},{"type":"null","description":"HH:mm, after Start."}]},"everyMinutes":{"oneOf":[{"type":"integer","description":"Always minutes, whatever the schedule's frequency.","format":"int32"},{"type":"null","description":"Always minutes, whatever the schedule's frequency.","format":"int32"}]}}},"uniqueKey":"trigger.schedule.oneOf.0.timeFrames.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule.oneOf.0.timeFrames","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"trigger.schedule.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"trigger.schedule.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.schedule","typeLabel":"object | null"},"listenColumns":{"oneOf":[{"type":"array","description":"The trigger's \"columns to listen to\": only events that change one of them fire it, each column one provider\nsubscription; see PlanTriggerGateMapper. Only on a trigger whose tool offers it. Left out, an existing\ntrigger keeps the columns it has; [] removes them.","items":{"type":"string","uniqueKey":"trigger.listenColumns.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"trigger.listenColumns.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"The trigger's \"columns to listen to\": only events that change one of them fire it, each column one provider\nsubscription; see PlanTriggerGateMapper. Only on a trigger whose tool offers it. Left out, an existing\ntrigger keeps the columns it has; [] removes them.","items":{"type":"string"},"uniqueKey":"trigger.listenColumns.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.listenColumns","typeLabel":"string[] | null"},"filters":{"oneOf":[{"type":"array","description":"A list tool's filters (the designer's filter rows, all of which must match): only on a tool that offers filters; see\nPlanQueryMapper. The step has exactly the filters, top and sorts the plan gives it: left out means none.","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A filterable field of the tool's object.","uniqueKey":"trigger.filters.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","description":"A filterable field of the tool's object.","uniqueKey":"trigger.filters.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.filters.oneOf.0.items.[INDEX].field","typeLabel":"string | null"},"operator":{"oneOf":[{"type":"string","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin","uniqueKey":"trigger.filters.oneOf.0.items.[INDEX].operator.oneOf.0","typeLabel":"string"},{"type":"null","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin","uniqueKey":"trigger.filters.oneOf.0.items.[INDEX].operator.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.filters.oneOf.0.items.[INDEX].operator","typeLabel":"string | null"},"value":{"oneOf":[{"type":"string","description":"Text, {{key.path}} references allowed; ignored by empty / notempty.","uniqueKey":"trigger.filters.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Text, {{key.path}} references allowed; ignored by empty / notempty.","uniqueKey":"trigger.filters.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.filters.oneOf.0.items.[INDEX].value","typeLabel":"string | null"}},"uniqueKey":"trigger.filters.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"trigger.filters.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"A list tool's filters (the designer's filter rows, all of which must match): only on a tool that offers filters; see\nPlanQueryMapper. The step has exactly the filters, top and sorts the plan gives it: left out means none.","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A filterable field of the tool's object."},{"type":"null","description":"A filterable field of the tool's object."}]},"operator":{"oneOf":[{"type":"string","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin"},{"type":"null","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin"}]},"value":{"oneOf":[{"type":"string","description":"Text, {{key.path}} references allowed; ignored by empty / notempty."},{"type":"null","description":"Text, {{key.path}} references allowed; ignored by empty / notempty."}]}}},"uniqueKey":"trigger.filters.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.filters","typeLabel":"object[] | null"},"top":{"oneOf":[{"type":"integer","description":"Return at most this many records (the designer's \"Select top\"); only on a tool that offers it.","format":"int32","uniqueKey":"trigger.top.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Return at most this many records (the designer's \"Select top\"); only on a tool that offers it.","format":"int32","uniqueKey":"trigger.top.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.top","typeLabel":"integer\u003cint32> | null"},"sorts":{"oneOf":[{"type":"array","description":"A list tool's sort order, first entry first; only on a tool that offers sorting.","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A sortable field of the tool's object.","uniqueKey":"trigger.sorts.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","description":"A sortable field of the tool's object.","uniqueKey":"trigger.sorts.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.sorts.oneOf.0.items.[INDEX].field","typeLabel":"string | null"},"direction":{"oneOf":[{"type":"string","description":"asc (the default) | desc","uniqueKey":"trigger.sorts.oneOf.0.items.[INDEX].direction.oneOf.0","typeLabel":"string"},{"type":"null","description":"asc (the default) | desc","uniqueKey":"trigger.sorts.oneOf.0.items.[INDEX].direction.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.sorts.oneOf.0.items.[INDEX].direction","typeLabel":"string | null"}},"uniqueKey":"trigger.sorts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"trigger.sorts.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"A list tool's sort order, first entry first; only on a tool that offers sorting.","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A sortable field of the tool's object."},{"type":"null","description":"A sortable field of the tool's object."}]},"direction":{"oneOf":[{"type":"string","description":"asc (the default) | desc"},{"type":"null","description":"asc (the default) | desc"}]}}},"uniqueKey":"trigger.sorts.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.sorts","typeLabel":"object[] | null"},"advancedFilter":{"oneOf":[{"type":"boolean","description":"Sort \u0026 Filter only: each filter's field is an expression over the current record instead of a field name:\nthe data reference followed by the field (data {{s2}}, field {{s2.Amount}}: a list action's array is the step itself).\nLeft out means plain field-name filters.","uniqueKey":"trigger.advancedFilter.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Sort \u0026 Filter only: each filter's field is an expression over the current record instead of a field name:\nthe data reference followed by the field (data {{s2}}, field {{s2.Amount}}: a list action's array is the step itself).\nLeft out means plain field-name filters.","uniqueKey":"trigger.advancedFilter.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.advancedFilter","typeLabel":"boolean | null"},"offset":{"oneOf":[{"type":"integer","description":"Sort \u0026 Filter only: skip this many records before the ones returned (the designer's \"Offset\").","format":"int32","uniqueKey":"trigger.offset.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Sort \u0026 Filter only: skip this many records before the ones returned (the designer's \"Offset\").","format":"int32","uniqueKey":"trigger.offset.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.offset","typeLabel":"integer\u003cint32> | null"},"sample":{"oneOf":[{"type":"string","description":"A Parse JSON step's sample: a synthetic JSON (or XML) document of the shape the step's content will hold.\nIts output schema is generated from it, so {{key.field}} resolves. Stored in clear text with the workflow:\nnever paste a real record. Left out on an existing step, the saved schema is kept.","uniqueKey":"trigger.sample.oneOf.0","typeLabel":"string"},{"type":"null","description":"A Parse JSON step's sample: a synthetic JSON (or XML) document of the shape the step's content will hold.\nIts output schema is generated from it, so {{key.field}} resolves. Stored in clear text with the workflow:\nnever paste a real record. Left out on an existing step, the saved schema is kept.","uniqueKey":"trigger.sample.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.sample","typeLabel":"string | null"},"mapDictionary":{"oneOf":[{"type":"boolean","description":"A Parse JSON step: read JSON objects whose keys are ids (a dictionary) as an array of entries.","uniqueKey":"trigger.mapDictionary.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"A Parse JSON step: read JSON objects whose keys are ids (a dictionary) as an array of entries.","uniqueKey":"trigger.mapDictionary.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.mapDictionary","typeLabel":"boolean | null"},"subItems":{"oneOf":[{"type":"object","description":"A tool's sub-item tables (Http Request's Queries and Headers), by table name: one row\n({field: value}) or a list of rows; see PlanSubItemMapper. Only on a tool that offers the\ntable. Like filters, the step has exactly the tables the plan gives it: an offered table left out is cleared.","additionalProperties":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"trigger.subItems.oneOf.0.additionalProperties.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"trigger.subItems.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"trigger.subItems.oneOf.0.additionalProperties","typeLabel":"object[]"},"uniqueKey":"trigger.subItems.oneOf.0","typeLabel":"object"},{"type":"null","description":"A tool's sub-item tables (Http Request's Queries and Headers), by table name: one row\n({field: value}) or a list of rows; see PlanSubItemMapper. Only on a tool that offers the\ntable. Like filters, the step has exactly the tables the plan gives it: an offered table left out is cleared.","additionalProperties":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"trigger.subItems.oneOf.1.additionalProperties.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"trigger.subItems.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"trigger.subItems.oneOf.1.additionalProperties","typeLabel":"object[]"},"uniqueKey":"trigger.subItems.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.subItems","typeLabel":"object | null"},"model":{"oneOf":[{"type":"object","description":"An ai_agent step's LLM; see PlanAiAgentMapper. Left out on an existing agent, the agent keeps the\nmodel it has (it cannot run without one); required on a new agent.","properties":{"provider":{"oneOf":[{"type":"string","description":"openai|anthropic|gemini|azure_openai|monday: the vendor whose chat model row the agent uses.","uniqueKey":"trigger.model.oneOf.0.provider.oneOf.0","typeLabel":"string"},{"type":"null","description":"openai|anthropic|gemini|azure_openai|monday: the vendor whose chat model row the agent uses.","uniqueKey":"trigger.model.oneOf.0.provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.model.oneOf.0.provider","typeLabel":"string | null"},"connection":{"oneOf":[{"type":"string","description":"The vendor connection: auto or a connection id (never none: the agent needs one).","uniqueKey":"trigger.model.oneOf.0.connection.oneOf.0","typeLabel":"string"},{"type":"null","description":"The vendor connection: auto or a connection id (never none: the agent needs one).","uniqueKey":"trigger.model.oneOf.0.connection.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.model.oneOf.0.connection","typeLabel":"string | null"},"inputs":{"oneOf":[{"type":"object","description":"The model row's inputs (model, temperature, ...), as written.","additionalProperties":{"type":"string","uniqueKey":"trigger.model.oneOf.0.inputs.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"trigger.model.oneOf.0.inputs.oneOf.0","typeLabel":"object"},{"type":"null","description":"The model row's inputs (model, temperature, ...), as written.","additionalProperties":{"type":"string","uniqueKey":"trigger.model.oneOf.0.inputs.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"trigger.model.oneOf.0.inputs.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.model.oneOf.0.inputs","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"trigger.model.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"trigger.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.model","typeLabel":"object | null"},"memory":{"oneOf":[{"type":"object","description":"An ai_agent step's chat memory. Left out, the agent has none (an existing one is cleared).","properties":{"sessionId":{"oneOf":[{"type":"string","description":"The chat session the memory is kept under: text, references allowed.","uniqueKey":"trigger.memory.oneOf.0.sessionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The chat session the memory is kept under: text, references allowed.","uniqueKey":"trigger.memory.oneOf.0.sessionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.memory.oneOf.0.sessionId","typeLabel":"string | null"},"windowLength":{"oneOf":[{"type":"string","description":"How many past messages the LLM sees (0-100); text, so a reference can be said.","uniqueKey":"trigger.memory.oneOf.0.windowLength.oneOf.0","typeLabel":"string"},{"type":"null","description":"How many past messages the LLM sees (0-100); text, so a reference can be said.","uniqueKey":"trigger.memory.oneOf.0.windowLength.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.memory.oneOf.0.windowLength","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"trigger.memory.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"trigger.memory.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.memory","typeLabel":"object | null"},"tools":{"oneOf":[{"type":"array","description":"An ai_agent step's tools (connector actions the LLM may call), the full set. Left out, the agent has none (an\nexisting set is cleared). Tools the plan cannot name (MCP, knowledge, worker, sub-agent) are never touched.","items":{"type":"object","description":"One tool of an AI agent: a connector action the LLM may call.","additionalProperties":false,"required":["connection","inputs","aiInputs"],"properties":{"connection":{"type":"string","description":"\"auto\" | \"none\" | \"\u003cconnectorId>\"","isRequired":true,"uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].connection","typeLabel":"string"},"inputs":{"type":"object","description":"Fixed values, as a step's inputs; the LLM cannot change them. Never null.","additionalProperties":{"type":"string","uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].inputs.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].inputs","typeLabel":"object"},"aiInputs":{"type":"object","description":"Inputs the LLM fills at run time, by name, each with what the LLM is told it holds (\"\" for none). Never null.","additionalProperties":{"type":"string","uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].aiInputs.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].aiInputs","typeLabel":"object"},"name":{"oneOf":[{"type":"string","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key.","uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key.","uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"tool":{"oneOf":[{"type":"string","description":"The action's catalog slug.","uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].tool.oneOf.0","typeLabel":"string"},{"type":"null","description":"The action's catalog slug.","uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].tool.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].tool","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"What the LLM is told the tool does; left out, the action's own description is used.","uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"What the LLM is told the tool does; left out, the action's own description is used.","uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.tools.oneOf.0.items.[INDEX].description","typeLabel":"string | null"}},"uniqueKey":"trigger.tools.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"trigger.tools.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"An ai_agent step's tools (connector actions the LLM may call), the full set. Left out, the agent has none (an\nexisting set is cleared). Tools the plan cannot name (MCP, knowledge, worker, sub-agent) are never touched.","items":{"type":"object","description":"One tool of an AI agent: a connector action the LLM may call.","additionalProperties":false,"required":["connection","inputs","aiInputs"],"properties":{"name":{"oneOf":[{"type":"string","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key."},{"type":"null","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key."}]},"tool":{"oneOf":[{"type":"string","description":"The action's catalog slug."},{"type":"null","description":"The action's catalog slug."}]},"connection":{"type":"string","description":"\"auto\" | \"none\" | \"\u003cconnectorId>\""},"description":{"oneOf":[{"type":"string","description":"What the LLM is told the tool does; left out, the action's own description is used."},{"type":"null","description":"What the LLM is told the tool does; left out, the action's own description is used."}]},"inputs":{"type":"object","description":"Fixed values, as a step's inputs; the LLM cannot change them. Never null.","additionalProperties":{"type":"string"}},"aiInputs":{"type":"object","description":"Inputs the LLM fills at run time, by name, each with what the LLM is told it holds (\"\" for none). Never null.","additionalProperties":{"type":"string"}}}},"uniqueKey":"trigger.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.tools","typeLabel":"object[] | null"},"value":{"oneOf":[{"description":"An init_variable step's value as a JSON tree (TYPE object or array): the step is written in the\ndesigner's Manual mode, one typed property per leaf, so a {{key.path}} in a leaf resolves on its own; see\nPlanVariableValueMapper. Left out, VALUE is the raw text of inputs.VALUE (Raw mode).","uniqueKey":"trigger.value.oneOf.0","typeLabel":"any"},{"description":"An init_variable step's value as a JSON tree (TYPE object or array): the step is written in the\ndesigner's Manual mode, one typed property per leaf, so a {{key.path}} in a leaf resolves on its own; see\nPlanVariableValueMapper. Left out, VALUE is the raw text of inputs.VALUE (Raw mode).","type":"null","uniqueKey":"trigger.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.value","typeLabel":"any | null"},"valueTypes":{"oneOf":[{"type":"object","description":"The designer type of a Value leaf, by JSON Pointer (\"/customer/dueOn\": \"date\"), where inference\ncannot tell it: a date (JSON has none), or a number or boolean written as a {{key.path}} reference.","additionalProperties":{"type":"string","uniqueKey":"trigger.valueTypes.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"trigger.valueTypes.oneOf.0","typeLabel":"object"},{"type":"null","description":"The designer type of a Value leaf, by JSON Pointer (\"/customer/dueOn\": \"date\"), where inference\ncannot tell it: a date (JSON has none), or a number or boolean written as a {{key.path}} reference.","additionalProperties":{"type":"string","uniqueKey":"trigger.valueTypes.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"trigger.valueTypes.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger.valueTypes","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"trigger","typeLabel":"object"},"steps":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["key","type","connection","inputs"],"properties":{"key":{"type":"string","isRequired":true,"uniqueKey":"steps.items.[INDEX].key","typeLabel":"string"},"type":{"type":"string","description":"action|if|foreach|switch|do_while|scope|init_variable|set_variable|delay|stop|ai_agent|opaque","isRequired":true,"uniqueKey":"steps.items.[INDEX].type","typeLabel":"string"},"connection":{"type":"string","description":"\"auto\" | \"none\" | \"\u003cconnectorId>\"","isRequired":true,"uniqueKey":"steps.items.[INDEX].connection","typeLabel":"string"},"inputs":{"type":"object","description":"Never null: a JSON null is normalised to empty.","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].inputs.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"steps.items.[INDEX].inputs","typeLabel":"object"},"tool":{"oneOf":[{"type":"string","description":"Catalog slug, for action/trigger.","uniqueKey":"steps.items.[INDEX].tool.oneOf.0","typeLabel":"string"},{"type":"null","description":"Catalog slug, for action/trigger.","uniqueKey":"steps.items.[INDEX].tool.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].tool","typeLabel":"string | null"},"condition":{"oneOf":[{"type":"object","description":"Op: eq|ne|gt|gte|lt|lte|contains|empty|notempty","required":["left","op","right"],"properties":{"left":{"type":"string","isRequired":true,"uniqueKey":"steps.items.[INDEX].condition.oneOf.0.left","typeLabel":"string"},"op":{"type":"string","isRequired":true,"uniqueKey":"steps.items.[INDEX].condition.oneOf.0.op","typeLabel":"string"},"right":{"type":"string","isRequired":true,"uniqueKey":"steps.items.[INDEX].condition.oneOf.0.right","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"steps.items.[INDEX].condition.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"steps.items.[INDEX].condition.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].condition","typeLabel":"object | null"},"then":{"oneOf":[{"type":"array","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].then.oneOf.0","typeLabel":"array"},{"type":"null","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].then.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].then","typeLabel":"array | null"},"else":{"oneOf":[{"type":"array","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].else.oneOf.0","typeLabel":"array"},{"type":"null","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].else.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].else","typeLabel":"array | null"},"items":{"oneOf":[{"type":"string","uniqueKey":"steps.items.[INDEX].\\items.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"steps.items.[INDEX].\\items.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].\\items","typeLabel":"string | null"},"do":{"oneOf":[{"type":"array","description":"The body of a foreach, a do_while (run while its condition holds) or a scope.","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].do.oneOf.0","typeLabel":"array"},{"type":"null","description":"The body of a foreach, a do_while (run while its condition holds) or a scope.","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].do.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].do","typeLabel":"array | null"},"cases":{"oneOf":[{"type":"array","description":"A switch's cases, first case first; the value compared is the step's inputs.data. Every case whose\nvalue equals it is tried in order and the last match runs, so give each case a distinct value.","items":{"type":"object","description":"One case of a switch: the value it matches (a literal or a reference) and the steps it runs.","additionalProperties":false,"properties":{"value":{"oneOf":[{"type":"string","uniqueKey":"steps.items.[INDEX].cases.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"steps.items.[INDEX].cases.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].cases.oneOf.0.items.[INDEX].value","typeLabel":"string | null"},"steps":{"oneOf":[{"type":"array","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].cases.oneOf.0.items.[INDEX].steps.oneOf.0","typeLabel":"array"},{"type":"null","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].cases.oneOf.0.items.[INDEX].steps.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].cases.oneOf.0.items.[INDEX].steps","typeLabel":"array | null"}},"uniqueKey":"steps.items.[INDEX].cases.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"steps.items.[INDEX].cases.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"A switch's cases, first case first; the value compared is the step's inputs.data. Every case whose\nvalue equals it is tried in order and the last match runs, so give each case a distinct value.","items":{"type":"object","description":"One case of a switch: the value it matches (a literal or a reference) and the steps it runs.","additionalProperties":false,"properties":{"value":{"oneOf":[{"type":"string"},{"type":"null"}]},"steps":{"oneOf":[{"type":"array","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"}},{"type":"null","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"}}]}}},"uniqueKey":"steps.items.[INDEX].cases.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].cases","typeLabel":"object[] | null"},"default":{"oneOf":[{"type":"array","description":"A switch's default branch: runs when no case matches. Every switch has one, possibly empty.","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].default.oneOf.0","typeLabel":"array"},{"type":"null","description":"A switch's default branch: runs when no case matches. Every switch has one, possibly empty.","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].default.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].default","typeLabel":"array | null"},"onFailure":{"oneOf":[{"type":"array","description":"The step's failure path: a chain that runs when this step fails, beside it in the same container (not inside it).\nIts first step runs only on failure; the rest follow it. A plan can add a failure path and edit the steps on one,\nbut never re-point or delete an existing one (that stays a designer action).","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].onFailure.oneOf.0","typeLabel":"array"},{"type":"null","description":"The step's failure path: a chain that runs when this step fails, beside it in the same container (not inside it).\nIts first step runs only on failure; the rest follow it. A plan can add a failure path and edit the steps on one,\nbut never re-point or delete an existing one (that stays a designer action).","items":{"$circularRef":"e0d1a395-499c-40cd-96cb-60162fe13611"},"uniqueKey":"steps.items.[INDEX].onFailure.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].onFailure","typeLabel":"array | null"},"ref":{"oneOf":[{"type":"integer","description":"Opaque steps: the StepNo in the base workflow.","format":"int32","uniqueKey":"steps.items.[INDEX].ref.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Opaque steps: the StepNo in the base workflow.","format":"int32","uniqueKey":"steps.items.[INDEX].ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].ref","typeLabel":"integer\u003cint32> | null"},"schedule":{"oneOf":[{"type":"object","description":"The trigger's schedule, only on a schedule (polling) trigger; see PlanScheduleMapper. Left out, an\nexisting trigger keeps the schedule it has.","properties":{"frequency":{"oneOf":[{"type":"string","description":"minute|hour|day|week|month","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.frequency.oneOf.0","typeLabel":"string"},{"type":"null","description":"minute|hour|day|week|month","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.frequency.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.frequency","typeLabel":"string | null"},"interval":{"oneOf":[{"type":"integer","description":"Run every interval units of Frequency.","format":"int32","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.interval.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Run every interval units of Frequency.","format":"int32","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.interval.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.interval","typeLabel":"integer\u003cint32> | null"},"startDate":{"oneOf":[{"type":"string","description":"yyyy-MM-dd; today (UTC) when left out.","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.startDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"yyyy-MM-dd; today (UTC) when left out.","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.startDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.startDate","typeLabel":"string | null"},"startTime":{"oneOf":[{"type":"string","description":"HH:mm; 00:00 when left out.","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.startTime.oneOf.0","typeLabel":"string"},{"type":"null","description":"HH:mm; 00:00 when left out.","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.startTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.startTime","typeLabel":"string | null"},"weekDays":{"oneOf":[{"type":"string","description":"Days of the week, 0 = Sunday … 6 = Saturday: \"1,2,3,4,5\" or [1,2,3,4,5]. Every day when left out. Only a weekly schedule\nreads them, so a subset with any other frequency is refused.","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.weekDays.oneOf.0","typeLabel":"string"},{"type":"null","description":"Days of the week, 0 = Sunday … 6 = Saturday: \"1,2,3,4,5\" or [1,2,3,4,5]. Every day when left out. Only a weekly schedule\nreads them, so a subset with any other frequency is refused.","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.weekDays.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.weekDays","typeLabel":"string | null"},"timeZone":{"oneOf":[{"type":"string","description":"The IANA zone StartDate/StartTime/time frames are written in; UTC when left out. A monthly\nschedule whose start lands on another day in UTC is refused (it repeats on its UTC day of the month).","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeZone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The IANA zone StartDate/StartTime/time frames are written in; UTC when left out. A monthly\nschedule whose start lands on another day in UTC is refused (it repeats on its UTC day of the month).","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeZone.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeZone","typeLabel":"string | null"},"timeFrames":{"oneOf":[{"type":"array","description":"Daily windows to repeat in, every EveryMinutes minutes.","items":{"type":"object","additionalProperties":false,"properties":{"start":{"oneOf":[{"type":"string","description":"HH:mm","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].start.oneOf.0","typeLabel":"string"},{"type":"null","description":"HH:mm","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].start.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].start","typeLabel":"string | null"},"end":{"oneOf":[{"type":"string","description":"HH:mm, after Start.","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].end.oneOf.0","typeLabel":"string"},{"type":"null","description":"HH:mm, after Start.","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].end.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].end","typeLabel":"string | null"},"everyMinutes":{"oneOf":[{"type":"integer","description":"Always minutes, whatever the schedule's frequency.","format":"int32","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].everyMinutes.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Always minutes, whatever the schedule's frequency.","format":"int32","uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].everyMinutes.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX].everyMinutes","typeLabel":"integer\u003cint32> | null"}},"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Daily windows to repeat in, every EveryMinutes minutes.","items":{"type":"object","additionalProperties":false,"properties":{"start":{"oneOf":[{"type":"string","description":"HH:mm"},{"type":"null","description":"HH:mm"}]},"end":{"oneOf":[{"type":"string","description":"HH:mm, after Start."},{"type":"null","description":"HH:mm, after Start."}]},"everyMinutes":{"oneOf":[{"type":"integer","description":"Always minutes, whatever the schedule's frequency.","format":"int32"},{"type":"null","description":"Always minutes, whatever the schedule's frequency.","format":"int32"}]}}},"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0.timeFrames","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"steps.items.[INDEX].schedule.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"steps.items.[INDEX].schedule.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].schedule","typeLabel":"object | null"},"listenColumns":{"oneOf":[{"type":"array","description":"The trigger's \"columns to listen to\": only events that change one of them fire it, each column one provider\nsubscription; see PlanTriggerGateMapper. Only on a trigger whose tool offers it. Left out, an existing\ntrigger keeps the columns it has; [] removes them.","items":{"type":"string","uniqueKey":"steps.items.[INDEX].listenColumns.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"steps.items.[INDEX].listenColumns.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"The trigger's \"columns to listen to\": only events that change one of them fire it, each column one provider\nsubscription; see PlanTriggerGateMapper. Only on a trigger whose tool offers it. Left out, an existing\ntrigger keeps the columns it has; [] removes them.","items":{"type":"string"},"uniqueKey":"steps.items.[INDEX].listenColumns.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].listenColumns","typeLabel":"string[] | null"},"filters":{"oneOf":[{"type":"array","description":"A list tool's filters (the designer's filter rows, all of which must match): only on a tool that offers filters; see\nPlanQueryMapper. The step has exactly the filters, top and sorts the plan gives it: left out means none.","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A filterable field of the tool's object.","uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","description":"A filterable field of the tool's object.","uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX].field","typeLabel":"string | null"},"operator":{"oneOf":[{"type":"string","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin","uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX].operator.oneOf.0","typeLabel":"string"},{"type":"null","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin","uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX].operator.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX].operator","typeLabel":"string | null"},"value":{"oneOf":[{"type":"string","description":"Text, {{key.path}} references allowed; ignored by empty / notempty.","uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Text, {{key.path}} references allowed; ignored by empty / notempty.","uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX].value","typeLabel":"string | null"}},"uniqueKey":"steps.items.[INDEX].filters.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"steps.items.[INDEX].filters.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"A list tool's filters (the designer's filter rows, all of which must match): only on a tool that offers filters; see\nPlanQueryMapper. The step has exactly the filters, top and sorts the plan gives it: left out means none.","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A filterable field of the tool's object."},{"type":"null","description":"A filterable field of the tool's object."}]},"operator":{"oneOf":[{"type":"string","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin"},{"type":"null","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin"}]},"value":{"oneOf":[{"type":"string","description":"Text, {{key.path}} references allowed; ignored by empty / notempty."},{"type":"null","description":"Text, {{key.path}} references allowed; ignored by empty / notempty."}]}}},"uniqueKey":"steps.items.[INDEX].filters.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].filters","typeLabel":"object[] | null"},"top":{"oneOf":[{"type":"integer","description":"Return at most this many records (the designer's \"Select top\"); only on a tool that offers it.","format":"int32","uniqueKey":"steps.items.[INDEX].top.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Return at most this many records (the designer's \"Select top\"); only on a tool that offers it.","format":"int32","uniqueKey":"steps.items.[INDEX].top.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].top","typeLabel":"integer\u003cint32> | null"},"sorts":{"oneOf":[{"type":"array","description":"A list tool's sort order, first entry first; only on a tool that offers sorting.","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A sortable field of the tool's object.","uniqueKey":"steps.items.[INDEX].sorts.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","description":"A sortable field of the tool's object.","uniqueKey":"steps.items.[INDEX].sorts.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].sorts.oneOf.0.items.[INDEX].field","typeLabel":"string | null"},"direction":{"oneOf":[{"type":"string","description":"asc (the default) | desc","uniqueKey":"steps.items.[INDEX].sorts.oneOf.0.items.[INDEX].direction.oneOf.0","typeLabel":"string"},{"type":"null","description":"asc (the default) | desc","uniqueKey":"steps.items.[INDEX].sorts.oneOf.0.items.[INDEX].direction.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].sorts.oneOf.0.items.[INDEX].direction","typeLabel":"string | null"}},"uniqueKey":"steps.items.[INDEX].sorts.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"steps.items.[INDEX].sorts.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"A list tool's sort order, first entry first; only on a tool that offers sorting.","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A sortable field of the tool's object."},{"type":"null","description":"A sortable field of the tool's object."}]},"direction":{"oneOf":[{"type":"string","description":"asc (the default) | desc"},{"type":"null","description":"asc (the default) | desc"}]}}},"uniqueKey":"steps.items.[INDEX].sorts.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].sorts","typeLabel":"object[] | null"},"advancedFilter":{"oneOf":[{"type":"boolean","description":"Sort \u0026 Filter only: each filter's field is an expression over the current record instead of a field name:\nthe data reference followed by the field (data {{s2}}, field {{s2.Amount}}: a list action's array is the step itself).\nLeft out means plain field-name filters.","uniqueKey":"steps.items.[INDEX].advancedFilter.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Sort \u0026 Filter only: each filter's field is an expression over the current record instead of a field name:\nthe data reference followed by the field (data {{s2}}, field {{s2.Amount}}: a list action's array is the step itself).\nLeft out means plain field-name filters.","uniqueKey":"steps.items.[INDEX].advancedFilter.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].advancedFilter","typeLabel":"boolean | null"},"offset":{"oneOf":[{"type":"integer","description":"Sort \u0026 Filter only: skip this many records before the ones returned (the designer's \"Offset\").","format":"int32","uniqueKey":"steps.items.[INDEX].offset.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Sort \u0026 Filter only: skip this many records before the ones returned (the designer's \"Offset\").","format":"int32","uniqueKey":"steps.items.[INDEX].offset.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].offset","typeLabel":"integer\u003cint32> | null"},"sample":{"oneOf":[{"type":"string","description":"A Parse JSON step's sample: a synthetic JSON (or XML) document of the shape the step's content will hold.\nIts output schema is generated from it, so {{key.field}} resolves. Stored in clear text with the workflow:\nnever paste a real record. Left out on an existing step, the saved schema is kept.","uniqueKey":"steps.items.[INDEX].sample.oneOf.0","typeLabel":"string"},{"type":"null","description":"A Parse JSON step's sample: a synthetic JSON (or XML) document of the shape the step's content will hold.\nIts output schema is generated from it, so {{key.field}} resolves. Stored in clear text with the workflow:\nnever paste a real record. Left out on an existing step, the saved schema is kept.","uniqueKey":"steps.items.[INDEX].sample.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].sample","typeLabel":"string | null"},"mapDictionary":{"oneOf":[{"type":"boolean","description":"A Parse JSON step: read JSON objects whose keys are ids (a dictionary) as an array of entries.","uniqueKey":"steps.items.[INDEX].mapDictionary.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"A Parse JSON step: read JSON objects whose keys are ids (a dictionary) as an array of entries.","uniqueKey":"steps.items.[INDEX].mapDictionary.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].mapDictionary","typeLabel":"boolean | null"},"subItems":{"oneOf":[{"type":"object","description":"A tool's sub-item tables (Http Request's Queries and Headers), by table name: one row\n({field: value}) or a list of rows; see PlanSubItemMapper. Only on a tool that offers the\ntable. Like filters, the step has exactly the tables the plan gives it: an offered table left out is cleared.","additionalProperties":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].subItems.oneOf.0.additionalProperties.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"steps.items.[INDEX].subItems.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"steps.items.[INDEX].subItems.oneOf.0.additionalProperties","typeLabel":"object[]"},"uniqueKey":"steps.items.[INDEX].subItems.oneOf.0","typeLabel":"object"},{"type":"null","description":"A tool's sub-item tables (Http Request's Queries and Headers), by table name: one row\n({field: value}) or a list of rows; see PlanSubItemMapper. Only on a tool that offers the\ntable. Like filters, the step has exactly the tables the plan gives it: an offered table left out is cleared.","additionalProperties":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].subItems.oneOf.1.additionalProperties.items.[INDEX].additionalProperties","typeLabel":"string"},"uniqueKey":"steps.items.[INDEX].subItems.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"steps.items.[INDEX].subItems.oneOf.1.additionalProperties","typeLabel":"object[]"},"uniqueKey":"steps.items.[INDEX].subItems.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].subItems","typeLabel":"object | null"},"model":{"oneOf":[{"type":"object","description":"An ai_agent step's LLM; see PlanAiAgentMapper. Left out on an existing agent, the agent keeps the\nmodel it has (it cannot run without one); required on a new agent.","properties":{"provider":{"oneOf":[{"type":"string","description":"openai|anthropic|gemini|azure_openai|monday: the vendor whose chat model row the agent uses.","uniqueKey":"steps.items.[INDEX].model.oneOf.0.provider.oneOf.0","typeLabel":"string"},{"type":"null","description":"openai|anthropic|gemini|azure_openai|monday: the vendor whose chat model row the agent uses.","uniqueKey":"steps.items.[INDEX].model.oneOf.0.provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].model.oneOf.0.provider","typeLabel":"string | null"},"connection":{"oneOf":[{"type":"string","description":"The vendor connection: auto or a connection id (never none: the agent needs one).","uniqueKey":"steps.items.[INDEX].model.oneOf.0.connection.oneOf.0","typeLabel":"string"},{"type":"null","description":"The vendor connection: auto or a connection id (never none: the agent needs one).","uniqueKey":"steps.items.[INDEX].model.oneOf.0.connection.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].model.oneOf.0.connection","typeLabel":"string | null"},"inputs":{"oneOf":[{"type":"object","description":"The model row's inputs (model, temperature, ...), as written.","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].model.oneOf.0.inputs.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"steps.items.[INDEX].model.oneOf.0.inputs.oneOf.0","typeLabel":"object"},{"type":"null","description":"The model row's inputs (model, temperature, ...), as written.","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].model.oneOf.0.inputs.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"steps.items.[INDEX].model.oneOf.0.inputs.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].model.oneOf.0.inputs","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"steps.items.[INDEX].model.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"steps.items.[INDEX].model.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].model","typeLabel":"object | null"},"memory":{"oneOf":[{"type":"object","description":"An ai_agent step's chat memory. Left out, the agent has none (an existing one is cleared).","properties":{"sessionId":{"oneOf":[{"type":"string","description":"The chat session the memory is kept under: text, references allowed.","uniqueKey":"steps.items.[INDEX].memory.oneOf.0.sessionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The chat session the memory is kept under: text, references allowed.","uniqueKey":"steps.items.[INDEX].memory.oneOf.0.sessionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].memory.oneOf.0.sessionId","typeLabel":"string | null"},"windowLength":{"oneOf":[{"type":"string","description":"How many past messages the LLM sees (0-100); text, so a reference can be said.","uniqueKey":"steps.items.[INDEX].memory.oneOf.0.windowLength.oneOf.0","typeLabel":"string"},{"type":"null","description":"How many past messages the LLM sees (0-100); text, so a reference can be said.","uniqueKey":"steps.items.[INDEX].memory.oneOf.0.windowLength.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].memory.oneOf.0.windowLength","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"steps.items.[INDEX].memory.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"steps.items.[INDEX].memory.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].memory","typeLabel":"object | null"},"tools":{"oneOf":[{"type":"array","description":"An ai_agent step's tools (connector actions the LLM may call), the full set. Left out, the agent has none (an\nexisting set is cleared). Tools the plan cannot name (MCP, knowledge, worker, sub-agent) are never touched.","items":{"type":"object","description":"One tool of an AI agent: a connector action the LLM may call.","additionalProperties":false,"required":["connection","inputs","aiInputs"],"properties":{"connection":{"type":"string","description":"\"auto\" | \"none\" | \"\u003cconnectorId>\"","isRequired":true,"uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].connection","typeLabel":"string"},"inputs":{"type":"object","description":"Fixed values, as a step's inputs; the LLM cannot change them. Never null.","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].inputs.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].inputs","typeLabel":"object"},"aiInputs":{"type":"object","description":"Inputs the LLM fills at run time, by name, each with what the LLM is told it holds (\"\" for none). Never null.","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].aiInputs.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].aiInputs","typeLabel":"object"},"name":{"oneOf":[{"type":"string","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key.","uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key.","uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"tool":{"oneOf":[{"type":"string","description":"The action's catalog slug.","uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].tool.oneOf.0","typeLabel":"string"},{"type":"null","description":"The action's catalog slug.","uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].tool.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].tool","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"What the LLM is told the tool does; left out, the action's own description is used.","uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"What the LLM is told the tool does; left out, the action's own description is used.","uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX].description","typeLabel":"string | null"}},"uniqueKey":"steps.items.[INDEX].tools.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"steps.items.[INDEX].tools.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"An ai_agent step's tools (connector actions the LLM may call), the full set. Left out, the agent has none (an\nexisting set is cleared). Tools the plan cannot name (MCP, knowledge, worker, sub-agent) are never touched.","items":{"type":"object","description":"One tool of an AI agent: a connector action the LLM may call.","additionalProperties":false,"required":["connection","inputs","aiInputs"],"properties":{"name":{"oneOf":[{"type":"string","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key."},{"type":"null","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key."}]},"tool":{"oneOf":[{"type":"string","description":"The action's catalog slug."},{"type":"null","description":"The action's catalog slug."}]},"connection":{"type":"string","description":"\"auto\" | \"none\" | \"\u003cconnectorId>\""},"description":{"oneOf":[{"type":"string","description":"What the LLM is told the tool does; left out, the action's own description is used."},{"type":"null","description":"What the LLM is told the tool does; left out, the action's own description is used."}]},"inputs":{"type":"object","description":"Fixed values, as a step's inputs; the LLM cannot change them. Never null.","additionalProperties":{"type":"string"}},"aiInputs":{"type":"object","description":"Inputs the LLM fills at run time, by name, each with what the LLM is told it holds (\"\" for none). Never null.","additionalProperties":{"type":"string"}}}},"uniqueKey":"steps.items.[INDEX].tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].tools","typeLabel":"object[] | null"},"value":{"oneOf":[{"description":"An init_variable step's value as a JSON tree (TYPE object or array): the step is written in the\ndesigner's Manual mode, one typed property per leaf, so a {{key.path}} in a leaf resolves on its own; see\nPlanVariableValueMapper. Left out, VALUE is the raw text of inputs.VALUE (Raw mode).","uniqueKey":"steps.items.[INDEX].value.oneOf.0","typeLabel":"any"},{"description":"An init_variable step's value as a JSON tree (TYPE object or array): the step is written in the\ndesigner's Manual mode, one typed property per leaf, so a {{key.path}} in a leaf resolves on its own; see\nPlanVariableValueMapper. Left out, VALUE is the raw text of inputs.VALUE (Raw mode).","type":"null","uniqueKey":"steps.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].value","typeLabel":"any | null"},"valueTypes":{"oneOf":[{"type":"object","description":"The designer type of a Value leaf, by JSON Pointer (\"/customer/dueOn\": \"date\"), where inference\ncannot tell it: a date (JSON has none), or a number or boolean written as a {{key.path}} reference.","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].valueTypes.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"steps.items.[INDEX].valueTypes.oneOf.0","typeLabel":"object"},{"type":"null","description":"The designer type of a Value leaf, by JSON Pointer (\"/customer/dueOn\": \"date\"), where inference\ncannot tell it: a date (JSON has none), or a number or boolean written as a {{key.path}} reference.","additionalProperties":{"type":"string","uniqueKey":"steps.items.[INDEX].valueTypes.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"steps.items.[INDEX].valueTypes.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].valueTypes","typeLabel":"object | null"}},"uniqueKey":"steps.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"steps","typeLabel":"object[]"},"notes":{"oneOf":[{"type":"array","description":"Canvas sticky notes; see PlanNotes. Left out, the workflow keeps its notes; [] clears them; an\narray is the full set (a note with a stored id is overlaid on that note). Init-only, never a positional\nparameter, so the three new WorkflowPlan(...) sites stay as they are.","items":{"type":"object","description":"A canvas sticky note (CanvasNotesJson). Id is optional on write (the server\nmints one) and always present on read-back, so a later plan can address the note.","additionalProperties":false,"properties":{"id":{"oneOf":[{"type":"string","uniqueKey":"notes.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notes.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes.oneOf.0.items.[INDEX].id","typeLabel":"string | null"},"content":{"oneOf":[{"type":"string","uniqueKey":"notes.oneOf.0.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notes.oneOf.0.items.[INDEX].content.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes.oneOf.0.items.[INDEX].content","typeLabel":"string | null"},"x":{"oneOf":[{"type":"number","format":"double","uniqueKey":"notes.oneOf.0.items.[INDEX].x.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"notes.oneOf.0.items.[INDEX].x.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes.oneOf.0.items.[INDEX].x","typeLabel":"number\u003cdouble> | null"},"y":{"oneOf":[{"type":"number","format":"double","uniqueKey":"notes.oneOf.0.items.[INDEX].y.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"notes.oneOf.0.items.[INDEX].y.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes.oneOf.0.items.[INDEX].y","typeLabel":"number\u003cdouble> | null"},"width":{"oneOf":[{"type":"number","format":"double","uniqueKey":"notes.oneOf.0.items.[INDEX].width.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"notes.oneOf.0.items.[INDEX].width.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes.oneOf.0.items.[INDEX].width","typeLabel":"number\u003cdouble> | null"},"height":{"oneOf":[{"type":"number","format":"double","uniqueKey":"notes.oneOf.0.items.[INDEX].height.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"notes.oneOf.0.items.[INDEX].height.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes.oneOf.0.items.[INDEX].height","typeLabel":"number\u003cdouble> | null"},"color":{"oneOf":[{"type":"string","uniqueKey":"notes.oneOf.0.items.[INDEX].color.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notes.oneOf.0.items.[INDEX].color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes.oneOf.0.items.[INDEX].color","typeLabel":"string | null"}},"uniqueKey":"notes.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"notes.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Canvas sticky notes; see PlanNotes. Left out, the workflow keeps its notes; [] clears them; an\narray is the full set (a note with a stored id is overlaid on that note). Init-only, never a positional\nparameter, so the three new WorkflowPlan(...) sites stay as they are.","items":{"type":"object","description":"A canvas sticky note (CanvasNotesJson). Id is optional on write (the server\nmints one) and always present on read-back, so a later plan can address the note.","additionalProperties":false,"properties":{"id":{"oneOf":[{"type":"string"},{"type":"null"}]},"content":{"oneOf":[{"type":"string"},{"type":"null"}]},"x":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"y":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"width":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"height":{"oneOf":[{"type":"number","format":"double"},{"type":"null","format":"double"}]},"color":{"oneOf":[{"type":"string"},{"type":"null"}]}}},"uniqueKey":"notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"notes","typeLabel":"object[] | null"},"table":{"oneOf":[{"type":"string","description":"The table this workflow is an automation of (a Tables table id), for a Tables trigger (record created, updated or\ndeleted). Left out on an update, the workflow keeps its table; a workflow's table is set when it is created and\nnever changes (TableNotChangeable). Read through TableIdOf.","uniqueKey":"table.oneOf.0","typeLabel":"string"},{"type":"null","description":"The table this workflow is an automation of (a Tables table id), for a Tables trigger (record created, updated or\ndeleted). Left out on an update, the workflow keeps its table; a workflow's table is set when it is created and\nnever changes (TableNotChangeable). Read through TableIdOf.","uniqueKey":"table.oneOf.1","typeLabel":"null"}],"uniqueKey":"table","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","trigger":{"key":"\u003cstring>","type":"\u003cstring>","connection":"\u003cstring>","inputs":{},"tool":"\u003cstring>","condition":{"left":"\u003cstring>","op":"\u003cstring>","right":"\u003cstring>"},"then":"\u003carray>","else":"\u003carray>","items":"\u003cstring>","do":"\u003carray>","cases":[{"value":"\u003cstring>","steps":"\u003carray>"}],"default":"\u003carray>","onFailure":"\u003carray>","ref":123,"schedule":{"frequency":"\u003cstring>","interval":123,"startDate":"\u003cstring>","startTime":"\u003cstring>","weekDays":"\u003cstring>","timeZone":"\u003cstring>","timeFrames":[{"start":"\u003cstring>","end":"\u003cstring>","everyMinutes":123}]},"listenColumns":["\u003cstring>"],"filters":[{"field":"\u003cstring>","operator":"\u003cstring>","value":"\u003cstring>"}],"top":123,"sorts":[{"field":"\u003cstring>","direction":"\u003cstring>"}],"advancedFilter":true,"offset":123,"sample":"\u003cstring>","mapDictionary":true,"subItems":{},"model":{"provider":"\u003cstring>","connection":"\u003cstring>","inputs":{}},"memory":{"sessionId":"\u003cstring>","windowLength":"\u003cstring>"},"tools":[{"connection":"\u003cstring>","inputs":{},"aiInputs":{},"name":"\u003cstring>","tool":"\u003cstring>","description":"\u003cstring>"}],"value":"\u003cunknown>","valueTypes":{}},"steps":[{"key":"\u003cstring>","type":"\u003cstring>","connection":"\u003cstring>","inputs":{},"tool":"\u003cstring>","condition":{"left":"\u003cstring>","op":"\u003cstring>","right":"\u003cstring>"},"then":"\u003carray>","else":"\u003carray>","items":"\u003cstring>","do":"\u003carray>","cases":[{"value":"\u003cstring>","steps":"\u003carray>"}],"default":"\u003carray>","onFailure":"\u003carray>","ref":123,"schedule":{"frequency":"\u003cstring>","interval":123,"startDate":"\u003cstring>","startTime":"\u003cstring>","weekDays":"\u003cstring>","timeZone":"\u003cstring>","timeFrames":[{"start":"\u003cstring>","end":"\u003cstring>","everyMinutes":123}]},"listenColumns":["\u003cstring>"],"filters":[{"field":"\u003cstring>","operator":"\u003cstring>","value":"\u003cstring>"}],"top":123,"sorts":[{"field":"\u003cstring>","direction":"\u003cstring>"}],"advancedFilter":true,"offset":123,"sample":"\u003cstring>","mapDictionary":true,"subItems":{},"model":{"provider":"\u003cstring>","connection":"\u003cstring>","inputs":{}},"memory":{"sessionId":"\u003cstring>","windowLength":"\u003cstring>"},"tools":[{"connection":"\u003cstring>","inputs":{},"aiInputs":{},"name":"\u003cstring>","tool":"\u003cstring>","description":"\u003cstring>"}],"value":"\u003cunknown>","valueTypes":{}}],"notes":[{"id":"\u003cstring>","content":"\u003cstring>","x":123,"y":123,"width":123,"height":123,"color":"\u003cstring>"}],"table":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"447d8c73-d97f-4adb-9e7b-4538fbb22a3b":{"description":"Bad request - an invalid parameter or body, or SCOPE_REQUIRED for a write with a key that has no workspace (problem+json).","content":{"application/problem+json":{"schema":{"type":"object","description":"The builder's error body as it is sent (application/problem+json). Documentation only: the controller writes it\nfrom WorkflowBuilderApiError with the HTTP status added.","additionalProperties":false,"required":["status","code","message"],"properties":{"status":{"type":"integer","description":"The HTTP status, repeated in the body.","format":"int32","isRequired":true,"uniqueKey":"status","typeLabel":"integer\u003cint32>"},"code":{"type":"string","description":"A stable machine-readable code, such as PLAN_HAS_ERRORS or REVISION_CONFLICT.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"What failed, in plain words.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"path":{"oneOf":[{"type":"string","description":"The request member the refusal is about, when there is one.","uniqueKey":"path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request member the refusal is about, when there is one.","uniqueKey":"path.oneOf.1","typeLabel":"null"}],"uniqueKey":"path","typeLabel":"string | null"},"fix":{"oneOf":[{"type":"string","description":"What to do about it, when the builder knows.","uniqueKey":"fix.oneOf.0","typeLabel":"string"},{"type":"null","description":"What to do about it, when the builder knows.","uniqueKey":"fix.oneOf.1","typeLabel":"null"}],"uniqueKey":"fix","typeLabel":"string | null"},"diagnostics":{"oneOf":[{"type":"array","description":"With PLAN_HAS_ERRORS: every diagnostic of the refused plan.","items":{"type":"object","additionalProperties":false,"required":["severity","code","message"],"properties":{"severity":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].severity","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].message","typeLabel":"string"},"stepKey":{"oneOf":[{"type":"string","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey","typeLabel":"string | null"},"field":{"oneOf":[{"type":"string","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"uniqueKey":"diagnostics.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"diagnostics.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"With PLAN_HAS_ERRORS: every diagnostic of the refused plan.","items":{"type":"object","additionalProperties":false,"required":["severity","code","message"],"properties":{"severity":{"type":"string"},"code":{"type":"string"},"stepKey":{"oneOf":[{"type":"string"},{"type":"null"}]},"field":{"oneOf":[{"type":"string"},{"type":"null"}]},"message":{"type":"string"}}},"uniqueKey":"diagnostics.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics","typeLabel":"object[] | null"},"currentRevisionId":{"oneOf":[{"type":"integer","description":"With REVISION_CONFLICT: the workflow's revision now.","format":"int64","uniqueKey":"currentRevisionId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","description":"With REVISION_CONFLICT: the workflow's revision now.","format":"int64","uniqueKey":"currentRevisionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"currentRevisionId","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>","fix":"\u003cstring>","diagnostics":[{"severity":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","stepKey":"\u003cstring>","field":"\u003cstring>"}],"currentRevisionId":123}}},"exampleType":"generated"}},"exampleType":"generated"},"55027d9f-e152-48e6-84a8-3db473a42379":{"description":"Unauthorized - missing or invalid bearer token or API key.","content":{"application/json":{"schema":{"type":"object","description":"Unified machine-readable error envelope returned by every non-200 Developer API response.","additionalProperties":false,"required":["errorCode","message","requestId","timestamp"],"properties":{"errorCode":{"type":"string","description":"Machine-readable error code identifying the failure.","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, for support/correlation.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred (ISO 8601).","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"Per-field validation details, when applicable.","items":{"type":"object","description":"A single field-level error detail within an ErrorResponse.","additionalProperties":false,"required":["field","issue"],"properties":{"field":{"type":"string","description":"Name of the field the issue relates to.","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","description":"Description of the issue with the field.","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].issue","typeLabel":"string"}},"uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Per-field validation details, when applicable.","items":{"type":"object","description":"A single field-level error detail within an ErrorResponse.","additionalProperties":false,"required":["field","issue"],"properties":{"field":{"type":"string","description":"Name of the field the issue relates to."},"issue":{"type":"string","description":"Description of the issue with the field."}}},"uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","timestamp":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"e1965cad-a665-4ff2-ae42-7a7f8c0307b8":{"description":"Forbidden - API_KEY_REQUIRED for a Bearer token or an account-level key, PERMISSION_DENIED when the key's user may not create workflows here (problem+json); FORBIDDEN, GUEST_NOT_ALLOWED or SCOPE_UNRESOLVED when a gate in front of the builder refuses first (the ErrorResponse envelope, application/json).","content":{"application/problem+json":{"schema":{"type":"object","description":"The builder's error body as it is sent (application/problem+json). Documentation only: the controller writes it\nfrom WorkflowBuilderApiError with the HTTP status added.","additionalProperties":false,"required":["status","code","message"],"properties":{"status":{"type":"integer","description":"The HTTP status, repeated in the body.","format":"int32","isRequired":true,"uniqueKey":"status","typeLabel":"integer\u003cint32>"},"code":{"type":"string","description":"A stable machine-readable code, such as PLAN_HAS_ERRORS or REVISION_CONFLICT.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"What failed, in plain words.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"path":{"oneOf":[{"type":"string","description":"The request member the refusal is about, when there is one.","uniqueKey":"path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request member the refusal is about, when there is one.","uniqueKey":"path.oneOf.1","typeLabel":"null"}],"uniqueKey":"path","typeLabel":"string | null"},"fix":{"oneOf":[{"type":"string","description":"What to do about it, when the builder knows.","uniqueKey":"fix.oneOf.0","typeLabel":"string"},{"type":"null","description":"What to do about it, when the builder knows.","uniqueKey":"fix.oneOf.1","typeLabel":"null"}],"uniqueKey":"fix","typeLabel":"string | null"},"diagnostics":{"oneOf":[{"type":"array","description":"With PLAN_HAS_ERRORS: every diagnostic of the refused plan.","items":{"type":"object","additionalProperties":false,"required":["severity","code","message"],"properties":{"severity":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].severity","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].message","typeLabel":"string"},"stepKey":{"oneOf":[{"type":"string","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey","typeLabel":"string | null"},"field":{"oneOf":[{"type":"string","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"uniqueKey":"diagnostics.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"diagnostics.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"With PLAN_HAS_ERRORS: every diagnostic of the refused plan.","items":{"type":"object","additionalProperties":false,"required":["severity","code","message"],"properties":{"severity":{"type":"string"},"code":{"type":"string"},"stepKey":{"oneOf":[{"type":"string"},{"type":"null"}]},"field":{"oneOf":[{"type":"string"},{"type":"null"}]},"message":{"type":"string"}}},"uniqueKey":"diagnostics.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics","typeLabel":"object[] | null"},"currentRevisionId":{"oneOf":[{"type":"integer","description":"With REVISION_CONFLICT: the workflow's revision now.","format":"int64","uniqueKey":"currentRevisionId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","description":"With REVISION_CONFLICT: the workflow's revision now.","format":"int64","uniqueKey":"currentRevisionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"currentRevisionId","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>","fix":"\u003cstring>","diagnostics":[{"severity":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","stepKey":"\u003cstring>","field":"\u003cstring>"}],"currentRevisionId":123}}},"exampleType":"generated"},"application/json":{"schema":{"type":"object","description":"Unified machine-readable error envelope returned by every non-200 Developer API response.","additionalProperties":false,"required":["errorCode","message","requestId","timestamp"],"properties":{"errorCode":{"type":"string","description":"Machine-readable error code identifying the failure.","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, for support/correlation.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred (ISO 8601).","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"Per-field validation details, when applicable.","items":{"type":"object","description":"A single field-level error detail within an ErrorResponse.","additionalProperties":false,"required":["field","issue"],"properties":{"field":{"type":"string","description":"Name of the field the issue relates to.","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","description":"Description of the issue with the field.","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].issue","typeLabel":"string"}},"uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Per-field validation details, when applicable.","items":{"type":"object","description":"A single field-level error detail within an ErrorResponse.","additionalProperties":false,"required":["field","issue"],"properties":{"field":{"type":"string","description":"Name of the field the issue relates to."},"issue":{"type":"string","description":"Description of the issue with the field."}}},"uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","timestamp":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"9efe0a2b-cbd6-49a6-bb6d-b55abb29bbc8":{"description":"Not found - the workflow, app, table or connection is not visible to this key, or the key's user may not read here (problem+json).","content":{"application/problem+json":{"schema":{"type":"object","description":"The builder's error body as it is sent (application/problem+json). Documentation only: the controller writes it\nfrom WorkflowBuilderApiError with the HTTP status added.","additionalProperties":false,"required":["status","code","message"],"properties":{"status":{"type":"integer","description":"The HTTP status, repeated in the body.","format":"int32","isRequired":true,"uniqueKey":"status","typeLabel":"integer\u003cint32>"},"code":{"type":"string","description":"A stable machine-readable code, such as PLAN_HAS_ERRORS or REVISION_CONFLICT.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"What failed, in plain words.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"path":{"oneOf":[{"type":"string","description":"The request member the refusal is about, when there is one.","uniqueKey":"path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request member the refusal is about, when there is one.","uniqueKey":"path.oneOf.1","typeLabel":"null"}],"uniqueKey":"path","typeLabel":"string | null"},"fix":{"oneOf":[{"type":"string","description":"What to do about it, when the builder knows.","uniqueKey":"fix.oneOf.0","typeLabel":"string"},{"type":"null","description":"What to do about it, when the builder knows.","uniqueKey":"fix.oneOf.1","typeLabel":"null"}],"uniqueKey":"fix","typeLabel":"string | null"},"diagnostics":{"oneOf":[{"type":"array","description":"With PLAN_HAS_ERRORS: every diagnostic of the refused plan.","items":{"type":"object","additionalProperties":false,"required":["severity","code","message"],"properties":{"severity":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].severity","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].message","typeLabel":"string"},"stepKey":{"oneOf":[{"type":"string","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey","typeLabel":"string | null"},"field":{"oneOf":[{"type":"string","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"uniqueKey":"diagnostics.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"diagnostics.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"With PLAN_HAS_ERRORS: every diagnostic of the refused plan.","items":{"type":"object","additionalProperties":false,"required":["severity","code","message"],"properties":{"severity":{"type":"string"},"code":{"type":"string"},"stepKey":{"oneOf":[{"type":"string"},{"type":"null"}]},"field":{"oneOf":[{"type":"string"},{"type":"null"}]},"message":{"type":"string"}}},"uniqueKey":"diagnostics.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics","typeLabel":"object[] | null"},"currentRevisionId":{"oneOf":[{"type":"integer","description":"With REVISION_CONFLICT: the workflow's revision now.","format":"int64","uniqueKey":"currentRevisionId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","description":"With REVISION_CONFLICT: the workflow's revision now.","format":"int64","uniqueKey":"currentRevisionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"currentRevisionId","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>","fix":"\u003cstring>","diagnostics":[{"severity":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","stepKey":"\u003cstring>","field":"\u003cstring>"}],"currentRevisionId":123}}},"exampleType":"generated"}},"exampleType":"generated"},"6193bc10-36c3-46e9-92e3-e75aee7a6379":{"description":"Too many requests - the account's limit (ErrorResponse body) or this key's per-operation limit (empty body). Both send Retry-After.","headers":{"Retry-After":{"description":"Number of seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","description":"Unified machine-readable error envelope returned by every non-200 Developer API response.","additionalProperties":false,"required":["errorCode","message","requestId","timestamp"],"properties":{"errorCode":{"type":"string","description":"Machine-readable error code identifying the failure.","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Identifier of the request, for support/correlation.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred (ISO 8601).","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"Per-field validation details, when applicable.","items":{"type":"object","description":"A single field-level error detail within an ErrorResponse.","additionalProperties":false,"required":["field","issue"],"properties":{"field":{"type":"string","description":"Name of the field the issue relates to.","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","description":"Description of the issue with the field.","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].issue","typeLabel":"string"}},"uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Per-field validation details, when applicable.","items":{"type":"object","description":"A single field-level error detail within an ErrorResponse.","additionalProperties":false,"required":["field","issue"],"properties":{"field":{"type":"string","description":"Name of the field the issue relates to."},"issue":{"type":"string","description":"Description of the issue with the field."}}},"uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errorCode":"\u003cstring>","message":"\u003cstring>","requestId":"\u003cstring>","timestamp":"\u003cstring>","details":[{"field":"\u003cstring>","issue":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"0b42b481-f447-4133-be29-6f6b96bf32b1":{"description":"Internal server error (problem+json).","content":{"application/problem+json":{"schema":{"type":"object","description":"The builder's error body as it is sent (application/problem+json). Documentation only: the controller writes it\nfrom WorkflowBuilderApiError with the HTTP status added.","additionalProperties":false,"required":["status","code","message"],"properties":{"status":{"type":"integer","description":"The HTTP status, repeated in the body.","format":"int32","isRequired":true,"uniqueKey":"status","typeLabel":"integer\u003cint32>"},"code":{"type":"string","description":"A stable machine-readable code, such as PLAN_HAS_ERRORS or REVISION_CONFLICT.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"What failed, in plain words.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"path":{"oneOf":[{"type":"string","description":"The request member the refusal is about, when there is one.","uniqueKey":"path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request member the refusal is about, when there is one.","uniqueKey":"path.oneOf.1","typeLabel":"null"}],"uniqueKey":"path","typeLabel":"string | null"},"fix":{"oneOf":[{"type":"string","description":"What to do about it, when the builder knows.","uniqueKey":"fix.oneOf.0","typeLabel":"string"},{"type":"null","description":"What to do about it, when the builder knows.","uniqueKey":"fix.oneOf.1","typeLabel":"null"}],"uniqueKey":"fix","typeLabel":"string | null"},"diagnostics":{"oneOf":[{"type":"array","description":"With PLAN_HAS_ERRORS: every diagnostic of the refused plan.","items":{"type":"object","additionalProperties":false,"required":["severity","code","message"],"properties":{"severity":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].severity","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].message","typeLabel":"string"},"stepKey":{"oneOf":[{"type":"string","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].stepKey","typeLabel":"string | null"},"field":{"oneOf":[{"type":"string","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"uniqueKey":"diagnostics.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"diagnostics.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"With PLAN_HAS_ERRORS: every diagnostic of the refused plan.","items":{"type":"object","additionalProperties":false,"required":["severity","code","message"],"properties":{"severity":{"type":"string"},"code":{"type":"string"},"stepKey":{"oneOf":[{"type":"string"},{"type":"null"}]},"field":{"oneOf":[{"type":"string"},{"type":"null"}]},"message":{"type":"string"}}},"uniqueKey":"diagnostics.oneOf.1","typeLabel":"null"}],"uniqueKey":"diagnostics","typeLabel":"object[] | null"},"currentRevisionId":{"oneOf":[{"type":"integer","description":"With REVISION_CONFLICT: the workflow's revision now.","format":"int64","uniqueKey":"currentRevisionId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","description":"With REVISION_CONFLICT: the workflow's revision now.","format":"int64","uniqueKey":"currentRevisionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"currentRevisionId","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>","fix":"\u003cstring>","diagnostics":[{"severity":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","stepKey":"\u003cstring>","field":"\u003cstring>"}],"currentRevisionId":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"87ee3d70-771b-4af1-8f4a-250f3cf12c5d":{"Bearer":{"type":"http","description":"Enter your JWT token","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"}},"c246a01b-83e6-4eb8-8e34-9942d33255ff":{"ApiKey":{"type":"apiKey","description":"Opaque Developer API key (prefix `eng_`). Authenticates as the key's owner and resolves the account automatically.","name":"x-api-key","in":"header","scopes":[],"schemeName":"ApiKey"}}},"servers":{"88cde6e8-2200-4503-b575-e9d48ccab6bb":{"url":"https://api.engini.io"}},"schemas":{"e0d1a395-499c-40cd-96cb-60162fe13611":{"type":"object","additionalProperties":false,"required":["key","type","connection","inputs"],"properties":{"key":{"type":"string","isRequired":true},"type":{"type":"string","description":"action|if|foreach|switch|do_while|scope|init_variable|set_variable|delay|stop|ai_agent|opaque","isRequired":true},"connection":{"type":"string","description":"\"auto\" | \"none\" | \"\u003cconnectorId>\"","isRequired":true},"inputs":{"type":"object","description":"Never null: a JSON null is normalised to empty.","additionalProperties":{"type":"string"},"isRequired":true},"tool":{"oneOf":[{"type":"string","description":"Catalog slug, for action/trigger."},{"type":"null","description":"Catalog slug, for action/trigger."}]},"condition":{"oneOf":[{"type":"object","description":"Op: eq|ne|gt|gte|lt|lte|contains|empty|notempty","required":["left","op","right"],"properties":{"left":{"type":"string","isRequired":true},"op":{"type":"string","isRequired":true},"right":{"type":"string","isRequired":true}},"additionalProperties":false},{"type":"null"}]},"then":{"oneOf":[{"type":"array","items":{"oneOf":[{}]}},{"type":"null"}]},"else":{"oneOf":[{"type":"array","items":{"oneOf":[{}]}},{"type":"null"}]},"items":{"oneOf":[{"type":"string"},{"type":"null"}]},"do":{"oneOf":[{"type":"array","items":{"oneOf":[{}]},"description":"The body of a foreach, a do_while (run while its condition holds) or a scope."},{"type":"null","description":"The body of a foreach, a do_while (run while its condition holds) or a scope."}]},"cases":{"oneOf":[{"type":"array","items":{"type":"object","description":"One case of a switch: the value it matches (a literal or a reference) and the steps it runs.","additionalProperties":false,"properties":{"value":{"oneOf":[{"type":"string"},{"type":"null"}]},"steps":{"oneOf":[{"type":"array","items":{"oneOf":[{}]}},{"type":"null"}]}}},"description":"A switch's cases, first case first; the value compared is the step's inputs.data. Every case whose\nvalue equals it is tried in order and the last match runs, so give each case a distinct value."},{"type":"null","description":"A switch's cases, first case first; the value compared is the step's inputs.data. Every case whose\nvalue equals it is tried in order and the last match runs, so give each case a distinct value."}]},"default":{"oneOf":[{"type":"array","items":{"oneOf":[{}]},"description":"A switch's default branch: runs when no case matches. Every switch has one, possibly empty."},{"type":"null","description":"A switch's default branch: runs when no case matches. Every switch has one, possibly empty."}]},"onFailure":{"oneOf":[{"type":"array","items":{"oneOf":[{}]},"description":"The step's failure path: a chain that runs when this step fails, beside it in the same container (not inside it).\nIts first step runs only on failure; the rest follow it. A plan can add a failure path and edit the steps on one,\nbut never re-point or delete an existing one (that stays a designer action)."},{"type":"null","description":"The step's failure path: a chain that runs when this step fails, beside it in the same container (not inside it).\nIts first step runs only on failure; the rest follow it. A plan can add a failure path and edit the steps on one,\nbut never re-point or delete an existing one (that stays a designer action)."}]},"ref":{"oneOf":[{"type":"integer","description":"Opaque steps: the StepNo in the base workflow.","format":"int32"},{"type":"null","description":"Opaque steps: the StepNo in the base workflow.","format":"int32"}]},"schedule":{"oneOf":[{"type":"object","description":"The trigger's schedule, only on a schedule (polling) trigger; see PlanScheduleMapper. Left out, an\nexisting trigger keeps the schedule it has.","properties":{"frequency":{"oneOf":[{"type":"string","description":"minute|hour|day|week|month"},{"type":"null","description":"minute|hour|day|week|month"}]},"interval":{"oneOf":[{"type":"integer","description":"Run every interval units of Frequency.","format":"int32"},{"type":"null","description":"Run every interval units of Frequency.","format":"int32"}]},"startDate":{"oneOf":[{"type":"string","description":"yyyy-MM-dd; today (UTC) when left out."},{"type":"null","description":"yyyy-MM-dd; today (UTC) when left out."}]},"startTime":{"oneOf":[{"type":"string","description":"HH:mm; 00:00 when left out."},{"type":"null","description":"HH:mm; 00:00 when left out."}]},"weekDays":{"oneOf":[{"type":"string","description":"Days of the week, 0 = Sunday … 6 = Saturday: \"1,2,3,4,5\" or [1,2,3,4,5]. Every day when left out. Only a weekly schedule\nreads them, so a subset with any other frequency is refused."},{"type":"null","description":"Days of the week, 0 = Sunday … 6 = Saturday: \"1,2,3,4,5\" or [1,2,3,4,5]. Every day when left out. Only a weekly schedule\nreads them, so a subset with any other frequency is refused."}]},"timeZone":{"oneOf":[{"type":"string","description":"The IANA zone StartDate/StartTime/time frames are written in; UTC when left out. A monthly\nschedule whose start lands on another day in UTC is refused (it repeats on its UTC day of the month)."},{"type":"null","description":"The IANA zone StartDate/StartTime/time frames are written in; UTC when left out. A monthly\nschedule whose start lands on another day in UTC is refused (it repeats on its UTC day of the month)."}]},"timeFrames":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"start":{"oneOf":[{"type":"string","description":"HH:mm"},{"type":"null","description":"HH:mm"}]},"end":{"oneOf":[{"type":"string","description":"HH:mm, after Start."},{"type":"null","description":"HH:mm, after Start."}]},"everyMinutes":{"oneOf":[{"type":"integer","description":"Always minutes, whatever the schedule's frequency.","format":"int32"},{"type":"null","description":"Always minutes, whatever the schedule's frequency.","format":"int32"}]}}},"description":"Daily windows to repeat in, every EveryMinutes minutes."},{"type":"null","description":"Daily windows to repeat in, every EveryMinutes minutes."}]}},"additionalProperties":false},{"type":"null"}]},"listenColumns":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The trigger's \"columns to listen to\": only events that change one of them fire it, each column one provider\nsubscription; see PlanTriggerGateMapper. Only on a trigger whose tool offers it. Left out, an existing\ntrigger keeps the columns it has; [] removes them."},{"type":"null","description":"The trigger's \"columns to listen to\": only events that change one of them fire it, each column one provider\nsubscription; see PlanTriggerGateMapper. Only on a trigger whose tool offers it. Left out, an existing\ntrigger keeps the columns it has; [] removes them."}]},"filters":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A filterable field of the tool's object."},{"type":"null","description":"A filterable field of the tool's object."}]},"operator":{"oneOf":[{"type":"string","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin"},{"type":"null","description":"eq|ne|gt|gte|lt|lte|contains|notcontains|startswith|endswith|notstartswith|notendswith|empty|notempty|in|notin"}]},"value":{"oneOf":[{"type":"string","description":"Text, {{key.path}} references allowed; ignored by empty / notempty."},{"type":"null","description":"Text, {{key.path}} references allowed; ignored by empty / notempty."}]}}},"description":"A list tool's filters (the designer's filter rows, all of which must match): only on a tool that offers filters; see\nPlanQueryMapper. The step has exactly the filters, top and sorts the plan gives it: left out means none."},{"type":"null","description":"A list tool's filters (the designer's filter rows, all of which must match): only on a tool that offers filters; see\nPlanQueryMapper. The step has exactly the filters, top and sorts the plan gives it: left out means none."}]},"top":{"oneOf":[{"type":"integer","description":"Return at most this many records (the designer's \"Select top\"); only on a tool that offers it.","format":"int32"},{"type":"null","description":"Return at most this many records (the designer's \"Select top\"); only on a tool that offers it.","format":"int32"}]},"sorts":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"field":{"oneOf":[{"type":"string","description":"A sortable field of the tool's object."},{"type":"null","description":"A sortable field of the tool's object."}]},"direction":{"oneOf":[{"type":"string","description":"asc (the default) | desc"},{"type":"null","description":"asc (the default) | desc"}]}}},"description":"A list tool's sort order, first entry first; only on a tool that offers sorting."},{"type":"null","description":"A list tool's sort order, first entry first; only on a tool that offers sorting."}]},"advancedFilter":{"oneOf":[{"type":"boolean","description":"Sort \u0026 Filter only: each filter's field is an expression over the current record instead of a field name:\nthe data reference followed by the field (data {{s2}}, field {{s2.Amount}}: a list action's array is the step itself).\nLeft out means plain field-name filters."},{"type":"null","description":"Sort \u0026 Filter only: each filter's field is an expression over the current record instead of a field name:\nthe data reference followed by the field (data {{s2}}, field {{s2.Amount}}: a list action's array is the step itself).\nLeft out means plain field-name filters."}]},"offset":{"oneOf":[{"type":"integer","description":"Sort \u0026 Filter only: skip this many records before the ones returned (the designer's \"Offset\").","format":"int32"},{"type":"null","description":"Sort \u0026 Filter only: skip this many records before the ones returned (the designer's \"Offset\").","format":"int32"}]},"sample":{"oneOf":[{"type":"string","description":"A Parse JSON step's sample: a synthetic JSON (or XML) document of the shape the step's content will hold.\nIts output schema is generated from it, so {{key.field}} resolves. Stored in clear text with the workflow:\nnever paste a real record. Left out on an existing step, the saved schema is kept."},{"type":"null","description":"A Parse JSON step's sample: a synthetic JSON (or XML) document of the shape the step's content will hold.\nIts output schema is generated from it, so {{key.field}} resolves. Stored in clear text with the workflow:\nnever paste a real record. Left out on an existing step, the saved schema is kept."}]},"mapDictionary":{"oneOf":[{"type":"boolean","description":"A Parse JSON step: read JSON objects whose keys are ids (a dictionary) as an array of entries."},{"type":"null","description":"A Parse JSON step: read JSON objects whose keys are ids (a dictionary) as an array of entries."}]},"subItems":{"oneOf":[{"type":"object","description":"A tool's sub-item tables (Http Request's Queries and Headers), by table name: one row\n({field: value}) or a list of rows; see PlanSubItemMapper. Only on a tool that offers the\ntable. Like filters, the step has exactly the tables the plan gives it: an offered table left out is cleared.","additionalProperties":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}}},{"type":"null","description":"A tool's sub-item tables (Http Request's Queries and Headers), by table name: one row\n({field: value}) or a list of rows; see PlanSubItemMapper. Only on a tool that offers the\ntable. Like filters, the step has exactly the tables the plan gives it: an offered table left out is cleared.","additionalProperties":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}}}]},"model":{"oneOf":[{"type":"object","description":"An ai_agent step's LLM; see PlanAiAgentMapper. Left out on an existing agent, the agent keeps the\nmodel it has (it cannot run without one); required on a new agent.","properties":{"provider":{"oneOf":[{"type":"string","description":"openai|anthropic|gemini|azure_openai|monday: the vendor whose chat model row the agent uses."},{"type":"null","description":"openai|anthropic|gemini|azure_openai|monday: the vendor whose chat model row the agent uses."}]},"connection":{"oneOf":[{"type":"string","description":"The vendor connection: auto or a connection id (never none: the agent needs one)."},{"type":"null","description":"The vendor connection: auto or a connection id (never none: the agent needs one)."}]},"inputs":{"oneOf":[{"type":"object","description":"The model row's inputs (model, temperature, ...), as written.","additionalProperties":{"type":"string"}},{"type":"null","description":"The model row's inputs (model, temperature, ...), as written.","additionalProperties":{"type":"string"}}]}},"additionalProperties":false},{"type":"null"}]},"memory":{"oneOf":[{"type":"object","description":"An ai_agent step's chat memory. Left out, the agent has none (an existing one is cleared).","properties":{"sessionId":{"oneOf":[{"type":"string","description":"The chat session the memory is kept under: text, references allowed."},{"type":"null","description":"The chat session the memory is kept under: text, references allowed."}]},"windowLength":{"oneOf":[{"type":"string","description":"How many past messages the LLM sees (0-100); text, so a reference can be said."},{"type":"null","description":"How many past messages the LLM sees (0-100); text, so a reference can be said."}]}},"additionalProperties":false},{"type":"null"}]},"tools":{"oneOf":[{"type":"array","items":{"type":"object","description":"One tool of an AI agent: a connector action the LLM may call.","additionalProperties":false,"required":["connection","inputs","aiInputs"],"properties":{"connection":{"type":"string","description":"\"auto\" | \"none\" | \"\u003cconnectorId>\"","isRequired":true},"inputs":{"type":"object","description":"Fixed values, as a step's inputs; the LLM cannot change them. Never null.","additionalProperties":{"type":"string"},"isRequired":true},"aiInputs":{"type":"object","description":"Inputs the LLM fills at run time, by name, each with what the LLM is told it holds (\"\" for none). Never null.","additionalProperties":{"type":"string"},"isRequired":true},"name":{"oneOf":[{"type":"string","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key."},{"type":"null","description":"The name the LLM calls the tool by: [a-z0-9_], 1-128, unique within the agent. Not a plan key."}]},"tool":{"oneOf":[{"type":"string","description":"The action's catalog slug."},{"type":"null","description":"The action's catalog slug."}]},"description":{"oneOf":[{"type":"string","description":"What the LLM is told the tool does; left out, the action's own description is used."},{"type":"null","description":"What the LLM is told the tool does; left out, the action's own description is used."}]}}},"description":"An ai_agent step's tools (connector actions the LLM may call), the full set. Left out, the agent has none (an\nexisting set is cleared). Tools the plan cannot name (MCP, knowledge, worker, sub-agent) are never touched."},{"type":"null","description":"An ai_agent step's tools (connector actions the LLM may call), the full set. Left out, the agent has none (an\nexisting set is cleared). Tools the plan cannot name (MCP, knowledge, worker, sub-agent) are never touched."}]},"value":{"oneOf":[{"description":"An init_variable step's value as a JSON tree (TYPE object or array): the step is written in the\ndesigner's Manual mode, one typed property per leaf, so a {{key.path}} in a leaf resolves on its own; see\nPlanVariableValueMapper. Left out, VALUE is the raw text of inputs.VALUE (Raw mode)."},{"type":"null","description":"An init_variable step's value as a JSON tree (TYPE object or array): the step is written in the\ndesigner's Manual mode, one typed property per leaf, so a {{key.path}} in a leaf resolves on its own; see\nPlanVariableValueMapper. Left out, VALUE is the raw text of inputs.VALUE (Raw mode)."}]},"valueTypes":{"oneOf":[{"type":"object","description":"The designer type of a Value leaf, by JSON Pointer (\"/customer/dueOn\": \"date\"), where inference\ncannot tell it: a date (JSON has none), or a number or boolean written as a {{key.path}} reference.","additionalProperties":{"type":"string"}},{"type":"null","description":"The designer type of a Value leaf, by JSON Pointer (\"/customer/dueOn\": \"date\"), where inference\ncannot tell it: a date (JSON has none), or a number or boolean written as a {{key.path}} reference.","additionalProperties":{"type":"string"}}]}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Enter your JWT token","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Enter your JWT token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"},{"schemes":[{"scheme":{"type":"apiKey","description":"Opaque Developer API key (prefix `eng_`). Authenticates as the key's owner and resolves the account automatically.","name":"x-api-key","in":"header","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"x-api-key","type":"string","description":"Opaque Developer API key (prefix `eng_`). Authenticates as the key's owner and resolves the account automatically.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"x-api-key"}],"title":"ApiKey"}]},"originalFileLocation":"developers/api-reference/openapi.json"},"subdomain":"engini","siteName":"Engini Docs","title":"Get a workflow as a plan - Engini Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T08:23:42.367Z","originalFileLocation":"developers/api-reference/workflows/get-a-workflow-as-a-plan.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the workflow, which PUT /v1/workflows/{id} takes back as expectedRevisionId. webhookUrl: the address that starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in the builder\u0026#x27;s JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Engini Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a workflow as a plan - Engini Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the workflow, which PUT /v1/workflows/{id} takes back as expectedRevisionId. webhookUrl: the address that starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in the builder\u0026#x27;s JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Engini Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://engini.mintlify.site/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Get+a+workflow+as+a+plan\u0026amp;description=The+body+is+the+plan+with+up+to+two+more+members.+revisionId%3A+an+opaque+token+that+moves+on+every+write+to+the%0Aworkflow%2C+which+PUT+%2Fv1%2Fworkflows%2F%7Bid%7D+takes+back\u0026amp;theme=83bfac60ebabbb324d46e845\u0026amp;signature=95bded96ea4dd18e8d07e52d2ffbcea524ccf8ffed2a3566e38542b9f2a70b3c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get a workflow as a plan - Engini Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the workflow, which PUT /v1/workflows/{id} takes back as expectedRevisionId. webhookUrl: the address that starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in the builder\u0026#x27;s JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://engini.mintlify.site/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Get+a+workflow+as+a+plan\u0026amp;description=The+body+is+the+plan+with+up+to+two+more+members.+revisionId%3A+an+opaque+token+that+moves+on+every+write+to+the%0Aworkflow%2C+which+PUT+%2Fv1%2Fworkflows%2F%7Bid%7D+takes+back\u0026amp;theme=83bfac60ebabbb324d46e845\u0026amp;signature=95bded96ea4dd18e8d07e52d2ffbcea524ccf8ffed2a3566e38542b9f2a70b3c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Engini Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5533FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers/api-reference/workflows/get-a-workflow-as-a-plan.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.engini.ai/#organization\",\"name\":\"Engini Docs\",\"url\":\"https://docs.engini.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/engini/AklLlExJ3eAXOGtW/logo/engini-lockup-light.svg?fit=max\u0026auto=format\u0026n=AklLlExJ3eAXOGtW\u0026q=85\u0026s=c0debedd989ac1aae7434afcf8929a79\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.engini.ai#website\",\"name\":\"Engini Docs\",\"url\":\"https://docs.engini.ai\",\"publisher\":{\"@id\":\"https://docs.engini.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan#webpage\",\"url\":\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan\",\"name\":\"Get a workflow as a plan\",\"description\":\"The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the workflow, which PUT /v1/workflows/{id} takes back as expectedRevisionId. webhookUrl: the address that starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in the builder's JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.\",\"dateModified\":\"2026-11-19T08:23:42.367Z\",\"isPartOf\":{\"@id\":\"https://docs.engini.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.engini.ai/developers/api-reference/auth/who-am-i\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Workflows\",\"item\":\"https://docs.engini.ai/developers/api-reference/workflows/search-the-catalog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get a workflow as a plan\",\"item\":\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan#apireference\",\"headline\":\"Get a workflow as a plan\",\"name\":\"Get a workflow as a plan\",\"description\":\"The body is the plan with up to two more members. revisionId: an opaque token that moves on every write to the workflow, which PUT /v1/workflows/{id} takes back as expectedRevisionId. webhookUrl: the address that starts the workflow, present only when its trigger is a manual webhook (omitted otherwise, as everywhere else in the builder's JSON). The plan reader ignores both members, so the body can be sent back as the plan as it is.\",\"url\":\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan\",\"mainEntityOfPage\":{\"@id\":\"https://docs.engini.ai/developers/api-reference/workflows/get-a-workflow-as-a-plan#webpage\"},\"dateModified\":\"2026-11-19T08:23:42.367Z\",\"publisher\":{\"@id\":\"https://docs.engini.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.engini.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Engini Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Engini Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developers/api-reference/workflows/get-a-workflow-as-a-plan.md","siteName":"Engini Docs","nav":{"global":null,"products":[{"product":"Help Center","icon":"circle-question","description":"Use Engini","pages":[{"title":"Help Center","href":"/help/getting-started/what-is-engini"}]},{"product":"Developers","icon":"code","description":"Build on Engini","tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/developers"}]},{"tab":"Cookbook","pages":[{"title":"Cookbook","href":"/developers/cookbook"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/developers/sdk"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/developers/cli"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/developers/api-reference"}]},{"group":"Endpoints","pages":[{"group":"Auth","pages":[{"title":"Who am I","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/auth/whoami","href":"/developers/api-reference/auth/who-am-i"}]},{"group":"Applications","pages":[{"title":"List applications","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/applications","href":"/developers/api-reference/applications/list-applications"},{"title":"Get application","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/applications/{slug}","href":"/developers/api-reference/applications/get-application"}]},{"group":"AuthProviders","pages":[{"title":"List auth providers.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/auth-providers","href":"/developers/api-reference/authproviders/list-auth-providers"},{"title":"Create an auth provider.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/auth-providers","href":"/developers/api-reference/authproviders/create-an-auth-provider"},{"title":"Get an auth provider.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/auth-providers/{id}","href":"/developers/api-reference/authproviders/get-an-auth-provider"},{"title":"Delete an auth provider.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json delete /v1/auth-providers/{id}","href":"/developers/api-reference/authproviders/delete-an-auth-provider"},{"title":"Update an auth provider.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json patch /v1/auth-providers/{id}","href":"/developers/api-reference/authproviders/update-an-auth-provider"},{"title":"List the auth providers you can use.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/auth-providers/usable","href":"/developers/api-reference/authproviders/list-the-auth-providers-you-can-use"},{"title":"List the applications an auth provider can be created for.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/auth-providers/sources","href":"/developers/api-reference/authproviders/list-the-applications-an-auth-provider-can-be-created-for"},{"title":"Get the redirect URI for an authentication method.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/auth-providers/redirect-uri/{applicationId}","href":"/developers/api-reference/authproviders/get-the-redirect-uri-for-an-authentication-method"}]},{"group":"Connections","pages":[{"title":"List connections","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/connections","href":"/developers/api-reference/connections/list-connections"},{"title":"Create connection","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/connections","href":"/developers/api-reference/connections/create-connection"},{"title":"Get connection","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/connections/{connectionId}","href":"/developers/api-reference/connections/get-connection"},{"title":"Update connection","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json put /v1/connections/{connectionId}","href":"/developers/api-reference/connections/update-connection"},{"title":"Delete connection","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json delete /v1/connections/{connectionId}","href":"/developers/api-reference/connections/delete-connection"},{"title":"List default connections","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/connections/defaults","href":"/developers/api-reference/connections/list-default-connections"},{"title":"Set default connection","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json put /v1/connections/{connectionId}/default","href":"/developers/api-reference/connections/set-default-connection"},{"title":"Clear default connection","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json delete /v1/connections/{connectionId}/default","href":"/developers/api-reference/connections/clear-default-connection"},{"title":"Replace connection","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/connections/replace","href":"/developers/api-reference/connections/replace-connection"},{"title":"Refresh objects","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/connections/{connectionId}/refresh-objects","href":"/developers/api-reference/connections/refresh-objects"},{"title":"Get refresh status","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/connections/{connectionId}/refresh-status","href":"/developers/api-reference/connections/get-refresh-status"},{"title":"Select objects","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/connections/{connectionId}/select-objects","href":"/developers/api-reference/connections/select-objects"},{"title":"List connection objects","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/connections/{connectionId}/objects","href":"/developers/api-reference/connections/list-connection-objects"},{"title":"Check connection","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/connections/{connectionId}/check","href":"/developers/api-reference/connections/check-connection"},{"title":"Get OAuth sign-in URL","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/connections/get-sign-in-url","href":"/developers/api-reference/connections/get-oauth-sign-in-url"},{"title":"Get OAuth access token","deprecated":true,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/connections/access-token/{state}","href":"/developers/api-reference/connections/get-oauth-access-token"},{"title":"Get sign-in status","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/connections/sign-in-status/{state}","href":"/developers/api-reference/connections/get-sign-in-status"}]},{"group":"Executions","pages":[{"title":"List executions","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/executions","href":"/developers/api-reference/executions/list-executions"},{"title":"Get execution","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/executions/{executionId}","href":"/developers/api-reference/executions/get-execution"},{"title":"Get execution log","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/executions/{executionId}/log","href":"/developers/api-reference/executions/get-execution-log"},{"title":"Get step data","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/executions/{executionId}/log/{stepNo}/data","href":"/developers/api-reference/executions/get-step-data"}]},{"group":"Folders","pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/folders","href":"/developers/api-reference/folders/list-folders"}]},{"group":"McpServers","pages":[{"title":"List MCP servers.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/mcpservers","href":"/developers/api-reference/mcpservers/list-mcp-servers"},{"title":"Get an MCP server.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/mcpservers/{mcpServerToken}","href":"/developers/api-reference/mcpservers/get-an-mcp-server"},{"title":"Update an MCP server.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json patch /v1/mcpservers/{mcpServerToken}","href":"/developers/api-reference/mcpservers/update-an-mcp-server"},{"title":"List the tools available to an MCP server from one of its connections.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/mcpservers/{mcpServerToken}/available-tools","href":"/developers/api-reference/mcpservers/list-the-tools-available-to-an-mcp-server-from-one-of-its-connections"}]},{"group":"On-prem agents","pages":[{"title":"List on-premise agents.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/on-prem-agents","href":"/developers/api-reference/on-prem-agents/list-on-premise-agents"},{"title":"Create an on-premise agent.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/on-prem-agents","href":"/developers/api-reference/on-prem-agents/create-an-on-premise-agent"},{"title":"Get an on-premise agent.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/on-prem-agents/{id}","href":"/developers/api-reference/on-prem-agents/get-an-on-premise-agent"},{"title":"Delete an on-premise agent.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json delete /v1/on-prem-agents/{id}","href":"/developers/api-reference/on-prem-agents/delete-an-on-premise-agent"},{"title":"Update an on-premise agent.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json patch /v1/on-prem-agents/{id}","href":"/developers/api-reference/on-prem-agents/update-an-on-premise-agent"},{"title":"Enable a disabled on-premise agent.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/on-prem-agents/{id}/enable","href":"/developers/api-reference/on-prem-agents/enable-a-disabled-on-premise-agent"},{"title":"Disable an on-premise agent.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/on-prem-agents/{id}/disable","href":"/developers/api-reference/on-prem-agents/disable-an-on-premise-agent"},{"title":"Read an agent's token.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/on-prem-agents/{id}/token","href":"/developers/api-reference/on-prem-agents/read-an-agents-token"},{"title":"Rotate an agent's token.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/on-prem-agents/{id}/token/rotate","href":"/developers/api-reference/on-prem-agents/rotate-an-agents-token"},{"title":"Download an agent's logs.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/on-prem-agents/{id}/logs","href":"/developers/api-reference/on-prem-agents/download-an-agents-logs"},{"title":"Get the current on-premise agent installer.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/on-prem-agents/releases/latest","href":"/developers/api-reference/on-prem-agents/get-the-current-on-premise-agent-installer"}]},{"group":"Tools","pages":[{"title":"List tools","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/tools","href":"/developers/api-reference/tools/list-tools"},{"title":"Get tool","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/tools/{toolSlug}","href":"/developers/api-reference/tools/get-tool"},{"title":"Execute tool","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/tools/{toolSlug}/execute","href":"/developers/api-reference/tools/execute-tool"}]},{"group":"Toolsets","pages":[{"title":"List toolsets","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/toolsets","href":"/developers/api-reference/toolsets/list-toolsets"},{"title":"Create toolset","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/toolsets","href":"/developers/api-reference/toolsets/create-toolset"},{"title":"Get toolset","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/toolsets/{toolsetId}","href":"/developers/api-reference/toolsets/get-toolset"},{"title":"Delete toolset","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json delete /v1/toolsets/{toolsetId}","href":"/developers/api-reference/toolsets/delete-toolset"},{"title":"Update toolset","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json patch /v1/toolsets/{toolsetId}","href":"/developers/api-reference/toolsets/update-toolset"}]},{"group":"Triggers","pages":[{"title":"List trigger types","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers/types","href":"/developers/api-reference/triggers/list-trigger-types"},{"title":"Get trigger type","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers/types/{triggerSlug}","href":"/developers/api-reference/triggers/get-trigger-type"},{"title":"List triggers","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers","href":"/developers/api-reference/triggers/list-triggers"},{"title":"Create trigger","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/triggers","href":"/developers/api-reference/triggers/create-trigger"},{"title":"Get trigger","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers/{triggerId}","href":"/developers/api-reference/triggers/get-trigger"},{"title":"Delete trigger","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json delete /v1/triggers/{triggerId}","href":"/developers/api-reference/triggers/delete-trigger"},{"title":"Update trigger","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json patch /v1/triggers/{triggerId}","href":"/developers/api-reference/triggers/update-trigger"},{"title":"Enable trigger","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/triggers/{triggerId}/enable","href":"/developers/api-reference/triggers/enable-trigger"},{"title":"Disable trigger","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/triggers/{triggerId}/disable","href":"/developers/api-reference/triggers/disable-trigger"},{"title":"Test trigger","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/triggers/{triggerId}/test","href":"/developers/api-reference/triggers/test-trigger"},{"title":"List trigger events","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers/{triggerId}/events","href":"/developers/api-reference/triggers/list-trigger-events"},{"title":"Subscribe to trigger events","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers/subscribe","href":"/developers/api-reference/triggers/subscribe-to-trigger-events"},{"title":"List destinations","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers/destinations","href":"/developers/api-reference/triggers/list-destinations"},{"title":"Create destination","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/triggers/destinations","href":"/developers/api-reference/triggers/create-destination"},{"title":"Get destination","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers/destinations/{name}","href":"/developers/api-reference/triggers/get-destination"},{"title":"Delete destination","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json delete /v1/triggers/destinations/{name}","href":"/developers/api-reference/triggers/delete-destination"},{"title":"Update destination","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json patch /v1/triggers/destinations/{name}","href":"/developers/api-reference/triggers/update-destination"},{"title":"Rotate destination secret","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/triggers/destinations/{name}/rotate-secret","href":"/developers/api-reference/triggers/rotate-destination-secret"},{"title":"Get default destination","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers/destination","href":"/developers/api-reference/triggers/get-default-destination"},{"title":"Set default destination","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json put /v1/triggers/destination","href":"/developers/api-reference/triggers/set-default-destination"},{"title":"Get trigger event","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/triggers/events/{eventId}","href":"/developers/api-reference/triggers/get-trigger-event"},{"title":"Replay trigger event","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/triggers/events/{eventId}/replay","href":"/developers/api-reference/triggers/replay-trigger-event"}]},{"group":"Workflows","pages":[{"title":"Search the catalog","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows/catalog/search","href":"/developers/api-reference/workflows/search-the-catalog"},{"title":"Get a catalog entry's schema","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows/catalog/{slug}","href":"/developers/api-reference/workflows/get-a-catalog-entrys-schema"},{"title":"List field options","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows/catalog/{slug}/options","href":"/developers/api-reference/workflows/list-field-options"},{"title":"List tables","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows/catalog/tables","href":"/developers/api-reference/workflows/list-tables"},{"title":"List table columns","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows/catalog/tables/{tableId}/columns","href":"/developers/api-reference/workflows/list-table-columns"},{"title":"List builder connections","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows/connections","href":"/developers/api-reference/workflows/list-builder-connections"},{"title":"Compile a plan","description":"Returns the compiled workflow and every diagnostic. Errors do not fail the call: a plan with errors still answers 200, and create or update would refuse it with 422.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/workflows/compile","href":"/developers/api-reference/workflows/compile-a-plan"},{"title":"Get a workflow as a plan","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows/{workflowId}/plan","href":"/developers/api-reference/workflows/get-a-workflow-as-a-plan"},{"title":"List workflows","description":"Returns the workflows in the caller's account, honoring the optional filters, sort and\npagination. Deleted workflows are excluded by default; pass deleted=true to list them, or deletedAfter to list those deleted since a point in time.\nWork-app flows, table automations, connector-internal flows and business rules are not\nworkflows in this sense and never appear here. An API key pinned to a workspace and environment\nlists only that scope's workflows and, with role-based access control on, only those its owner\nwas granted plus public ones; other credentials list the whole account without the role-based\nfilter.\n \nResults are ordered by workflowId descending unless sort says otherwise. Note\nthat updatedAt moves when the workflow is enabled or disabled, so paging under that sort\nwhile also updating workflows is not stable.","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json get /v1/workflows","href":"/developers/api-reference/workflows/list-workflows"},{"title":"Create a workflow","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json post /v1/workflows","href":"/developers/api-reference/workflows/create-a-workflow"},{"title":"Update a workflow","deprecated":null,"version":null,"openapi":"/developers/api-reference/openapi.json put /v1/workflows/{workflowId}","href":"/developers/api-reference/workflows/update-a-workflow"}]}]}]},{"tab":"For AI Agents","pages":[{"title":"For AI Agents","href":"/developers/ai-agents"}]}]}]},"basePath":"","title":"Get a workflow as a plan - Engini Docs","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}