The ID of the workflow that files will be run through. This ID can be fetched
from viewing the workflow on the Extend platform.
File[]
An array of Files. Either files or rawTexts must be provided. Supported file
types can be found here.
File
Hide properties
string
required
A presigned URL for the file. Though we will download immediately, we
recommend a 5 - 15 minute expiration time.
string
If you already have an Extend file id (for instance from running a parser or a previous file creation) then you can
run a processor via file id, and any parsed data will be reused.
string
The name of the file. Optional, but recommended to improve legibility in run history in the Extend dashboard
Output[]
Predetermined outputs that can be used to override the outputs
generated. Generally not recommended for most use cases, however, can be
useful in cases of overriding a classification in workflow or a subset
of extraction fields when data is known.
Output
Hide properties
string
required
The id of the processor that the output is associated with.
object
required
The output that is being overridden. Output types can be found
here.
string[]
An array of raw strings. Can be used in place of files when passing raw data.
The raw data will be converted to .txt files and run through the workflow. If
the data follows a specific format, it is recommended to use the files
parameter instead. Either files or rawTexts must be provided.
string
An optional version of the workflow that files will be run through. This
number can be found when viewing the workflow on the Extend platform. When a
version number is not supplied, the most recent version of the workflow will
be used. To run the “draft” version of a workflow, use “draft” as the version.
number
An optional value used to determine the relative order of WorkflowRuns when
rate limiting is in effect. Priority values must be an integer between 1 and
100 inclusive. Lower values will be prioritized before higher values. The
default priority value is 50.
any
An optional object that can be passed in to identify the WorkflowRun. It will
be returned in the response and webhooks.
Response
boolean
A true or false value for whether the workflow run was created successfully or
not.
WorkflowRun[]
An array of WorkflowRun objects, with each WorkflowRun corresponding to a
single File that was passed in.
object
Hide properties
string
The type of response, in this case it will always be “workflow_run”.
string
An ID corresponding to a specific File x Workflow combination representing the specific WorkflowRun for a File.
string
The status of a WorkflowRun. This will either be “PENDING” as the WorkflowRun has just started, or “PROCESSING” if the WorkflowRun is immediately started.
any
The metadata that was passed in when running the Workflow.
string
The time (in UTC) at which the workflow was started.
array
An array of outputs that were generated by the WorkflowRun. This will be empty as the WorkflowRun has just started.The shape of the outputs will match the shape of a processor run’s output.And the output field will conform to the shape of output types.
object
The details about the Workflow that was used in this WorkflowRun.
Hide properties
string
The Workflow ID that can be fetched from the Extend Platform.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Extend","colors":{"primary":"#12A7D3","light":"#81D7F7","dark":"#004E7A"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/logo/light.png?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=d5b60497f53e7cb8865d11cf97636755","dark":"https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/logo/dark.png?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=2ba675637fc5f8ee673317eb7814ac38"},"api":{"playground":{"display":"none"},"mdx":{"server":null,"auth":{"method":"bearer","name":null}}},"background":{"image":"https://mintlify.s3.us-west-1.amazonaws.com/tryextend/background.png","decoration":null},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tryextend","hasAudioNarration":false,"actualSubdomain":"tryextend","customDomains":["docs.extend.app"],"gitSource":{"type":"github","owner":"extend-hq","repo":"documentation-legacy","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae921fd5bfa35cf904494a3:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"Processor Endpoints","count":12},{"language":"default","tag":"Objects","count":11},{"language":"default","tag":"Workflow Endpoints","count":7},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Processor Changelog","count":5},{"language":"default","tag":"Studio","count":5},{"language":"default","tag":"Evaluation Set Endpoints","count":4},{"language":"default","tag":"File Endpoints","count":4}]},"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/run_workflow","slug":"/api-reference/endpoint/run_workflow","pageMetadata":{"title":"Run Workflow","api":"POST https://api-prod.extend.app/workflow_runs","description":"Once a workflow has been created on the Extend Platform, this endpoint can be used to send file(s) to be run.","href":"/api-reference/endpoint/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: \"Once a workflow has been created on the Extend Platform, this endpoint can be used to send file(s) to be run.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`workflowId`,type:`string`,required:true,id:`param-workflow-id`,children:_jsx(_components.p,{children:`The ID of the workflow that files will be run through. This ID can be fetched\nfrom viewing the workflow on the Extend platform.`})}),`\n`,_jsxs(ResponseField,{name:`files`,type:`File[]`,id:`param-files`,children:[_jsxs(_components.p,{children:[`An array of Files. Either files or rawTexts must be provided. Supported file\ntypes can be found `,_jsx(_components.a,{href:`/api-reference/supported_file_types`,children:`here`}),`.`]}),_jsx(ResponseField,{name:`File`,type:`File`,id:`param-file`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`fileUrl`,type:`string`,required:true,id:`param-file-url`,children:_jsx(_components.p,{children:`A presigned URL for the file. Though we will download immediately, we\nrecommend a 5 - 15 minute expiration time.`})}),_jsx(ParamField,{body:`fileId`,type:`string`,optional:true,id:`param-file-id`,children:_jsx(_components.p,{children:`If you already have an Extend file id (for instance from running a parser or a previous file creation) then you can\nrun a processor via file id, and any parsed data will be reused.`})}),_jsx(ResponseField,{name:`fileName`,type:`string`,optional:true,id:`param-file-name`,children:_jsx(_components.p,{children:`The name of the file. Optional, but recommended to improve legibility in run history in the Extend dashboard`})}),_jsx(ResponseField,{name:`outputs`,type:`Output[]`,optional:true,id:`param-outputs`,children:_jsx(_components.p,{children:`Predetermined outputs that can be used to override the outputs\ngenerated. Generally not recommended for most use cases, however, can be\nuseful in cases of overriding a classification in workflow or a subset\nof extraction fields when data is known.`})}),_jsx(ResponseField,{name:`Output`,type:`Output`,id:`param-output`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`processorId`,type:`string`,required:true,id:`param-processor-id`,children:_jsx(_components.p,{children:`The id of the processor that the output is associated with.`})}),_jsx(ResponseField,{name:`output`,type:`object`,required:true,id:`param-output-1`,children:_jsxs(_components.p,{children:[`The output that is being overridden. Output types can be found\n`,_jsx(_components.a,{href:`https://docs.extend.app/api-reference/guides/output_types`,children:`here`}),`.`]})})]})})]})})]}),`\n`,_jsx(ParamField,{body:`rawTexts`,type:`string[]`,id:`param-raw-texts`,children:_jsx(_components.p,{children:`An array of raw strings. Can be used in place of files when passing raw data.\nThe raw data will be converted to .txt files and run through the workflow. If\nthe data follows a specific format, it is recommended to use the files\nparameter instead. Either files or rawTexts must be provided.`})}),`\n`,_jsx(ParamField,{body:`version`,type:`string`,id:`param-version`,children:_jsx(_components.p,{children:`An optional version of the workflow that files will be run through. This\nnumber can be found when viewing the workflow on the Extend platform. When a\nversion number is not supplied, the most recent version of the workflow will\nbe used. To run the “draft” version of a workflow, use “draft” as the version.`})}),`\n`,_jsx(ParamField,{body:`priority`,type:`number`,id:`param-priority`,children:_jsx(_components.p,{children:`An optional value used to determine the relative order of WorkflowRuns when\nrate limiting is in effect. Priority values must be an integer between 1 and\n100 inclusive. Lower values will be prioritized before higher values. The\ndefault priority value is 50.`})}),`\n`,_jsx(ParamField,{body:`metadata`,type:`any`,id:`param-metadata`,children:_jsx(_components.p,{children:`An optional object that can be passed in to identify the WorkflowRun. It will\nbe returned in the response and webhooks.`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`A true or false value for whether the workflow run was created successfully or\nnot.`})}),`\n`,_jsxs(ResponseField,{name:`workflowRuns`,type:`WorkflowRun[]`,id:`param-workflow-runs`,children:[_jsx(_components.p,{children:`An array of WorkflowRun objects, with each WorkflowRun corresponding to a\nsingle File that was passed in.`}),_jsx(ResponseField,{name:`WorkflowRun`,type:`object`,id:`param-workflow-run`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`object`,type:`string`,id:`param-object`,children:_jsx(_components.p,{children:`The type of response, in this case it will always be “workflow_run”.`})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`An ID corresponding to a specific File x Workflow combination representing the specific WorkflowRun for a File.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`The status of a WorkflowRun. This will either be “PENDING” as the WorkflowRun has just started, or “PROCESSING” if the WorkflowRun is immediately started.`})}),_jsx(ResponseField,{name:`metadata`,type:`any`,id:`param-metadata-1`,children:_jsx(_components.p,{children:`The metadata that was passed in when running the Workflow.`})}),_jsx(ResponseField,{name:`initialRunAt`,type:`string`,id:`param-initial-run-at`,children:_jsx(_components.p,{children:`The time (in UTC) at which the workflow was started.`})}),_jsxs(ResponseField,{name:`outputs`,type:`array`,id:`param-outputs-1`,children:[_jsx(_components.p,{children:`An array of outputs that were generated by the WorkflowRun. This will be empty as the WorkflowRun has just started.`}),_jsxs(_components.p,{children:[`The shape of the outputs will match the shape of a `,_jsx(_components.a,{href:`/api-reference/objects/processor_run`,children:`processor run’s output`}),`.`]}),_jsxs(_components.p,{children:[`And the `,_jsx(_components.code,{children:`output`}),` field will conform to the shape of `,_jsx(_components.a,{href:`/api-reference/guides/output_types`,children:`output types`}),`.`]})]}),_jsxs(ResponseField,{name:`workflow`,type:`object`,id:`param-workflow`,children:[_jsx(_components.p,{children:`The details about the Workflow that was used in this WorkflowRun.`}),_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The Workflow ID that can be fetched from the Extend Platform.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the Workflow.`})}),_jsx(ResponseField,{name:`version`,type:`string`,id:`param-version-1`,children:_jsx(_components.p,{children:`The version of the Workflow.`})})]})]})]})})]})]})}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","api":"POST https://api-prod.extend.app/workflow_runs","description":"Once a workflow has been created on the Extend Platform, this endpoint can be used to send file(s) to be run.","href":"/api-reference/endpoint/run_workflow"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`workflowId`,type:`string`,required:true,id:`param-workflow-id`,children:_jsx(_components.p,{children:`The ID of the workflow that files will be run through. This ID can be fetched\nfrom viewing the workflow on the Extend platform.`})}),`\n`,_jsxs(ResponseField,{name:`files`,type:`File[]`,id:`param-files`,children:[_jsxs(_components.p,{children:[`An array of Files. Either files or rawTexts must be provided. Supported file\ntypes can be found `,_jsx(_components.a,{href:`/api-reference/supported_file_types`,children:`here`}),`.`]}),_jsx(ResponseField,{name:`File`,type:`File`,id:`param-file`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`fileUrl`,type:`string`,required:true,id:`param-file-url`,children:_jsx(_components.p,{children:`A presigned URL for the file. Though we will download immediately, we\nrecommend a 5 - 15 minute expiration time.`})}),_jsx(ParamField,{body:`fileId`,type:`string`,optional:true,id:`param-file-id`,children:_jsx(_components.p,{children:`If you already have an Extend file id (for instance from running a parser or a previous file creation) then you can\nrun a processor via file id, and any parsed data will be reused.`})}),_jsx(ResponseField,{name:`fileName`,type:`string`,optional:true,id:`param-file-name`,children:_jsx(_components.p,{children:`The name of the file. Optional, but recommended to improve legibility in run history in the Extend dashboard`})}),_jsx(ResponseField,{name:`outputs`,type:`Output[]`,optional:true,id:`param-outputs`,children:_jsx(_components.p,{children:`Predetermined outputs that can be used to override the outputs\ngenerated. Generally not recommended for most use cases, however, can be\nuseful in cases of overriding a classification in workflow or a subset\nof extraction fields when data is known.`})}),_jsx(ResponseField,{name:`Output`,type:`Output`,id:`param-output`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`processorId`,type:`string`,required:true,id:`param-processor-id`,children:_jsx(_components.p,{children:`The id of the processor that the output is associated with.`})}),_jsx(ResponseField,{name:`output`,type:`object`,required:true,id:`param-output-1`,children:_jsxs(_components.p,{children:[`The output that is being overridden. Output types can be found\n`,_jsx(_components.a,{href:`https://docs.extend.app/api-reference/guides/output_types`,children:`here`}),`.`]})})]})})]})})]}),`\n`,_jsx(ParamField,{body:`rawTexts`,type:`string[]`,id:`param-raw-texts`,children:_jsx(_components.p,{children:`An array of raw strings. Can be used in place of files when passing raw data.\nThe raw data will be converted to .txt files and run through the workflow. If\nthe data follows a specific format, it is recommended to use the files\nparameter instead. Either files or rawTexts must be provided.`})}),`\n`,_jsx(ParamField,{body:`version`,type:`string`,id:`param-version`,children:_jsx(_components.p,{children:`An optional version of the workflow that files will be run through. This\nnumber can be found when viewing the workflow on the Extend platform. When a\nversion number is not supplied, the most recent version of the workflow will\nbe used. To run the “draft” version of a workflow, use “draft” as the version.`})}),`\n`,_jsx(ParamField,{body:`priority`,type:`number`,id:`param-priority`,children:_jsx(_components.p,{children:`An optional value used to determine the relative order of WorkflowRuns when\nrate limiting is in effect. Priority values must be an integer between 1 and\n100 inclusive. Lower values will be prioritized before higher values. The\ndefault priority value is 50.`})}),`\n`,_jsx(ParamField,{body:`metadata`,type:`any`,id:`param-metadata`,children:_jsx(_components.p,{children:`An optional object that can be passed in to identify the WorkflowRun. It will\nbe returned in the response and webhooks.`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`A true or false value for whether the workflow run was created successfully or\nnot.`})}),`\n`,_jsxs(ResponseField,{name:`workflowRuns`,type:`WorkflowRun[]`,id:`param-workflow-runs`,children:[_jsx(_components.p,{children:`An array of WorkflowRun objects, with each WorkflowRun corresponding to a\nsingle File that was passed in.`}),_jsx(ResponseField,{name:`WorkflowRun`,type:`object`,id:`param-workflow-run`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`object`,type:`string`,id:`param-object`,children:_jsx(_components.p,{children:`The type of response, in this case it will always be “workflow_run”.`})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`An ID corresponding to a specific File x Workflow combination representing the specific WorkflowRun for a File.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsx(_components.p,{children:`The status of a WorkflowRun. This will either be “PENDING” as the WorkflowRun has just started, or “PROCESSING” if the WorkflowRun is immediately started.`})}),_jsx(ResponseField,{name:`metadata`,type:`any`,id:`param-metadata-1`,children:_jsx(_components.p,{children:`The metadata that was passed in when running the Workflow.`})}),_jsx(ResponseField,{name:`initialRunAt`,type:`string`,id:`param-initial-run-at`,children:_jsx(_components.p,{children:`The time (in UTC) at which the workflow was started.`})}),_jsxs(ResponseField,{name:`outputs`,type:`array`,id:`param-outputs-1`,children:[_jsx(_components.p,{children:`An array of outputs that were generated by the WorkflowRun. This will be empty as the WorkflowRun has just started.`}),_jsxs(_components.p,{children:[`The shape of the outputs will match the shape of a `,_jsx(_components.a,{href:`/api-reference/objects/processor_run`,children:`processor run’s output`}),`.`]}),_jsxs(_components.p,{children:[`And the `,_jsx(_components.code,{children:`output`}),` field will conform to the shape of `,_jsx(_components.a,{href:`/api-reference/guides/output_types`,children:`output types`}),`.`]})]}),_jsxs(ResponseField,{name:`workflow`,type:`object`,id:`param-workflow`,children:[_jsx(_components.p,{children:`The details about the Workflow that was used in this WorkflowRun.`}),_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`The Workflow ID that can be fetched from the Extend Platform.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`The name of the Workflow.`})}),_jsx(ResponseField,{name:`version`,type:`string`,id:`param-version-1`,children:_jsx(_components.p,{children:`The version of the Workflow.`})})]})]})]})})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Example Request`,numberOfLines:`15`,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:`15`,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:` --location`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api-prod.extend.app/workflow_runs'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer \u003cAPI_TOKEN>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:` \"workflowId\": \"workflow_1234\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"version\": \"1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"files\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fileName\":\"example_file_name\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fileUrl\":\"https://test.s3.amazonaws.com/example+file+name.pdf\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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:` \"priority\": 50,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"internal_id\": \"id_1234\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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:`}'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Example Response`,numberOfLines:`21`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workflowRuns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"workflow_run\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"workflow_run_1234\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PENDING\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"internal_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"id_1234\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"initialRunAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-01-01T09:41:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outputs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"workflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"workflow_1234\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"test_workflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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","api":"POST https://api-prod.extend.app/workflow_runs","description":"Once a workflow has been created on the Extend Platform, this endpoint can be used to send file(s) to be run.","href":"/api-reference/endpoint/run_workflow"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Example Request","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=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --location\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:#0A3069;--shiki-dark:#CE9178\"> 'https://api-prod.extend.app/workflow_runs'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--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:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: Bearer \u0026#x3C;API_TOKEN>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--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\"> \"workflowId\": \"workflow_1234\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"version\": \"1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"files\": [{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"fileName\":\"example_file_name\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"fileUrl\":\"https://test.s3.amazonaws.com/example+file+name.pdf\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"priority\": 50,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"metadata\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"internal_id\": \"id_1234\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\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":[]},"response":{"type":"ResponseExample","children":[{"filename":"Example Response","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=\"json\">\u003ccode language=\"json\" numberOfLines=\"21\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workflowRuns\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"object\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"workflow_run\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"workflow_run_1234\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PENDING\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"internal_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"id_1234\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"initialRunAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-01-01T09:41:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"outputs\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workflow\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"object\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"workflow\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"workflow_1234\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"test_workflow\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"version\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Run Workflow","path":"/workflow_runs","servers":[{"url":"https://api-prod.extend.app"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"workflowId":[{"type":"string","description":"The ID of the workflow that files will be run through. This ID can be fetched from viewing the workflow on the Extend platform.","required":true}],"rawTexts":[{"type":"array","items":[{"type":"string"}],"description":"An array of raw strings. Can be used in place of files when passing raw data. The raw data will be converted to .txt files and run through the workflow. If the data follows a specific format, it is recommended to use the files parameter instead. Either files or rawTexts must be provided."}],"version":[{"type":"string","description":"An optional version of the workflow that files will be run through. This number can be found when viewing the workflow on the Extend platform. When a version number is not supplied, the most recent version of the workflow will be used. To run the “draft” version of a workflow, use “draft” as the version."}],"priority":[{"type":"number","description":"An optional value used to determine the relative order of WorkflowRuns when rate limiting is in effect. Priority values must be an integer between 1 and 100 inclusive. Lower values will be prioritized before higher values. The default priority value is 50."}],"metadata":[{"type":"any","description":"An optional object that can be passed in to identify the WorkflowRun. It will be returned in the response and webhooks."}]}}],"examples":{"example":{"value":{"workflowId":"\u003cstring>","rawTexts":["\u003cstring>"],"version":"\u003cstring>","priority":123,"metadata":"\u003cany>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"files":[{"type":"array","items":[{"type":"file"}],"description":"An array of Files. Either files or rawTexts must be provided. Supported file types can be found here ."}],"success":[{"type":"boolean","description":"A true or false value for whether the workflow run was created successfully or not."}],"workflowRuns":[{"type":"array","items":[{"type":"object","properties":{"WorkflowRun":[{"type":"object","properties":{"object":[{"type":"string","description":"The type of response, in this case it will always be “workflow_run”."}],"id":[{"type":"string","description":"An ID corresponding to a specific File x Workflow combination representing the specific WorkflowRun for a File."}],"status":[{"type":"string","description":"The status of a WorkflowRun. This will either be “PENDING” as the WorkflowRun has just started, or “PROCESSING” if the WorkflowRun is immediately started."}],"metadata":[{"type":"any","description":"The metadata that was passed in when running the Workflow."}],"initialRunAt":[{"type":"string","description":"The time (in UTC) at which the workflow was started."}],"outputs":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"An array of outputs that were generated by the WorkflowRun. This will be empty as the WorkflowRun has just started. The shape of the outputs will match the shape of a processor run’s output . And the `output` field will conform to the shape of output types ."}],"workflow":[{"type":"object","properties":{"id":[{"type":"string","description":"The Workflow ID that can be fetched from the Extend Platform."}],"name":[{"type":"string","description":"The name of the Workflow."}],"version":[{"type":"string","description":"The version of the Workflow."}]},"description":"The details about the Workflow that was used in this WorkflowRun."}]}}]}}],"description":"An array of WorkflowRun objects, with each WorkflowRun corresponding to a single File that was passed in."}]}}],"examples":{"example":{"value":{"files":[null],"success":true,"workflowRuns":[{"WorkflowRun":{"object":"\u003cstring>","id":"\u003cstring>","status":"\u003cstring>","metadata":"\u003cany>","initialRunAt":"\u003cstring>","outputs":[{}],"workflow":{"id":"\u003cstring>","name":"\u003cstring>","version":"\u003cstring>"}}}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"tryextend","siteName":"Extend","title":"Run Workflow - Extend","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2025-04-21":{"href":"/api-reference/endpoint/run_workflow","matchLevel":0},"2024-12-23":{"href":"/api-reference/endpoint/run_workflow","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:55:40.320Z","originalFileLocation":"api-reference/endpoint/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=\"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=\"Once a workflow has been created on the Extend Platform, this endpoint can be used to send file(s) to be run.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Extend\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_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/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run Workflow - Extend\">\u003cmeta data-mint-head property=\"og:description\" content=\"Once a workflow has been created on the Extend Platform, this endpoint can be used to send file(s) to be run.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Extend\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.extend.app/api-reference/endpoint/run_workflow\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tryextend.mintlify.site/_mintlify/api/og/v2?division=Workflow+Endpoints\u0026amp;title=Run+Workflow\u0026amp;description=Once+a+workflow+has+been+created+on+the+Extend+Platform%2C+this+endpoint+can+be+used+to+send+file%28s%29+to+be+run.\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=9891281f629fecb6a531eccf45242fcd41da641555e17fc51389e4660a2b825f\">\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 - Extend\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Once a workflow has been created on the Extend Platform, this endpoint can be used to send file(s) to be run.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tryextend.mintlify.site/_mintlify/api/og/v2?division=Workflow+Endpoints\u0026amp;title=Run+Workflow\u0026amp;description=Once+a+workflow+has+been+created+on+the+Extend+Platform%2C+this+endpoint+can+be+used+to+send+file%28s%29+to+be+run.\u0026amp;theme=a092852b4845b3f9207a97d5\u0026amp;signature=9891281f629fecb6a531eccf45242fcd41da641555e17fc51389e4660a2b825f\">\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/tryextend/ARUs0RnNqdDjcqQq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Extend\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#12A7D3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.extend.app/api-reference/endpoint/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/endpoint/run_workflow.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.extend.app/#organization\",\"name\":\"Extend\",\"url\":\"https://docs.extend.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tryextend/fwFG7xdTywjiFfYq/logo/light.png?fit=max\u0026auto=format\u0026n=fwFG7xdTywjiFfYq\u0026q=85\u0026s=d5b60497f53e7cb8865d11cf97636755\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.extend.app#website\",\"name\":\"Extend\",\"url\":\"https://docs.extend.app\",\"publisher\":{\"@id\":\"https://docs.extend.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.extend.app/api-reference/endpoint/run_workflow#webpage\",\"url\":\"https://docs.extend.app/api-reference/endpoint/run_workflow\",\"name\":\"Run Workflow\",\"description\":\"Once a workflow has been created on the Extend Platform, this endpoint can be used to send file(s) to be run.\",\"dateModified\":\"2026-01-07T03:55:40.320Z\",\"isPartOf\":{\"@id\":\"https://docs.extend.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.extend.app/api-reference/endpoint/run_workflow#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.extend.app/api-reference/endpoint/run_workflow#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Extend\",\"item\":\"https://docs.extend.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run Workflow\",\"item\":\"https://docs.extend.app/api-reference/endpoint/run_workflow\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.extend.app/api-reference/endpoint/run_workflow#apireference\",\"headline\":\"Run Workflow\",\"name\":\"Run Workflow\",\"description\":\"Once a workflow has been created on the Extend Platform, this endpoint can be used to send file(s) to be run.\",\"url\":\"https://docs.extend.app/api-reference/endpoint/run_workflow\",\"mainEntityOfPage\":{\"@id\":\"https://docs.extend.app/api-reference/endpoint/run_workflow#webpage\"},\"dateModified\":\"2026-01-07T03:55:40.320Z\",\"publisher\":{\"@id\":\"https://docs.extend.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.extend.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Extend\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Extend\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/run_workflow.md","siteName":"Extend","nav":{"global":null,"versions":[{"version":"2025-04-21","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"API Versioning","description":"Learn how to specify API versions and stay up to date with changes","href":"/api-reference/api_versioning"}]},{"group":"Workflow Endpoints","pages":[{"title":"Run Workflow","api":"POST https://api-prod.extend.app/workflow_runs","href":"/api-reference/endpoint/run_workflow"},{"title":"Batch Run Workflow","api":"POST https://api-prod.extend.app/workflow_runs/batch","description":"Submit a batch of files to run through a specified workflow.","href":"/api-reference/endpoint/run_workflow_batch"},{"title":"Get Workflow Run","api":"GET https://api-prod.extend.app/workflow_runs/:workflowRunId","href":"/api-reference/endpoint/get_workflow_run"},{"title":"List Workflow Runs","api":"GET https://api-prod.extend.app/workflow_runs","href":"/api-reference/endpoint/list_workflow_runs"},{"title":"Update Workflow Run","api":"POST https://api-prod.extend.app/workflow_runs/:id","href":"/api-reference/endpoint/update_workflow_run"},{"title":"Correct Workflow Run Outputs","api":"POST https://api-prod.extend.app/workflow_runs/:workflowRunId/outputs/:outputId","href":"/api-reference/endpoint/correct_workflow_run"},{"title":"Create Workflow","api":"POST https://api-prod.extend.app/workflows","href":"/api-reference/endpoint/create_workflow"}]},{"group":"Processor Endpoints","pages":[{"title":"Run Processor","api":"POST https://api-prod.extend.app/v1/processor_runs","href":"/api-reference/endpoint/run_processor20250421"},{"title":"Get Processor Run","api":"GET https://api-prod.extend.app/processor_runs/{id}","href":"/api-reference/endpoint/get_processor_run"},{"title":"Get Batch Processor Run","api":"GET https://api-prod.extend.app/batch_processor_runs/{id}","href":"/api-reference/endpoint/get_batch_processor_run"},{"title":"Create Processor","api":"POST https://api-prod.extend.app/v1/processors","href":"/api-reference/endpoint/create_processor20250421"},{"title":"Update Processor","api":"POST https://api-prod.extend.app/v1/processors/:id","href":"/api-reference/endpoint/update_processor20250421"},{"title":"Publish Processor Version","api":"POST https://api-prod.extend.app/v1/processors/:id/publish","href":"/api-reference/endpoint/publish_processor_version20250421"},{"title":"Get Processor Version","api":"GET https://api-prod.extend.app/processors/:ProcessorId/versions/:processorVersionId","href":"/api-reference/endpoint/get_processor_version"},{"title":"List Processor Versions","api":"GET https://api-prod.extend.app/processors/:id/versions","href":"/api-reference/endpoint/get_processor_versions"}]},{"group":"Parse Endpoints","pages":[{"title":"Parse File","api":"POST https://api-prod.extend.app/parse","href":"/api-reference/endpoint/parse"}]},{"group":"File Endpoints","pages":[{"title":"Upload File","api":"POST https://api-prod.extend.app/files/upload","href":"/api-reference/endpoint/upload_file"},{"title":"Get File","api":"GET https://api-prod.extend.app/files/:id?rawText=true","href":"/api-reference/endpoint/get_file"},{"title":"List Files","api":"GET https://api-prod.extend.app/files","href":"/api-reference/endpoint/list_files"},{"title":"[DEPRECATED] Create File","api":"POST https://api-prod.extend.app/files","href":"/api-reference/endpoint/create_file"}]},{"group":"Evaluation Set Endpoints","pages":[{"title":"Create Evaluation Set","api":"POST https://api-prod.extend.app/evaluation_sets","href":"/api-reference/endpoint/create_eval_set"},{"title":"Create Evaluation Set Item","api":"POST https://api-prod.extend.app/evaluation_set_items","href":"/api-reference/endpoint/create_eval_set_item"},{"title":"Update Evaluation Set Item","api":"POST https://api-prod.extend.app/evaluation_set_items/:id","href":"/api-reference/endpoint/update_eval_set_item"},{"title":"Bulk Create Evaluation Set Items","api":"POST https://api-prod.extend.app/evaluation_set_items/bulk","href":"/api-reference/endpoint/bulk_create_eval_set_item"}]},{"group":"Objects","pages":[{"title":"The Block Object","href":"/api-reference/objects/block"},{"title":"The EvaluationSet object","href":"/api-reference/objects/evaluation_set"},{"title":"The EvaluationSetItem object","href":"/api-reference/objects/evaluation_set_item"},{"title":"The File object","href":"/api-reference/objects/file"},{"title":"The Processor object","href":"/api-reference/objects/processor"},{"title":"The ProcessorRun object","href":"/api-reference/objects/processor_run"},{"title":"The BatchProcessorRun object","href":"/api-reference/objects/batch_processor_run"},{"title":"The ProcessorVersion object","href":"/api-reference/objects/processor_version"},{"title":"The Workflow object","href":"/api-reference/objects/workflow"},{"title":"The WorkflowRun object","href":"/api-reference/objects/workflow_run"},{"title":"The WorkflowRun Summary object","href":"/api-reference/objects/workflow_run_summary"}]},{"group":"Guides","pages":[{"title":"Processor configs","href":"/api-reference/guides/processor_configs20250421"},{"title":"Processor output types","href":"/api-reference/guides/output_types20250421"},{"title":null,"href":"/api-reference/guides/bounding_boxes"},{"title":"Supported File Types","href":"/api-reference/supported_file_types"}]},{"group":"Webhooks","pages":[{"title":"Configuration","href":"/api-reference/webhooks/webhooks"},{"title":"Events","href":"/api-reference/webhooks/events"}]}]},{"tab":"Processor Changelog","pages":[{"title":"Processor Changelog","href":"/changelog/overview"}]}]},{"version":"2024-12-23","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"API Versioning","description":"Learn how to specify API versions and stay up to date with changes","href":"/api-reference/api_versioning"}]},{"group":"Workflow Endpoints","pages":[{"title":"Run Workflow","api":"POST https://api-prod.extend.app/workflow_runs","href":"/api-reference/endpoint/run_workflow"},{"title":"Batch Run Workflow","api":"POST https://api-prod.extend.app/workflow_runs/batch","description":"Submit a batch of files to run through a specified workflow.","href":"/api-reference/endpoint/run_workflow_batch"},{"title":"Get Workflow Run","api":"GET https://api-prod.extend.app/workflow_runs/:workflowRunId","href":"/api-reference/endpoint/get_workflow_run"},{"title":"List Workflow Runs","api":"GET https://api-prod.extend.app/workflow_runs","href":"/api-reference/endpoint/list_workflow_runs"},{"title":"Update Workflow Run","api":"POST https://api-prod.extend.app/workflow_runs/:id","href":"/api-reference/endpoint/update_workflow_run"},{"title":"Correct Workflow Run Outputs","api":"POST https://api-prod.extend.app/workflow_runs/:workflowRunId/outputs/:outputId","href":"/api-reference/endpoint/correct_workflow_run"},{"title":"Create Workflow","api":"POST https://api-prod.extend.app/workflows","href":"/api-reference/endpoint/create_workflow"}]},{"group":"Processor Endpoints","pages":[{"title":"Run Processor","api":"POST https://api-prod.extend.app/processor_runs","href":"/api-reference/endpoint/run_processor"},{"title":"Get Processor Run","api":"GET https://api-prod.extend.app/processor_runs/{id}","href":"/api-reference/endpoint/get_processor_run"},{"title":"Get Batch Processor Run","api":"GET https://api-prod.extend.app/batch_processor_runs/{id}","href":"/api-reference/endpoint/get_batch_processor_run"},{"title":"Create Processor","api":"POST https://api-prod.extend.app/processors","href":"/api-reference/endpoint/create_processor"},{"title":"Update Processor","api":"POST https://api-prod.extend.app/processors/:id","href":"/api-reference/endpoint/update_processor"},{"title":"Publish Processor Version","api":"POST https://api-prod.extend.app/processors/:id/publish","href":"/api-reference/endpoint/publish_processor_version"},{"title":"Get Processor Version","api":"GET https://api-prod.extend.app/processors/:ProcessorId/versions/:processorVersionId","href":"/api-reference/endpoint/get_processor_version"},{"title":"List Processor Versions","api":"GET https://api-prod.extend.app/processors/:id/versions","href":"/api-reference/endpoint/get_processor_versions"}]},{"group":"Parse Endpoints","pages":[{"title":"Parse File","api":"POST https://api-prod.extend.app/parse","href":"/api-reference/endpoint/parse"}]},{"group":"File Endpoints","pages":[{"title":"Upload File","api":"POST https://api-prod.extend.app/files/upload","href":"/api-reference/endpoint/upload_file"},{"title":"Get File","api":"GET https://api-prod.extend.app/files/:id?rawText=true","href":"/api-reference/endpoint/get_file"},{"title":"List Files","api":"GET https://api-prod.extend.app/files","href":"/api-reference/endpoint/list_files"},{"title":"[DEPRECATED] Create File","api":"POST https://api-prod.extend.app/files","href":"/api-reference/endpoint/create_file"}]},{"group":"Evaluation Set Endpoints","pages":[{"title":"Create Evaluation Set","api":"POST https://api-prod.extend.app/evaluation_sets","href":"/api-reference/endpoint/create_eval_set"},{"title":"Create Evaluation Set Item","api":"POST https://api-prod.extend.app/evaluation_set_items","href":"/api-reference/endpoint/create_eval_set_item"},{"title":"Update Evaluation Set Item","api":"POST https://api-prod.extend.app/evaluation_set_items/:id","href":"/api-reference/endpoint/update_eval_set_item"},{"title":"Bulk Create Evaluation Set Items","api":"POST https://api-prod.extend.app/evaluation_set_items/bulk","href":"/api-reference/endpoint/bulk_create_eval_set_item"}]},{"group":"Objects","pages":[{"title":"The Block Object","href":"/api-reference/objects/block"},{"title":"The EvaluationSet object","href":"/api-reference/objects/evaluation_set"},{"title":"The EvaluationSetItem object","href":"/api-reference/objects/evaluation_set_item"},{"title":"The File object","href":"/api-reference/objects/file"},{"title":"The Processor object","href":"/api-reference/objects/processor"},{"title":"The ProcessorRun object","href":"/api-reference/objects/processor_run"},{"title":"The BatchProcessorRun object","href":"/api-reference/objects/batch_processor_run"},{"title":"The ProcessorVersion object","href":"/api-reference/objects/processor_version"},{"title":"The Workflow object","href":"/api-reference/objects/workflow"},{"title":"The WorkflowRun object","href":"/api-reference/objects/workflow_run"},{"title":"The WorkflowRun Summary object","href":"/api-reference/objects/workflow_run_summary"}]},{"group":"Guides","pages":[{"title":"Processor configs","href":"/api-reference/guides/processor_configs"},{"title":"Processor output types","href":"/api-reference/guides/output_types"},{"title":null,"href":"/api-reference/guides/bounding_boxes"},{"title":"Supported File Types","href":"/api-reference/supported_file_types"}]},{"group":"Webhooks","pages":[{"title":"Configuration","href":"/api-reference/webhooks/webhooks"},{"title":"Events","href":"/api-reference/webhooks/events"}]}]},{"tab":"Processor Changelog","pages":[{"title":"Processor Changelog","href":"/changelog/overview"}]}]}]},"basePath":"","title":"Run Workflow - Extend","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js"]}