{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Roe Documentation","colors":{"primary":"#FF6619","light":"#FF8C5A","dark":"#D9530F"},"logo":{"light":"https://mintcdn.com/roeai/fwCD8GI-1nfdsPAX/logo/light.svg?fit=max\u0026auto=format\u0026n=fwCD8GI-1nfdsPAX\u0026q=85\u0026s=d7b4fe21f708298b16c7b5b7af65cdbb","dark":"https://mintcdn.com/roeai/fwCD8GI-1nfdsPAX/logo/dark.svg?fit=max\u0026auto=format\u0026n=fwCD8GI-1nfdsPAX\u0026q=85\u0026s=f3eab0bc8f0dc6aa2bcd39722374dc62"},"favicon":"https://mintcdn.com/roeai/fwCD8GI-1nfdsPAX/favicon.svg?fit=max\u0026auto=format\u0026n=fwCD8GI-1nfdsPAX\u0026q=85\u0026s=f95b26cc8189388c848892e9d8871685","api":{"openapi":["api-reference/openapi.yml"]},"appearance":{"default":"light"},"navbar":{"links":[{"href":"mailto:support@roe-ai.com","label":"Support"}],"primary":{"type":"button","label":"Workspace","href":"https://app.roe-ai.com"}},"footer":{"socials":{"x":"https://x.com/try_roe_ai","github":"https://github.com/roe-ai","linkedin":"https://www.linkedin.com/company/roe-ai"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://join.slack.com/t/roeaiusers/shared_invite/zt-2m0oa9kj4-wltD91LCeJJR~cN1y1R7JQ"},{"anchor":"Blog","icon":"newspaper","href":"https://roeai.substack.com/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"roeai","hasAudioNarration":false,"actualSubdomain":"roeai","customDomains":["docs.roe-ai.com"],"gitSource":{"type":"github","owner":"roe-ai","repo":"roe-docs-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af66180b64716d68672c323","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Documentation","count":78},{"language":"default","tag":"API Reference","count":58},{"language":"default","tag":"Agents","count":38},{"language":"default","tag":"Release Notes","count":22},{"language":"default","tag":"Workflows","count":14},{"language":"default","tag":"Engines","count":12},{"language":"default","tag":"SDK integration","count":10},{"language":"default","tag":"Policies","count":10},{"language":"default","tag":"Webhooks","count":9},{"language":"default","tag":"Data Resources","count":9}]},"assistantConfig":{},"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".prose ul:has(>li>.rn-tag),ul:has(>li>.rn-tag){list-style:none;padding:0!important;padding-inline-start:0!important;margin-top:1rem;margin-left:0!important}.prose ul>li:has(>.rn-tag),li:has(>.rn-tag){display:grid;grid-template-columns:7.5rem minmax(0, 1fr);column-gap:0.875rem;row-gap:0.5rem;align-items:baseline;justify-items:start;list-style:none;padding:0!important;padding-left:0!important;padding-inline-start:0!important;margin-left:0!important;margin-bottom:1.25rem;font-size:1.0625rem;line-height:1.5;letter-spacing:-0.005em;text-align:left}li:has(>.rn-tag):last-child{margin-bottom:0}li:has(>.rn-tag)::before{content:none}li:has(>.rn-tag)>.rn-tag{justify-self:start}.rn-tag{display:inline-block;box-sizing:border-box;width:fit-content;max-width:7.5rem;padding:0.1875rem 0.625rem;border-radius:9999px;font-size:0.65625rem;font-weight:600;line-height:1.45;letter-spacing:0.09em;text-transform:uppercase;text-align:left;white-space:nowrap;vertical-align:baseline}@media (max-width: 640px){li:has(>.rn-tag){grid-template-columns:1fr;row-gap:0.375rem}.rn-tag{max-width:none}}.rn-tag-agents{background:#FFE6DE;color:#A23B1E}.rn-tag-platform{background:#E3E8F2;color:#2F4868}.rn-tag-integrations{background:#D6EEEA;color:#1F5F58}.rn-tag-sops{background:#E5E1F5;color:#443B85}.rn-tag-qa{background:#DDEEDA;color:#2C6230}.rn-tag-deployment{background:#D9E8F5;color:#1E4D77}.rn-tag-dashboard{background:#F8DEEB;color:#8A3A66}.rn-tag-api{background:#F6EAC9;color:#7A5614}.rn-tag-models{background:#EBDEEF;color:#5E2A7A}.rn-tag-security{background:#F5DCDC;color:#8C2A2A}.rn-tag-workflows{background:#E4EED1;color:#4D6622}"}],"page":{"pagePath":"api-reference/workflows/run-workflow","slug":"/api-reference/workflows/run-workflow","pageMetadata":{"title":"Run Workflow","openapi":"POST /v1/workflows/{workflow_id}/runs/","description":"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.","href":"/api-reference/workflows/run-workflow"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.\"\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":"Run Workflow","openapi":"POST /v1/workflows/{workflow_id}/runs/","description":"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.","href":"/api-reference/workflows/run-workflow"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,RequestExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);return _jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.roe-ai.com/v1/workflows/YOUR_WORKFLOW_ID/runs/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"inputs\": {\"customer_id\": \"c_123\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"wait\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Run Workflow","openapi":"POST /v1/workflows/{workflow_id}/runs/","description":"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.","href":"/api-reference/workflows/run-workflow"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.roe-ai.com/v1/workflows/YOUR_WORKFLOW_ID/runs/\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"inputs\": {\"customer_id\": \"c_123\"},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"wait\": true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"v1_workflows_runs_create","description":"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.","summary":"Run a workflow","parameters":["2405b4db-ef18-4788-a3a8-77b4aef9edc8","7264a9fd-34d6-4236-b7a6-e521cf8349f5"],"tags":["v1"],"requestBody":"2674260c-2b8c-4483-b3b6-fe5ba4988d9e","security":["7a887b37-ce49-4223-a886-c934987dd6c9"],"responses":{"201":"cccd3da4-2793-4a88-8200-cb68d5889505","400":"7f9e5963-00d7-4726-991a-73f29946cbb7","403":"96d5d7eb-a97d-4739-8488-f3be90c6809b","404":"b5a2f6cb-25e4-4792-9ea3-e9342573968b"},"method":"post","type":"path","servers":["7d2b8e03-ddf9-483a-bc74-e5e6a46876ef"],"path":"/v1/workflows/{workflow_id}/runs/","baseUrlOptions":["https://api.roe-ai.com"],"title":"Run a workflow","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"8","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --request"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" POST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --url"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"https://api.roe-ai.com/v1/workflows/YOUR_WORKFLOW_ID/runs/\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --header"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"Authorization: Bearer YOUR_API_KEY\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --header"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"Content-Type: application/json\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --data"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" '{"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"inputs\": {\"customer_id\": \"c_123\"},"}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"wait\": true"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }'"}}}},"\n"]}}}},"filename":"cURL"}],"requestExampleType":"mdx","responseExampleType":"generated"},"dependencies":{"parameters":{"2405b4db-ef18-4788-a3a8-77b4aef9edc8":{"in":"path","name":"workflow_id","schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true},"7264a9fd-34d6-4236-b7a6-e521cf8349f5":{"name":"organization_id","in":"query","required":false,"schema":{"type":"string","format":"uuid","isRequired":false,"description":"Organization ID. This is required for access control. It can be provided via query or request body depending on the endpoint.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Organization ID. This is required for access control. It can be provided via query or request body depending on the endpoint."}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"inputs":{"type":"object","additionalProperties":true,"description":"Values for the workflow's inputs, keyed by input. A file input takes a file id or URL, or the file itself in a multipart request.","uniqueKey":"inputs","typeLabel":"object"},"version_id":{"type":"string","format":"uuid","description":"The version to run. Defaults to the current one.","uniqueKey":"version_id","typeLabel":"string\u003cuuid>"},"metadata":{"additionalProperties":true,"type":"object","uniqueKey":"metadata","typeLabel":"object"},"wait":{"type":"boolean","default":false,"description":"Wait up to 60 seconds for the run to finish, then return it as it stands.","uniqueKey":"wait","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"inputs":{},"version_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","metadata":{},"wait":false}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"cccd3da4-2793-4a88-8200-cb68d5889505":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"workflow_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"workflow_id","typeLabel":"string\u003cuuid>"},"version_id":{"oneOf":[{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"version_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","isRequired":true,"uniqueKey":"version_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"version_id","typeLabel":"string\u003cuuid> | null"},"status":{"enum":["pending","running","succeeded","failed","cancelled"],"type":"string","description":"* `pending` - pending\n* `running` - running\n* `succeeded` - succeeded\n* `failed` - failed\n* `cancelled` - cancelled","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"error_message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"error_message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"error_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error_message","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"inputs":{"oneOf":[{"isRequired":true}],"isRequired":true,"uniqueKey":"inputs","typeLabel":"any"},"outputs":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"outputs.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"The result step's output, once the run has finished.","isRequired":true,"uniqueKey":"outputs.oneOf.0","typeLabel":"any[]"},{"type":"null","items":{"oneOf":[{}]},"description":"The result step's output, once the run has finished.","isRequired":true,"uniqueKey":"outputs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs","typeLabel":"any[] | null"},"steps":{"type":"array","items":{"type":"object","properties":{"step_id":{"type":"string","maxLength":200,"isRequired":true,"uniqueKey":"steps.items.[INDEX].step_id","typeLabel":"string"},"execution_path":{"oneOf":[{"isRequired":true}],"isRequired":true,"uniqueKey":"steps.items.[INDEX].execution_path","typeLabel":"any"},"status":{"enum":["succeeded","failed","skipped","cancelled"],"type":"string","description":"* `succeeded` - succeeded\n* `failed` - failed\n* `skipped` - skipped\n* `cancelled` - cancelled","isRequired":true,"uniqueKey":"steps.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"child_job_id":{"oneOf":[{"type":"string","format":"uuid","readOnly":true,"isRequired":true,"uniqueKey":"steps.items.[INDEX].child_job_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","readOnly":true,"isRequired":true,"uniqueKey":"steps.items.[INDEX].child_job_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"steps.items.[INDEX].child_job_id","typeLabel":"string\u003cuuid> | null"},"cached":{"type":"boolean","uniqueKey":"steps.items.[INDEX].cached","typeLabel":"boolean"},"input":{"oneOf":[{},{"type":"null","uniqueKey":"steps.items.[INDEX].input.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].input","typeLabel":"null"},"output":{"oneOf":[{},{"type":"null","uniqueKey":"steps.items.[INDEX].output.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].output","typeLabel":"null"},"error":{"oneOf":[{"type":"string","uniqueKey":"steps.items.[INDEX].error.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"steps.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].error","typeLabel":"string | null"},"delivery":{"oneOf":[{"type":"string","description":"For a step that sends: sending, sent, or unknown when Roe couldn't tell whether the send went through.\n\n* `sending` - Sending\n* `sent` - Sent\n* `unknown` - Unknown","enum":["sending","sent","unknown"],"uniqueKey":"steps.items.[INDEX].delivery.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"For a step that sends: sending, sent, or unknown when Roe couldn't tell whether the send went through.\n\n* `sending` - Sending\n* `sent` - Sent\n* `unknown` - Unknown","uniqueKey":"steps.items.[INDEX].delivery.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].delivery","typeLabel":"enum\u003cstring> | null"},"started_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"steps.items.[INDEX].started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"steps.items.[INDEX].started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].started_at","typeLabel":"string\u003cdate-time> | null"},"finished_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"steps.items.[INDEX].finished_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"steps.items.[INDEX].finished_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].finished_at","typeLabel":"string\u003cdate-time> | null"}},"required":["child_job_id","execution_path","status","step_id"],"uniqueKey":"steps.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"steps","typeLabel":"object[]"}},"required":["created_at","error_message","id","inputs","outputs","status","steps","version_id","workflow_id"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","workflow_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","version_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"pending","error_message":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","inputs":"\u003cunknown>","outputs":["\u003cunknown>"],"steps":[{"step_id":"\u003cstring>","execution_path":"\u003cunknown>","status":"succeeded","child_job_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","cached":true,"input":"\u003cunknown>","output":"\u003cunknown>","error":"\u003cstring>","delivery":"sending","started_at":"2023-11-07T05:31:56Z","finished_at":"2023-11-07T05:31:56Z"}]}}},"exampleType":"generated"}},"description":"","exampleType":"generated"},"7f9e5963-00d7-4726-991a-73f29946cbb7":{"content":{"application/json":{"schema":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Bad request. The body is a bare array of messages, a field-error map, or an {error} object depending on which validation failed.","uniqueKey":"oneOf.0","typeLabel":"string[]"},{"type":"object","description":"Bad request. The body is a bare array of messages, a field-error map, or an {error} object depending on which validation failed.","additionalProperties":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.additionalProperties.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.additionalProperties.oneOf.0","typeLabel":"string[]"},{"type":"string","uniqueKey":"oneOf.1.additionalProperties.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.additionalProperties","typeLabel":"string[] | string"},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","description":"Bad request. The body is a bare array of messages, a field-error map, or an {error} object depending on which validation failed.","required":["error"],"properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"string"}},"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"string[] · object · object"},"examples":{"Example":{"title":"Example","value":["\u003cstring>"]}},"exampleType":"generated"}},"description":"","exampleType":"generated"},"96d5d7eb-a97d-4739-8488-f3be90c6809b":{"content":{"application/json":{"schema":{"type":"object","description":"DRF default error body: NotFound, PermissionDenied, Http404, etc.","properties":{"detail":{"type":"string","description":"Human-readable error detail","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"","exampleType":"generated"},"b5a2f6cb-25e4-4792-9ea3-e9342573968b":{"content":{"application/json":{"schema":{"type":"object","description":"DRF default error body: NotFound, PermissionDenied, Http404, etc.","properties":{"detail":{"type":"string","description":"Human-readable error detail","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"","exampleType":"generated"}},"security":{"7a887b37-ce49-4223-a886-c934987dd6c9":{"apiKeyAuth":{"type":"http","scheme":"bearer","description":"Organization API key passed as a Bearer token. This is the scheme used by the public SDK surface.","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"7d2b8e03-ddf9-483a-bc74-e5e6a46876ef":{"url":"https://api.roe-ai.com","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Organization API key passed as a Bearer token. This is the scheme used by the public SDK surface.","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Organization API key passed as a Bearer token. This is the scheme used by the public SDK surface.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKeyAuth","name":"Authorization"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.yml"},"subdomain":"roeai","siteName":"Roe Documentation","title":"Run Workflow - Roe Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T01:02:00.644Z","originalFileLocation":"api-reference/workflows/run-workflow.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=\"light\"}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=\"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Roe Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/roeai/fPmAFS4J5dj6_hvQ/_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/roeai/fPmAFS4J5dj6_hvQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/roeai/fPmAFS4J5dj6_hvQ/_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/roeai/fPmAFS4J5dj6_hvQ/_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/roeai/fPmAFS4J5dj6_hvQ/_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/roeai/fPmAFS4J5dj6_hvQ/_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/roeai/fPmAFS4J5dj6_hvQ/_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/roeai/fPmAFS4J5dj6_hvQ/_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/roeai/fPmAFS4J5dj6_hvQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run Workflow - Roe Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Roe Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.roe-ai.com/api-reference/workflows/run-workflow\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://roeai.mintlify.site/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Run+Workflow\u0026amp;description=Start+a+run+of+the+current+version%2C+or+of+version_id.+With+wait%2C+the+response+comes+when+the+run+finishes+or+after+60+seconds%2C+whichever+is+first.\u0026amp;theme=f7a915f73e99edbffff5a149\u0026amp;signature=f937d743deb64827f44abc7aafba0f3f83f51c57298b867c259eb41e0a2098f6\">\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=\"Run Workflow - Roe Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://roeai.mintlify.site/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Run+Workflow\u0026amp;description=Start+a+run+of+the+current+version%2C+or+of+version_id.+With+wait%2C+the+response+comes+when+the+run+finishes+or+after+60+seconds%2C+whichever+is+first.\u0026amp;theme=f7a915f73e99edbffff5a149\u0026amp;signature=f937d743deb64827f44abc7aafba0f3f83f51c57298b867c259eb41e0a2098f6\">\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/roeai/fPmAFS4J5dj6_hvQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Roe Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF6619\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.roe-ai.com/api-reference/workflows/run-workflow\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/workflows/run-workflow.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.roe-ai.com/#organization\",\"name\":\"Roe Documentation\",\"url\":\"https://docs.roe-ai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/roeai/fwCD8GI-1nfdsPAX/logo/light.svg?fit=max\u0026auto=format\u0026n=fwCD8GI-1nfdsPAX\u0026q=85\u0026s=d7b4fe21f708298b16c7b5b7af65cdbb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.roe-ai.com#website\",\"name\":\"Roe Documentation\",\"url\":\"https://docs.roe-ai.com\",\"publisher\":{\"@id\":\"https://docs.roe-ai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.roe-ai.com/api-reference/workflows/run-workflow#webpage\",\"url\":\"https://docs.roe-ai.com/api-reference/workflows/run-workflow\",\"name\":\"Run Workflow\",\"description\":\"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.\",\"dateModified\":\"2026-11-13T01:02:00.644Z\",\"isPartOf\":{\"@id\":\"https://docs.roe-ai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.roe-ai.com/api-reference/workflows/run-workflow#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.roe-ai.com/api-reference/workflows/run-workflow#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflows\",\"item\":\"https://docs.roe-ai.com/api-reference/workflows/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run Workflow\",\"item\":\"https://docs.roe-ai.com/api-reference/workflows/run-workflow\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.roe-ai.com/api-reference/workflows/run-workflow#apireference\",\"headline\":\"Run Workflow\",\"name\":\"Run Workflow\",\"description\":\"Start a run of the current version, or of version_id. With wait, the response comes when the run finishes or after 60 seconds, whichever is first.\",\"url\":\"https://docs.roe-ai.com/api-reference/workflows/run-workflow\",\"mainEntityOfPage\":{\"@id\":\"https://docs.roe-ai.com/api-reference/workflows/run-workflow#webpage\"},\"dateModified\":\"2026-11-13T01:02:00.644Z\",\"publisher\":{\"@id\":\"https://docs.roe-ai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.roe-ai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Roe Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Roe Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/workflows/run-workflow.md","siteName":"Roe Documentation","nav":{"global":{"anchors":[{"anchor":"Community","icon":"slack","href":"https://join.slack.com/t/roeaiusers/shared_invite/zt-2m0oa9kj4-wltD91LCeJJR~cN1y1R7JQ"},{"anchor":"Blog","icon":"newspaper","href":"https://roeai.substack.com/"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"SDK integration","pages":[{"title":"SDK integration","href":"/api-reference/sdk-integration"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Examples","href":"/api-reference/examples"}]},{"group":"Agents","pages":[{"title":"List Agents","openapi":"GET /v1/agents/","href":"/api-reference/agents/list-agents"},{"title":"Create Agent","openapi":"POST /v1/agents/","href":"/api-reference/agents/create-agent"},{"title":"Retrieve an Agent","openapi":"GET /v1/agents/{agent_id}/","href":"/api-reference/agents/retrieve-agent"},{"title":"Update an Agent's Settings","openapi":"PUT /v1/agents/{agent_id}/","href":"/api-reference/agents/update-agent-settings"},{"title":"Delete an Agent","openapi":"DELETE /v1/agents/{agent_id}/","href":"/api-reference/agents/delete-agent"},{"title":"Duplicate an Agent","openapi":"POST /v1/agents/{agent_id}/duplicate/","href":"/api-reference/agents/duplicate-agent"},{"title":"List Agent Versions","openapi":"GET /v1/agents/{agent_id}/versions/","href":"/api-reference/agents/list-agent-versions"},{"title":"Create Agent Version","openapi":"POST /v1/agents/{agent_id}/versions/","href":"/api-reference/agents/create-agent-version"},{"title":"Retrieve an Agent Version","openapi":"GET /v1/agents/{agent_id}/versions/{agent_version_id}/","href":"/api-reference/agents/retrieve-agent-version"},{"title":"Retrieve Current Agent Version","openapi":"GET /v1/agents/{agent_id}/versions/current/","href":"/api-reference/agents/retrieve-agent-current-version"},{"title":"Run Agent","openapi":"POST /v1/agents/run/{agent_id}/","href":"/api-reference/agents/run"},{"title":"Run Agent Async","openapi":"POST /v1/agents/run/{agent_id}/async/","href":"/api-reference/agents/run-async"},{"title":"Agent Job Status","openapi":"GET /v1/agents/jobs/{job_id}/status/","href":"/api-reference/agents/job-status"},{"title":"Agent Job Result","openapi":"GET /v1/agents/jobs/{agent_job_id}/result/","href":"/api-reference/agents/job-result"},{"title":"List Agent's Jobs","openapi":"GET /v1/agents/{agent_id}/jobs/","href":"/api-reference/agents/list-agent-jobs"}]},{"group":"Workflows","pages":[{"title":"Workflows","href":"/api-reference/workflows/introduction"},{"title":"List Workflows","openapi":"GET /v1/workflows/","href":"/api-reference/workflows/list-workflows"},{"title":"Create Workflow","openapi":"POST /v1/workflows/","href":"/api-reference/workflows/create-workflow"},{"title":"Retrieve Workflow","openapi":"GET /v1/workflows/{workflow_id}/","href":"/api-reference/workflows/retrieve-workflow"},{"title":"Rename Workflow","openapi":"PATCH /v1/workflows/{workflow_id}/","href":"/api-reference/workflows/rename-workflow"},{"title":"Delete Workflow","openapi":"DELETE /v1/workflows/{workflow_id}/","href":"/api-reference/workflows/delete-workflow"},{"title":"List Workflow Versions","openapi":"GET /v1/workflows/{workflow_id}/versions/","href":"/api-reference/workflows/list-workflow-versions"},{"title":"Save Workflow Version","openapi":"POST /v1/workflows/{workflow_id}/versions/","href":"/api-reference/workflows/create-workflow-version"},{"title":"Retrieve Workflow Version","openapi":"GET /v1/workflows/{workflow_id}/versions/{version_id}/","href":"/api-reference/workflows/retrieve-workflow-version"},{"title":"Set Current Version","openapi":"POST /v1/workflows/{workflow_id}/versions/{version_id}/set-current/","description":"Make a version the one that runs by default.","href":"/api-reference/workflows/set-current-version"},{"title":"Run Workflow","openapi":"POST /v1/workflows/{workflow_id}/runs/","href":"/api-reference/workflows/run-workflow"},{"title":"Run Workflow in Batch","openapi":"POST /v1/workflows/{workflow_id}/runs/batch/","description":"Start one run per item of inputs.","href":"/api-reference/workflows/run-workflow-batch"},{"title":"List Workflow Runs","openapi":"GET /v1/workflows/{workflow_id}/runs/","href":"/api-reference/workflows/list-workflow-runs"},{"title":"Retrieve Workflow Run","openapi":"GET /v1/workflows/runs/{run_id}/","href":"/api-reference/workflows/retrieve-workflow-run"}]},{"group":"Database","pages":[{"title":"Run Query","openapi":"POST /v1/database/query/","href":"/api-reference/database/query"},{"title":"Run Query Async","openapi":"POST /v1/database/query/async/","href":"/api-reference/database/query-async"},{"title":"Query Status","openapi":"GET /v1/database/query/{worksheet_query_id}/status/","href":"/api-reference/database/query-status"},{"title":"Query Result","openapi":"GET /v1/database/query/{worksheet_query_id}/result/","href":"/api-reference/database/query-result"}]},{"group":"Roe Datasets","pages":[{"title":"List Datasets","openapi":"GET /v1/datasets/","href":"/api-reference/roe-dataset/list"},{"title":"Create a Dataset","openapi":"POST /v1/datasets/","href":"/api-reference/roe-dataset/create"},{"title":"Delete a Dataset","openapi":"DELETE /v1/datasets/{dataset_id}/","href":"/api-reference/roe-dataset/delete-dataset"},{"title":"Upload File","openapi":"POST /v1/datasets/files/upload/","href":"/api-reference/roe-dataset/file-upload"},{"title":"Download File","openapi":"GET /v1/datasets/files/{file_str}/download/","href":"/api-reference/roe-dataset/file-download"},{"title":"Delete a File","openapi":"DELETE /v1/datasets/{dataset_id}/files/{id}/","href":"/api-reference/roe-dataset/delete-file"}]},{"group":"Policies","pages":[{"title":"List Policies","openapi":"GET /policies/","href":"/api-reference/policies/list-policies"},{"title":"Create Policy","openapi":"POST /policies/","href":"/api-reference/policies/create-policy"},{"title":"Retrieve Policy","openapi":"GET /policies/{id}/","href":"/api-reference/policies/retrieve-policy"},{"title":"Update Policy","openapi":"PUT /policies/{id}/","href":"/api-reference/policies/update-policy"},{"title":"Delete Policy","openapi":"DELETE /policies/{id}/","href":"/api-reference/policies/delete-policy"},{"title":"List Policy Versions","openapi":"GET /policies/{policy_id}/versions/","href":"/api-reference/policies/list-policy-versions"},{"title":"Create Policy Version","openapi":"POST /policies/{policy_id}/versions/","href":"/api-reference/policies/create-policy-version"},{"title":"Retrieve Policy Version","openapi":"GET /policies/versions/{id}/","href":"/api-reference/policies/retrieve-policy-version"},{"title":"Set Current Version","openapi":"PATCH /policies/{policy_id}/set-current-version/{version_id}/","href":"/api-reference/policies/set-current-version"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","openapi":"GET /webhooks/","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create Webhook","openapi":"POST /webhooks/","href":"/api-reference/webhooks/create-webhook"},{"title":"Retrieve Webhook","openapi":"GET /webhooks/{webhook_id}/","href":"/api-reference/webhooks/retrieve-webhook"},{"title":"Update Webhook","openapi":"PATCH /webhooks/{webhook_id}/","href":"/api-reference/webhooks/update-webhook"},{"title":"Delete Webhook","openapi":"DELETE /webhooks/{webhook_id}/","href":"/api-reference/webhooks/delete-webhook"},{"title":"List Webhook Agents","openapi":"GET /webhooks/{webhook_id}/agents/","href":"/api-reference/webhooks/list-webhook-agents"},{"title":"Link Agents to Webhook","openapi":"POST /webhooks/{webhook_id}/agents/","href":"/api-reference/webhooks/link-agents"},{"title":"Unlink Agent from Webhook","openapi":"DELETE /webhooks/{webhook_id}/agents/{agent_webhook_id}/","href":"/api-reference/webhooks/unlink-agent"}]}]},{"tab":"SQL Reference","pages":[{"title":"SQL Reference","href":"/sql-reference/introduction"}]}]},"basePath":"","title":"Run Workflow - Roe Documentation","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}