This endpoint stops processing and allows for a potential refund of remaining time.
A 409 carries one of three error codes:
Board.Errors.BoardRunHasNotStarted: the run is confirmed, and the engine has not started it yet. Retryable after a short delay, this is the only code that clears on its own.
Board.Errors.BoardWorkflowMustBeRunning: the run is not in a running state. Not retryable.
Board.Errors.BoardIsAboutToFinishProcessing: the run is within its final seconds. Not retryable.
The total number of batches generated and expected to be sent to the webhook server.
reasonCode
enum<string>
required
Reason code for the routing paused. Possible values:
EMPTY:
BOARD_START_FAILED_BY_RESOURCES_UNAVAILABLE: Board failed to start because of no available resources.
BOARD_CAN_NOT_BE_RESUMED: Board can not be resumed.
BOARD_STOPPED_BY_USER_BEFORE_TIMEOUT: Board was stopped by the user before timeout
BOARD_STOPPED_BY_TIMEOUT_WITHOUT_REVISIONS: Board was stopped by timeout waiting for revisions.
BOARD_START_FAILED_BY_EXPIRED_TTL: Board failed to start before time to live.
BOARD_FAILED_BY_INTERNAL_ERROR: Board failed because of an internal error.
BOARD_STOP_FAILED_BY_JOB_NOT_FOUND: Board stop failed because no active job was found.
BOARD_STOPPED_BY_DEPLOYMENT: Board run stopped due to a temporary service interruption and can be resumed shortly
BOARD_CONVERGED_WITHOUT_REVISIONS: Board stalled without producing any revisions.
BOARD_STOPPED_BY_TIMEOUT_WITH_INACTIVE_JOB: Board run was stopped by timeout and the processing engine was no longer available.
BOARD_START_FAILED_BY_INVALID_MODEL: Board failed to start because the requested routing model is not allowed for this job.
BOARD_START_FAILED_BY_INVALID_NUM_WORKERS: Board failed to start because of an unsupported number of workers.
Available options:
EMPTY,
BOARD_START_FAILED_BY_RESOURCES_UNAVAILABLE,
BOARD_CAN_NOT_BE_RESUMED,
BOARD_STOPPED_BY_USER_BEFORE_TIMEOUT,
BOARD_STOPPED_BY_TIMEOUT_WITHOUT_REVISIONS,
BOARD_START_FAILED_BY_EXPIRED_TTL,
BOARD_FAILED_BY_INTERNAL_ERROR,
BOARD_STOP_FAILED_BY_JOB_NOT_FOUND,
BOARD_STOPPED_BY_DEPLOYMENT,
BOARD_CONVERGED_WITHOUT_REVISIONS,
BOARD_STOPPED_BY_TIMEOUT_WITH_INACTIVE_JOB,
BOARD_START_FAILED_BY_INVALID_MODEL,
BOARD_START_FAILED_BY_INVALID_NUM_WORKERS
reason
string | null
required
Reason for the routing paused.
creditsBurned
number<double>
required
deprecated
The number of AI credits burned by the time this run has been generated (the remaining AI credit from the initial deduction will be refunded).
minutesBurned
number<double>
required
The number of minutes burned by the time this revision has been generated.
pausedOn
string<date-time>
required
Timestamp indicating when routing paused.
numRevisionsDroppedOnStop
integer<int32>
How many revisions below the engine's reported total this run was missing when it finalized. 0 when the stop never entered the grace window. A revision can still arrive afterwards, so this is a reading at that instant rather than a permanent loss count.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"DeepPCB","colors":{"primary":"#F4741B","light":"#eec9bc","dark":"#4fa1ab"},"logo":{"light":"https://mintcdn.com/deeppcb/xIB7FeV5NS4hPekI/images/deeppcb-logo-light.svg?fit=max\u0026auto=format\u0026n=xIB7FeV5NS4hPekI\u0026q=85\u0026s=a568305abe8cbb4a5a120118be6dcdcd","dark":"https://mintcdn.com/deeppcb/xIB7FeV5NS4hPekI/images/deeppcb-logo-dark.svg?fit=max\u0026auto=format\u0026n=xIB7FeV5NS4hPekI\u0026q=85\u0026s=0cddf133c0c6d9591902763256f86591"},"favicon":{"light":"https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/favicon.ico?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=8a7c1d94595cb773ea29bfff4fcc8e4b","dark":"https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/favicon.ico?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=8a7c1d94595cb773ea29bfff4fcc8e4b"},"navbar":{"links":[{"href":"mailto:support@deeppcb.ai","label":"Support"}],"primary":{"type":"button","label":"Open DeepPCB","href":"https://app.deeppcb.com"}},"footer":{"socials":{"x":"https://x.com/DeepPCB","linkedin":"https://www.linkedin.com/showcase/deeppcb"}},"fonts":{"family":"Geist"},"icons":{"library":"fontawesome"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"deeppcb","hasAudioNarration":false,"actualSubdomain":"deeppcb","customDomains":["docs.deeppcb.ai"],"gitSource":{"type":"github","owner":"instadeepai","repo":"holocron","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0d7c4487536013f75c0d2d","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Documentation","count":68},{"language":"default","tag":"Tutorials","count":39},{"language":"default","tag":"How to","count":39},{"language":"default","tag":"API Reference","count":23},{"language":"default","tag":"Get Started","count":14},{"language":"default","tag":"Cooper","count":14},{"language":"default","tag":"Boards","count":8},{"language":"default","tag":"Constraints \u0026 Rules","count":8},{"language":"default","tag":"Running a Board","count":7},{"language":"default","tag":"Introduction","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":true},"customCss":[]}
{"page":{"pagePath":"api/boards/stop-run","slug":"/api/boards/stop-run","pageMetadata":{"title":"Stop a run","openapi":"api/openapi.json PATCH /api/v1/boards/{boardId}/stop","description":"This endpoint stops processing and allows for a potential refund of remaining time.\n\nA `409` carries one of three error codes:\n\n- `Board.Errors.BoardRunHasNotStarted`: the run is confirmed, and the engine has not started it yet. **Retryable** after a short delay, this is the only code that clears on its own.\n- `Board.Errors.BoardWorkflowMustBeRunning`: the run is not in a running state. Not retryable.\n- `Board.Errors.BoardIsAboutToFinishProcessing`: the run is within its final seconds. Not retryable.\n","href":"/api/boards/stop-run"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"This endpoint stops processing and allows for a potential refund of remaining time.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A \", _jsx(_components.code, {\n children: \"409\"\n }), \" carries one of three error codes:\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"Board.Errors.BoardRunHasNotStarted\"\n }), \": the run is confirmed, and the engine has not started it yet. \", _jsx(_components.strong, {\n children: \"Retryable\"\n }), \" after a short delay, this is the only code that clears on its own.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"Board.Errors.BoardWorkflowMustBeRunning\"\n }), \": the run is not in a running state. Not retryable.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"Board.Errors.BoardIsAboutToFinishProcessing\"\n }), \": the run is within its final seconds. Not retryable.\"]\n }), \"\\n\"]\n })]\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":"Stop a run","openapi":"api/openapi.json PATCH /api/v1/boards/{boardId}/stop","description":"This endpoint stops processing and allows for a potential refund of remaining time.\n\nA `409` carries one of three error codes:\n\n- `Board.Errors.BoardRunHasNotStarted`: the run is confirmed, and the engine has not started it yet. **Retryable** after a short delay, this is the only code that clears on its own.\n- `Board.Errors.BoardWorkflowMustBeRunning`: the run is not in a running state. Not retryable.\n- `Board.Errors.BoardIsAboutToFinishProcessing`: the run is within its final seconds. Not retryable.\n","href":"/api/boards/stop-run"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Boards"],"summary":"Stop processing a board","description":"This endpoint stops processing and allows for a potential refund of remaining time.\n\nA `409` carries one of three error codes:\n\n- `Board.Errors.BoardRunHasNotStarted`: the run is confirmed, and the engine has not started it yet. **Retryable** after a short delay, this is the only code that clears on its own.\n- `Board.Errors.BoardWorkflowMustBeRunning`: the run is not in a running state. Not retryable.\n- `Board.Errors.BoardIsAboutToFinishProcessing`: the run is within its final seconds. Not retryable.\n","parameters":["904e61fc-2e93-4bce-a8c2-5c26f0312b3b"],"responses":{"202":"5d3e831a-5170-4f26-840a-9872ac2adae9","400":"1e4a5551-9e16-4c45-9266-4211b489b58c","401":"7de4abec-d91d-4d58-a240-2f3a526a6283","404":"3033e389-4316-43a5-99cc-63da1d4056b5","409":"1e12d7d2-6543-40a0-a1c1-b8957bc7e1ba","500":"1334d6d7-b09b-4d70-aa81-8031d3240f4e"},"callbacks":{"BoardRunPaused":"5c39adfe-06cd-404d-a241-0232a3c036d0","BoardRunStopFailed":"c69287a9-3a3a-4e2c-8ece-90e92baab9b8","UserCreditsRefunded":"13e1f8e3-1352-4df7-bc61-f001ece7eedf"},"method":"patch","type":"path","servers":["b20a2b90-e091-4a2c-9e1d-25bc71393167"],"security":["81178a81-fbeb-4911-b39f-e01c17ab2d97"],"path":"/api/v1/boards/{boardId}/stop","baseUrlOptions":["https://api.deeppcb.com"],"title":"Stop processing a board","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"904e61fc-2e93-4bce-a8c2-5c26f0312b3b":{"name":"boardId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"5d3e831a-5170-4f26-840a-9872ac2adae9":{"description":"Accepted","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"1e4a5551-9e16-4c45-9266-4211b489b58c":{"description":"Bad Request","content":{"text/plain":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"},"application/json":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"},"text/json":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7de4abec-d91d-4d58-a240-2f3a526a6283":{"description":"Unauthorized","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"3033e389-4316-43a5-99cc-63da1d4056b5":{"description":"Not Found","content":{"text/plain":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"},"application/json":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"},"text/json":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1e12d7d2-6543-40a0-a1c1-b8957bc7e1ba":{"description":"Conflict","content":{"text/plain":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"},"application/json":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"},"text/json":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1334d6d7-b09b-4d70-aa81-8031d3240f4e":{"description":"Internal Server Error","content":{"text/plain":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"},"application/json":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"},"text/json":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"statusCode.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"integer\u003cint32> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","uniqueKey":"errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorCode","typeLabel":"string | null"},"errorMessage":{"oneOf":[{"type":"string","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"status":"\u003cstring>","errorCode":"\u003cstring>","errorMessage":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"callbacks":[{"callbackName":"BoardRunPaused","expression":"https://your-webhook-url.com/webhooks","method":"post","resolved":{"operation":{"summary":"Board processing paused webhook","description":"Called when board processing is paused. Contains pause reason, credits burned, and timestamp.","requestBody":"26600a02-61b4-4eb3-a096-8f9f10cef912","responses":{"200":"44ab4daa-71d6-4b37-9777-8a7dcd70dc06"},"method":"post","type":"path"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["creditsBurned","jobType","minutesBurned","numBatches","pausedOn","reason","reasonCode"],"properties":{"jobType":{"oneOf":[{"type":"string","description":"JobType can be routing or placement","isRequired":true,"uniqueKey":"jobType.oneOf.0","typeLabel":"string"},{"type":"null","description":"JobType can be routing or placement","isRequired":true,"uniqueKey":"jobType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"jobType","typeLabel":"string | null"},"numBatches":{"type":"integer","description":"The total number of batches generated and expected to be sent to the webhook server.","format":"int32","isRequired":true,"uniqueKey":"numBatches","typeLabel":"integer\u003cint32>"},"reasonCode":{"type":"string","description":"Reason code for the routing paused.\u003cbr>\u003cb>Possible values:\u003c/b>\u003cul>\u003cli>\u003cb>EMPTY\u003c/b>: \u003c/li>\u003cli>\u003cb>BOARD_START_FAILED_BY_RESOURCES_UNAVAILABLE\u003c/b>: Board failed to start because of no available resources.\u003c/li>\u003cli>\u003cb>BOARD_CAN_NOT_BE_RESUMED\u003c/b>: Board can not be resumed.\u003c/li>\u003cli>\u003cb>BOARD_STOPPED_BY_USER_BEFORE_TIMEOUT\u003c/b>: Board was stopped by the user before timeout\u003c/li>\u003cli>\u003cb>BOARD_STOPPED_BY_TIMEOUT_WITHOUT_REVISIONS\u003c/b>: Board was stopped by timeout waiting for revisions.\u003c/li>\u003cli>\u003cb>BOARD_START_FAILED_BY_EXPIRED_TTL\u003c/b>: Board failed to start before time to live.\u003c/li>\u003cli>\u003cb>BOARD_FAILED_BY_INTERNAL_ERROR\u003c/b>: Board failed because of an internal error.\u003c/li>\u003cli>\u003cb>BOARD_STOP_FAILED_BY_JOB_NOT_FOUND\u003c/b>: Board stop failed because no active job was found.\u003c/li>\u003cli>\u003cb>BOARD_STOPPED_BY_DEPLOYMENT\u003c/b>: Board run stopped due to a temporary service interruption and can be resumed shortly\u003c/li>\u003cli>\u003cb>BOARD_CONVERGED_WITHOUT_REVISIONS\u003c/b>: Board stalled without producing any revisions.\u003c/li>\u003cli>\u003cb>BOARD_STOPPED_BY_TIMEOUT_WITH_INACTIVE_JOB\u003c/b>: Board run was stopped by timeout and the processing engine was no longer available.\u003c/li>\u003cli>\u003cb>BOARD_START_FAILED_BY_INVALID_MODEL\u003c/b>: Board failed to start because the requested routing model is not allowed for this job.\u003c/li>\u003cli>\u003cb>BOARD_START_FAILED_BY_INVALID_NUM_WORKERS\u003c/b>: Board failed to start because of an unsupported number of workers.\u003c/li>\u003c/ul>","enum":["EMPTY","BOARD_START_FAILED_BY_RESOURCES_UNAVAILABLE","BOARD_CAN_NOT_BE_RESUMED","BOARD_STOPPED_BY_USER_BEFORE_TIMEOUT","BOARD_STOPPED_BY_TIMEOUT_WITHOUT_REVISIONS","BOARD_START_FAILED_BY_EXPIRED_TTL","BOARD_FAILED_BY_INTERNAL_ERROR","BOARD_STOP_FAILED_BY_JOB_NOT_FOUND","BOARD_STOPPED_BY_DEPLOYMENT","BOARD_CONVERGED_WITHOUT_REVISIONS","BOARD_STOPPED_BY_TIMEOUT_WITH_INACTIVE_JOB","BOARD_START_FAILED_BY_INVALID_MODEL","BOARD_START_FAILED_BY_INVALID_NUM_WORKERS"],"isRequired":true,"uniqueKey":"reasonCode","typeLabel":"enum\u003cstring>"},"reason":{"oneOf":[{"type":"string","description":"Reason for the routing paused.","isRequired":true,"uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reason for the routing paused.","isRequired":true,"uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"reason","typeLabel":"string | null"},"creditsBurned":{"type":"number","description":"The number of AI credits burned by the time this run has been generated (the remaining AI credit from the initial deduction will be refunded).","format":"double","deprecated":true,"isRequired":true,"uniqueKey":"creditsBurned","typeLabel":"number\u003cdouble>"},"minutesBurned":{"type":"number","description":"The number of minutes burned by the time this revision has been generated.","format":"double","isRequired":true,"uniqueKey":"minutesBurned","typeLabel":"number\u003cdouble>"},"pausedOn":{"type":"string","description":"Timestamp indicating when routing paused.","format":"date-time","isRequired":true,"uniqueKey":"pausedOn","typeLabel":"string\u003cdate-time>"},"numRevisionsDroppedOnStop":{"type":"integer","description":"How many revisions below the engine's reported total this run was missing when it finalized. 0 when the stop never entered the grace window. A revision can still arrive afterwards, so this is a reading at that instant rather than a permanent loss count.","format":"int32","uniqueKey":"numRevisionsDroppedOnStop","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"jobType":"\u003cstring>","numBatches":123,"reason":"\u003cstring>","creditsBurned":123,"minutesBurned":123,"pausedOn":"2023-11-07T05:31:56Z","numRevisionsDroppedOnStop":123}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"44ab4daa-71d6-4b37-9777-8a7dcd70dc06":{"description":"Callback received","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{}}}},{"callbackName":"BoardRunStopFailed","expression":"https://your-webhook-url.com/webhooks","method":"post","resolved":{"operation":{"summary":"Board stop failed webhook","description":"Called when board stop operation fails. Contains failure reason and timestamp.","requestBody":"1688961b-cb0b-418e-b6a5-dfde8c01e37b","responses":{"200":"53e6739a-7ce1-46dd-a981-713306070e20"},"method":"post","type":"path"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["failedOn","jobType","reason","reasonCode"],"properties":{"jobType":{"oneOf":[{"type":"string","description":"JobType can be routing or placement","isRequired":true,"uniqueKey":"jobType.oneOf.0","typeLabel":"string"},{"type":"null","description":"JobType can be routing or placement","isRequired":true,"uniqueKey":"jobType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"jobType","typeLabel":"string | null"},"reasonCode":{"type":"string","description":"Reason code for the routing failure.\u003cbr>\u003cb>Possible values:\u003c/b>\u003cul>\u003cli>\u003cb>EMPTY\u003c/b>: \u003c/li>\u003cli>\u003cb>BOARD_START_FAILED_BY_RESOURCES_UNAVAILABLE\u003c/b>: Board failed to start because of no available resources.\u003c/li>\u003cli>\u003cb>BOARD_CAN_NOT_BE_RESUMED\u003c/b>: Board can not be resumed.\u003c/li>\u003cli>\u003cb>BOARD_STOPPED_BY_USER_BEFORE_TIMEOUT\u003c/b>: Board was stopped by the user before timeout\u003c/li>\u003cli>\u003cb>BOARD_STOPPED_BY_TIMEOUT_WITHOUT_REVISIONS\u003c/b>: Board was stopped by timeout waiting for revisions.\u003c/li>\u003cli>\u003cb>BOARD_START_FAILED_BY_EXPIRED_TTL\u003c/b>: Board failed to start before time to live.\u003c/li>\u003cli>\u003cb>BOARD_FAILED_BY_INTERNAL_ERROR\u003c/b>: Board failed because of an internal error.\u003c/li>\u003cli>\u003cb>BOARD_STOP_FAILED_BY_JOB_NOT_FOUND\u003c/b>: Board stop failed because no active job was found.\u003c/li>\u003cli>\u003cb>BOARD_STOPPED_BY_DEPLOYMENT\u003c/b>: Board run stopped due to a temporary service interruption and can be resumed shortly\u003c/li>\u003cli>\u003cb>BOARD_CONVERGED_WITHOUT_REVISIONS\u003c/b>: Board stalled without producing any revisions.\u003c/li>\u003cli>\u003cb>BOARD_STOPPED_BY_TIMEOUT_WITH_INACTIVE_JOB\u003c/b>: Board run was stopped by timeout and the processing engine was no longer available.\u003c/li>\u003cli>\u003cb>BOARD_START_FAILED_BY_INVALID_MODEL\u003c/b>: Board failed to start because the requested routing model is not allowed for this job.\u003c/li>\u003cli>\u003cb>BOARD_START_FAILED_BY_INVALID_NUM_WORKERS\u003c/b>: Board failed to start because of an unsupported number of workers.\u003c/li>\u003c/ul>","enum":["EMPTY","BOARD_START_FAILED_BY_RESOURCES_UNAVAILABLE","BOARD_CAN_NOT_BE_RESUMED","BOARD_STOPPED_BY_USER_BEFORE_TIMEOUT","BOARD_STOPPED_BY_TIMEOUT_WITHOUT_REVISIONS","BOARD_START_FAILED_BY_EXPIRED_TTL","BOARD_FAILED_BY_INTERNAL_ERROR","BOARD_STOP_FAILED_BY_JOB_NOT_FOUND","BOARD_STOPPED_BY_DEPLOYMENT","BOARD_CONVERGED_WITHOUT_REVISIONS","BOARD_STOPPED_BY_TIMEOUT_WITH_INACTIVE_JOB","BOARD_START_FAILED_BY_INVALID_MODEL","BOARD_START_FAILED_BY_INVALID_NUM_WORKERS"],"isRequired":true,"uniqueKey":"reasonCode","typeLabel":"enum\u003cstring>"},"reason":{"oneOf":[{"type":"string","description":"Reason for the routing failure.","isRequired":true,"uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reason for the routing failure.","isRequired":true,"uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"reason","typeLabel":"string | null"},"failedOn":{"type":"string","description":"Timestamp indicating when routing failed.","format":"date-time","isRequired":true,"uniqueKey":"failedOn","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"jobType":"\u003cstring>","reason":"\u003cstring>","failedOn":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"53e6739a-7ce1-46dd-a981-713306070e20":{"description":"Callback received","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{}}}},{"callbackName":"UserCreditsRefunded","expression":"https://your-webhook-url.com/webhooks","method":"post","resolved":{"operation":{"summary":"User credits refunded webhook","description":"Called when credits are refunded to user. Contains credit change details.","requestBody":"9ae9fee3-98bf-40c3-8a03-19aacd4d93d9","responses":{"200":"b558ac44-7fa2-482f-918e-cf22d741fd4b"},"method":"post","type":"path"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["userBalanceChanged"],"properties":{"userBalanceChanged":{"oneOf":[{"type":"object","description":"User balance change details","required":["balance","balanceInMinutes"],"properties":{"balance":{"type":"number","format":"double","isRequired":true,"uniqueKey":"userBalanceChanged.oneOf.0.balance","typeLabel":"number\u003cdouble>"},"balanceInMinutes":{"type":"number","format":"double","isRequired":true,"uniqueKey":"userBalanceChanged.oneOf.0.balanceInMinutes","typeLabel":"number\u003cdouble>"},"credits":{"type":"number","format":"double","uniqueKey":"userBalanceChanged.oneOf.0.credits","typeLabel":"number\u003cdouble>"},"minutes":{"type":"number","format":"double","uniqueKey":"userBalanceChanged.oneOf.0.minutes","typeLabel":"number\u003cdouble>"},"reason":{"oneOf":[{"type":"string","uniqueKey":"userBalanceChanged.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"userBalanceChanged.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"userBalanceChanged.oneOf.0.reason","typeLabel":"string | null"},"totalPrice":{"oneOf":[{"type":"number","format":"double","uniqueKey":"userBalanceChanged.oneOf.0.totalPrice.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"userBalanceChanged.oneOf.0.totalPrice.oneOf.1","typeLabel":"null"}],"uniqueKey":"userBalanceChanged.oneOf.0.totalPrice","typeLabel":"number\u003cdouble> | null"},"paidOn":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"userBalanceChanged.oneOf.0.paidOn.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"userBalanceChanged.oneOf.0.paidOn.oneOf.1","typeLabel":"null"}],"uniqueKey":"userBalanceChanged.oneOf.0.paidOn","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"userBalanceChanged.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"userBalanceChanged.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"userBalanceChanged","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"userBalanceChanged":{"balance":123,"balanceInMinutes":123,"credits":123,"minutes":123,"reason":"\u003cstring>","totalPrice":123,"paidOn":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"b558ac44-7fa2-482f-918e-cf22d741fd4b":{"description":"Callback received","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{}}}}],"security":{"81178a81-fbeb-4911-b39f-e01c17ab2d97":{"Api Key":{"type":"apiKey","description":"Your DeepPCB API key, from the Integration page in the app.","name":"x-deeppcb-api-key","in":"header","scopes":[],"schemeName":"Api Key"}}},"servers":{"b20a2b90-e091-4a2c-9e1d-25bc71393167":{"url":"https://api.deeppcb.com","description":"DeepPCB API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"Your DeepPCB API key, from the Integration page in the app.","name":"x-deeppcb-api-key","in":"header","scopes":[],"schemeName":"Api Key"},"schema":{"title":"x-deeppcb-api-key","type":"string","description":"Your DeepPCB API key, from the Integration page in the app.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Api Key","name":"x-deeppcb-api-key"}],"title":"Api Key"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"deeppcb","siteName":"DeepPCB","title":"Stop a run - DeepPCB","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T13:38:36.252Z","originalFileLocation":"api/boards/stop-run.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=\"This endpoint stops processing and allows for a potential refund of remaining time. A 409 carries one of three error codes: - Board.Errors.BoardRunHasNotStarted: the run is confirmed, and the engine has not started it yet. Retryable after a short delay, this is the only code that clears on its own. - Board.Errors.BoardWorkflowMustBeRunning: the run is not in a running state. Not retryable. - Board.Errors.BoardIsAboutToFinishProcessing: the run is within its final seconds. Not retryable.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DeepPCB\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_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/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_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/deeppcb/HNgtT4aBzJ9yriQx/_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/deeppcb/HNgtT4aBzJ9yriQx/_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/deeppcb/HNgtT4aBzJ9yriQx/_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/deeppcb/HNgtT4aBzJ9yriQx/_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/deeppcb/HNgtT4aBzJ9yriQx/_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/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Stop a run - DeepPCB\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint stops processing and allows for a potential refund of remaining time. A 409 carries one of three error codes: - Board.Errors.BoardRunHasNotStarted: the run is confirmed, and the engine has not started it yet. Retryable after a short delay, this is the only code that clears on its own. - Board.Errors.BoardWorkflowMustBeRunning: the run is not in a running state. Not retryable. - Board.Errors.BoardIsAboutToFinishProcessing: the run is within its final seconds. Not retryable.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DeepPCB\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.deeppcb.ai/api/boards/stop-run\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://deeppcb.mintlify.site/_mintlify/api/og/v2?division=Boards\u0026amp;title=Stop+a+run\u0026amp;description=This+endpoint+stops+processing+and+allows+for+a+potential+refund+of+remaining+time.%0A%0AA+%60409%60+carries+one+of+three+error+codes%3A%0A%0A-+%60Board.Errors.BoardRunHasNotSt\u0026amp;theme=da613746ef0228cefb984db6\u0026amp;signature=20badcec6c347540e193e338332fbe45a0810e678374c8133681c89d3b4b3158\">\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=\"Stop a run - DeepPCB\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint stops processing and allows for a potential refund of remaining time. A 409 carries one of three error codes: - Board.Errors.BoardRunHasNotStarted: the run is confirmed, and the engine has not started it yet. Retryable after a short delay, this is the only code that clears on its own. - Board.Errors.BoardWorkflowMustBeRunning: the run is not in a running state. Not retryable. - Board.Errors.BoardIsAboutToFinishProcessing: the run is within its final seconds. Not retryable.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://deeppcb.mintlify.site/_mintlify/api/og/v2?division=Boards\u0026amp;title=Stop+a+run\u0026amp;description=This+endpoint+stops+processing+and+allows+for+a+potential+refund+of+remaining+time.%0A%0AA+%60409%60+carries+one+of+three+error+codes%3A%0A%0A-+%60Board.Errors.BoardRunHasNotSt\u0026amp;theme=da613746ef0228cefb984db6\u0026amp;signature=20badcec6c347540e193e338332fbe45a0810e678374c8133681c89d3b4b3158\">\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/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DeepPCB\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F4741B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.deeppcb.ai/api/boards/stop-run\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/boards/stop-run.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.deeppcb.ai/#organization\",\"name\":\"DeepPCB\",\"url\":\"https://docs.deeppcb.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/deeppcb/xIB7FeV5NS4hPekI/images/deeppcb-logo-light.svg?fit=max\u0026auto=format\u0026n=xIB7FeV5NS4hPekI\u0026q=85\u0026s=a568305abe8cbb4a5a120118be6dcdcd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.deeppcb.ai#website\",\"name\":\"DeepPCB\",\"url\":\"https://docs.deeppcb.ai\",\"publisher\":{\"@id\":\"https://docs.deeppcb.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.deeppcb.ai/api/boards/stop-run#webpage\",\"url\":\"https://docs.deeppcb.ai/api/boards/stop-run\",\"name\":\"Stop a run\",\"description\":\"This endpoint stops processing and allows for a potential refund of remaining time. A 409 carries one of three error codes: - Board.Errors.BoardRunHasNotStarted: the run is confirmed, and the engine has not started it yet. Retryable after a short delay, this is the only code that clears on its own. - Board.Errors.BoardWorkflowMustBeRunning: the run is not in a running state. Not retryable. - Board.Errors.BoardIsAboutToFinishProcessing: the run is within its final seconds. Not retryable.\",\"dateModified\":\"2026-11-30T13:38:36.252Z\",\"isPartOf\":{\"@id\":\"https://docs.deeppcb.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.deeppcb.ai/api/boards/stop-run#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.deeppcb.ai/api/boards/stop-run#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Boards\",\"item\":\"https://docs.deeppcb.ai/api/boards/create-board\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stop a run\",\"item\":\"https://docs.deeppcb.ai/api/boards/stop-run\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.deeppcb.ai/api/boards/stop-run#apireference\",\"headline\":\"Stop a run\",\"name\":\"Stop a run\",\"description\":\"This endpoint stops processing and allows for a potential refund of remaining time. A 409 carries one of three error codes: - Board.Errors.BoardRunHasNotStarted: the run is confirmed, and the engine has not started it yet. Retryable after a short delay, this is the only code that clears on its own. - Board.Errors.BoardWorkflowMustBeRunning: the run is not in a running state. Not retryable. - Board.Errors.BoardIsAboutToFinishProcessing: the run is within its final seconds. Not retryable.\",\"url\":\"https://docs.deeppcb.ai/api/boards/stop-run\",\"mainEntityOfPage\":{\"@id\":\"https://docs.deeppcb.ai/api/boards/stop-run#webpage\"},\"dateModified\":\"2026-11-30T13:38:36.252Z\",\"publisher\":{\"@id\":\"https://docs.deeppcb.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.deeppcb.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DeepPCB\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DeepPCB\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/boards/stop-run.md","siteName":"DeepPCB","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"DeepPCB REST API Overview — Endpoints and Errors","sidebarTitle":"Overview","href":"/api/overview"},{"title":"Authenticate with the DeepPCB REST API Using API Keys","sidebarTitle":"Authentication","href":"/api/authentication"}]},{"group":"Boards","pages":[{"title":"Create a board","openapi":"api/openapi.json POST /api/v1/boards","href":"/api/boards/create-board"},{"title":"Start a run","openapi":"api/openapi.json PATCH /api/v1/boards/{boardId}/confirm","description":"This endpoint confirms and starts processing a board for routing or placement","href":"/api/boards/start-run"},{"title":"Stop a run","openapi":"api/openapi.json PATCH /api/v1/boards/{boardId}/stop","href":"/api/boards/stop-run"},{"title":"Resume a run","openapi":"api/openapi.json PATCH /api/v1/boards/{boardId}/resume","description":"This endpoint resumes processing a previously stopped or paused board","href":"/api/boards/resume-run"},{"title":"Get a board and its revisions","openapi":"api/openapi.json GET /api/v1/boards/{boardId}","href":"/api/boards/get-board"},{"title":"Find a board by request ID","openapi":"api/openapi.json GET /api/v1/boards/requests/{requestId}","href":"/api/boards/find-board-by-request-id"},{"title":"Get board details","openapi":"api/openapi.json GET /api/v1/boards/{boardId}/details","href":"/api/boards/get-board-details"},{"title":"Get the recommended max batch timeout","openapi":"api/openapi.json GET /api/v1/boards/{boardId}/recommended-max-batch-timeout","href":"/api/boards/get-recommended-max-batch-timeout"}]},{"group":"Results","pages":[{"title":"Get a revision artifact","openapi":"api/openapi.json GET /api/v1/boards/{boardId}/revision-artifact","href":"/api/results/get-revision-artifact"},{"title":"Get the board JSON","openapi":"api/openapi.json GET /api/v1/boards/{boardId}/json","href":"/api/results/get-board-json"},{"title":"Download the latest artifact (deprecated)","openapi":"api/openapi.json GET /api/v1/boards/{boardId}/download-artifact","href":"/api/results/download-latest-artifact"},{"title":"Rate a board","openapi":"api/openapi.json PUT /api/v1/boards/{boardId}/rating","href":"/api/results/rate-board"},{"title":"Submit a metadata event","openapi":"api/openapi.json POST /api/v1/boards/{boardId}/metadata","href":"/api/results/submit-metadata-event"}]},{"group":"Validation \u0026 conversion","pages":[{"title":"Check a board","openapi":"api/openapi.json POST /api/v1/boards/check-board","href":"/api/validation/check-board"},{"title":"Check constraints","openapi":"api/openapi.json POST /api/v1/boards/check-constraints","href":"/api/validation/check-constraints"},{"title":"Convert a board to JSON","openapi":"api/openapi.json POST /api/v1/boards/convert-to-json","href":"/api/validation/convert-to-json"},{"title":"Get the board schema","openapi":"api/openapi.json GET /api/v1/boards/board-schema","href":"/api/validation/get-board-schema"},{"title":"Get the constraints schema","openapi":"api/openapi.json GET /api/v1/boards/constraints-schema","href":"/api/validation/get-constraints-schema"}]},{"group":"Fanout","pages":[{"title":"Fan out a component","openapi":"api/openapi.json POST /api/v1/boards/{boardId}/fanout","href":"/api/fanout/fan-out-component"}]},{"group":"Files","pages":[{"title":"Upload a board file","openapi":"api/openapi.json POST /api/v1/files/uploads/board-file","href":"/api/files/upload-board-file"}]},{"group":"Balance","pages":[{"title":"Get your balance history","openapi":"api/openapi.json GET /api/v1/apiuser/credit-flow","href":"/api/balance/get-balance-history"}]}]}]},"basePath":"","title":"Stop a run - DeepPCB","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","b0f84f53ff","2b790eda92","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","SectionHeading-DyxPTJti.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}