{
"detail": "The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.",
"code": "invalid_json",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The API key is missing, malformed, revoked, or expired.",
"code": "unauthorized",
"type": "authentication_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The key lacks a scope, is limited to other skills or workflows, or you may not do this.",
"code": "permission_denied",
"type": "permission_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "It does not exist, or it is not yours to see.",
"code": "not_found",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).",
"code": "conflict",
"type": "conflict_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.",
"code": "rate_limited",
"type": "rate_limit_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Something broke on our side. Retry; credits a run already used are not given back.",
"code": "internal_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
Works for skill runs and workflow runs. Stopping a workflow run also stops what it is running inside; those are listed in stopped. Rows already produced are kept, and credits already used stay charged.cancelled is true when a stop was requested now, and false when the run had already finished (it is left as it is). kind says skill or workflow.Only the person who started the run can stop it. Needs skills:invoke for a skill run, workflows:invoke for a workflow run. MCP tool: cancel_run.
Authorizations
ApiKeyAuthApiKeyHeader
Authorization
string
header
required
API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.
Headers
Idempotency-Key
string
Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.
Required string length: 1 - 255
Path Parameters
run_id
string
required
Response
What was stopped.
run_id
string
required
status
string
required
cancelled
boolean
required
A stop was requested now (false: it had already finished)
kind
enum<string>
default:skill
Available options:
skill,
workflow
detail
string | null
stopped
Stopped · object[]
A workflow run: what it was running inside that was stopped too
{
"detail": "The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.",
"code": "invalid_json",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The API key is missing, malformed, revoked, or expired.",
"code": "unauthorized",
"type": "authentication_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The key lacks a scope, is limited to other skills or workflows, or you may not do this.",
"code": "permission_denied",
"type": "permission_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "It does not exist, or it is not yours to see.",
"code": "not_found",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).",
"code": "conflict",
"type": "conflict_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.",
"code": "rate_limited",
"type": "rate_limit_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Something broke on our side. Retry; credits a run already used are not given back.",
"code": "internal_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Valendata","colors":{"primary":"#059669","light":"#10B981","dark":"#047857"},"logo":{"light":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/light.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=a40071ed32459ae366f67671063ec09f","dark":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/dark.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=1ea5c3396fd1e49155699be16454b976","href":"https://valendata.com/"},"favicon":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/favicon.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=b944978557448233e2ed6a35d1330a18","api":{"playground":{"display":"interactive"}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"mailto:info@valendata.com","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://valendata.com"}},"footer":{"socials":{"website":"https://valendata.com"}},"fonts":{"family":"Geist"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"valendata","hasAudioNarration":false,"actualSubdomain":"valendata","customDomains":["docs.valendata.com"],"gitSource":{"type":"github","owner":"prinzeval","repo":"valendata-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0211d21d4d5684bbe657cf","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API reference","count":135},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Skills","count":16},{"language":"default","tag":"Concepts","count":13},{"language":"default","tag":"Runs","count":12},{"language":"default","tag":"Workflow triggers","count":10},{"language":"default","tag":"How-to guides","count":10},{"language":"default","tag":"Logins","count":9},{"language":"default","tag":"Skill versions","count":9},{"language":"default","tag":"Workflows","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwRGFWfOw.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwYGFWfOw.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwTGFWfOw.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwSGFWfOw.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwcGFU.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--font-sans: \"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;--font-mono: \"Geist Mono\", \"SF Mono\", Consolas, monospace}body,html,h1,h2,h3,h4,h5,h6,p,span,a,button,input,select,textarea{font-family:var(--font-sans)!important}code,pre,kbd,samp{font-family:var(--font-mono)!important}h1,h2,h3,h4,h5,h6{letter-spacing:-0.025em!important}html:not(.dark) h1,html:not(.dark) h2,html:not(.dark) h3,html:not(.dark) h4,html:not(.dark) h5,html:not(.dark) h6{color:#0e0f10!important}html:not(.dark) strong,html:not(.dark) b{color:#0e0f10!important;font-weight:700!important}html:not(.dark) p,html:not(.dark) li{color:#334155!important}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:#f8fafc!important}html.dark strong,html.dark b{color:#ffffff!important;font-weight:700!important}html.dark p,html.dark li{color:#cbd5e1!important}div[class*=\"pointer-events-none\"][class*=\"bg-gradient-to-b\"]{display:none!important}img.nav-logo{height:2rem!important;max-width:none!important}button[aria-label*=\"Ask AI\"i],button[aria-label*=\"AI\"i],button[aria-label*=\"Assistant\"i],button:has(svg[data-icon=\"sparkles\"]),button:has(svg[data-icon=\"wand-magic-sparkles\"]),div[class*=\"ai-widget\"],div[class*=\"ask-ai\"],div[class*=\"ai-chat\"]{display:none!important}"}]}
{"page":{"pagePath":"api-reference/runs/cancel","slug":"/api-reference/runs/cancel","pageMetadata":{"title":"Cancel a run","description":"Stop a queued or running run you started.","openapi":"POST /v1/runs/{run_id}/cancel","href":"/api-reference/runs/cancel"},"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: \"Stop a queued or running run you started.\"\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={code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Works for skill runs and workflow runs. Stopping a workflow run also stops what it is running inside; those are listed in `,_jsx(_components.code,{children:`stopped`}),`. Rows already produced are kept, and credits already used stay charged.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`cancelled`}),` is `,_jsx(_components.code,{children:`true`}),` when a stop was requested now, and `,_jsx(_components.code,{children:`false`}),` when the run had already finished (it is left as it is). `,_jsx(_components.code,{children:`kind`}),` says `,_jsx(_components.code,{children:`skill`}),` or `,_jsx(_components.code,{children:`workflow`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Only the person who started the run can stop it. Needs `,_jsx(_components.code,{children:`skills:invoke`}),` for a skill run, `,_jsx(_components.code,{children:`workflows:invoke`}),` for a workflow run. MCP tool: `,_jsx(_components.code,{children:`cancel_run`}),`.`]})]})}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":"Cancel a run","description":"Stop a queued or running run you started.","openapi":"POST /v1/runs/{run_id}/cancel","href":"/api-reference/runs/cancel"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Runs"],"summary":"Cancel a run","description":"Stop a queued or running run you started.","operationId":"cancel_run","security":["1c45b429-87dc-454c-8467-922ff2fe097e","78682034-04bc-4f28-9fea-937c1f205da6"],"parameters":["b4e9151a-1ed9-4a7f-8409-a6ec690c5299","197c8cc2-312c-44cc-b1db-8c2743619d48"],"responses":{"200":"4cefdac6-5cb5-41a7-b992-30ee8d5f1a46","400":"c61909dd-1215-400e-bbf1-6c453be3cdb3","401":"9678ed94-32d5-4b38-a103-a1cd91c25806","403":"f73eb2e6-6a8a-4bc8-9e26-6fc777c4528e","404":"e3506d7e-0b68-4349-8acc-5cf399ec01a2","409":"c50dcb25-235e-476d-ba3d-b4980e0a3b6d","422":"406f45e8-3785-49bd-b3a8-94b5483f7c64","429":"71c18930-a52c-41c1-88de-58764bfec265","500":"feeb97f1-da52-41af-9f62-da9079bc6965"},"x-mcp-tool":"cancel_run","method":"post","type":"path","servers":["c84457e9-c3bb-411e-99c4-4891ba75f452"],"path":"/v1/runs/{run_id}/cancel","baseUrlOptions":["https://api.valendata.com"],"title":"Cancel a run","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b4e9151a-1ed9-4a7f-8409-a6ec690c5299":{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"197c8cc2-312c-44cc-b1db-8c2743619d48":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":false,"description":"Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with `Idempotent-Replayed: true`) and does nothing twice; the same key with a different request is a 422 `idempotency_key_reused`.","uniqueKey":"","typeLabel":"string"},"description":"Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with `Idempotent-Replayed: true`) and does nothing twice; the same key with a different request is a 422 `idempotency_key_reused`.","example":"order-1234"}},"responses":{"4cefdac6-5cb5-41a7-b992-30ee8d5f1a46":{"description":"What was stopped.","content":{"application/json":{"schema":{"properties":{"run_id":{"type":"string","title":"Run Id","isRequired":true,"uniqueKey":"run_id","typeLabel":"string"},"status":{"type":"string","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"cancelled":{"type":"boolean","title":"Cancelled","description":"A stop was requested now (false: it had already finished)","isRequired":true,"uniqueKey":"cancelled","typeLabel":"boolean"},"kind":{"type":"string","enum":["skill","workflow"],"title":"Kind","default":"skill","uniqueKey":"kind","typeLabel":"enum\u003cstring>"},"detail":{"oneOf":[{"type":"string","title":"Detail","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"stopped":{"items":{"additionalProperties":true,"type":"object","uniqueKey":"stopped.items.[INDEX]","typeLabel":"object"},"type":"array","title":"Stopped","description":"A workflow run: what it was running inside that was stopped too","uniqueKey":"stopped","typeLabel":"Stopped · object[]"}},"type":"object","required":["run_id","status","cancelled"],"title":"CancelRunResponse","uniqueKey":"","typeLabel":"CancelRunResponse · object"},"examples":{"Example":{"title":"Example","value":{"run_id":"\u003cstring>","status":"\u003cstring>","cancelled":true,"kind":"skill","detail":"\u003cstring>","stopped":[{}]}}},"exampleType":"generated"}},"headers":{"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when this is the stored answer to an earlier request with the same Idempotency-Key.","schema":{"type":"string"}}},"exampleType":"generated"},"c61909dd-1215-400e-bbf1-6c453be3cdb3":{"description":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","code":"invalid_json","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","code":"invalid_json","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"9678ed94-32d5-4b38-a103-a1cd91c25806":{"description":"The API key is missing, malformed, revoked, or expired.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The API key is missing, malformed, revoked, or expired.","code":"unauthorized","type":"authentication_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The API key is missing, malformed, revoked, or expired.","code":"unauthorized","type":"authentication_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"f73eb2e6-6a8a-4bc8-9e26-6fc777c4528e":{"description":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","code":"permission_denied","type":"permission_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","code":"permission_denied","type":"permission_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"e3506d7e-0b68-4349-8acc-5cf399ec01a2":{"description":"It does not exist, or it is not yours to see.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"It does not exist, or it is not yours to see.","code":"not_found","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"It does not exist, or it is not yours to see.","code":"not_found","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"c50dcb25-235e-476d-ba3d-b4980e0a3b6d":{"description":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","code":"conflict","type":"conflict_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","code":"conflict","type":"conflict_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"406f45e8-3785-49bd-b3a8-94b5483f7c64":{"description":"A field is invalid (`param` names it), or the Idempotency-Key was used with a different request.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Invalid request — name: Field required","code":"validation_error","type":"invalid_request_error","request_id":"3f9a1c2b7d4e","param":"name","errors":[{"type":"missing","loc":["body","name"],"msg":"Field required"}]},"examples":{"Example":{"title":"Example","value":{"detail":"Invalid request — name: Field required","code":"validation_error","type":"invalid_request_error","request_id":"3f9a1c2b7d4e","param":"name","errors":[{"type":"missing","loc":["body","name"],"msg":"Field required"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"71c18930-a52c-41c1-88de-58764bfec265":{"description":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","code":"rate_limited","type":"rate_limit_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","code":"rate_limited","type":"rate_limit_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"feeb97f1-da52-41af-9f62-da9079bc6965":{"description":"Something broke on our side. Retry; credits a run already used are not given back.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Something broke on our side. Retry; credits a run already used are not given back.","code":"internal_error","type":"api_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"Something broke on our side. Retry; credits a run already used are not given back.","code":"internal_error","type":"api_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"1c45b429-87dc-454c-8467-922ff2fe097e":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"vd_sk_...","description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","scopes":[],"schemeName":"ApiKeyAuth"}},"78682034-04bc-4f28-9fea-937c1f205da6":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same API key in the `x-api-key` header.","scopes":[],"schemeName":"ApiKeyHeader"}}},"servers":{"c84457e9-c3bb-411e-99c4-4891ba75f452":{"url":"https://api.valendata.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"vd_sk_...","description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same API key in the `x-api-key` header.","scopes":[],"schemeName":"ApiKeyHeader"},"schema":{"title":"x-api-key","type":"string","description":"The same API key in the `x-api-key` header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"x-api-key"}],"title":"ApiKeyHeader"}]},"originalFileLocation":"openapispec.json"},"subdomain":"valendata","siteName":"Valendata","title":"Cancel a run - Valendata","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-06T08:05:22.892Z","originalFileLocation":"api-reference/runs/cancel.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Stop a queued or running run you started.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Valendata\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cancel a run - Valendata\">\u003cmeta data-mint-head property=\"og:description\" content=\"Stop a queued or running run you started.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Valendata\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.valendata.com/api-reference/runs/cancel\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://valendata.mintlify.site/_mintlify/api/og/v2?division=Runs\u0026amp;title=Cancel+a+run\u0026amp;description=Stop+a+queued+or+running+run+you+started.\u0026amp;theme=60be650521ac305407bb7919\u0026amp;signature=3929654bce69ec77d59022bf5a01b08b5165f1c32cc89d5ecef2447615475507\">\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=\"Cancel a run - Valendata\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Stop a queued or running run you started.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://valendata.mintlify.site/_mintlify/api/og/v2?division=Runs\u0026amp;title=Cancel+a+run\u0026amp;description=Stop+a+queued+or+running+run+you+started.\u0026amp;theme=60be650521ac305407bb7919\u0026amp;signature=3929654bce69ec77d59022bf5a01b08b5165f1c32cc89d5ecef2447615475507\">\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/valendata/XZEEt82cwKhlpZb_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Valendata\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#059669\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.valendata.com/api-reference/runs/cancel\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/runs/cancel.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.valendata.com/#organization\",\"name\":\"Valendata\",\"url\":\"https://docs.valendata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/light.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=a40071ed32459ae366f67671063ec09f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.valendata.com#website\",\"name\":\"Valendata\",\"url\":\"https://docs.valendata.com\",\"publisher\":{\"@id\":\"https://docs.valendata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.valendata.com/api-reference/runs/cancel#webpage\",\"url\":\"https://docs.valendata.com/api-reference/runs/cancel\",\"name\":\"Cancel a run\",\"description\":\"Stop a queued or running run you started.\",\"dateModified\":\"2026-10-06T08:05:22.892Z\",\"isPartOf\":{\"@id\":\"https://docs.valendata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.valendata.com/api-reference/runs/cancel#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.valendata.com/api-reference/runs/cancel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Runs\",\"item\":\"https://docs.valendata.com/api-reference/runs/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cancel a run\",\"item\":\"https://docs.valendata.com/api-reference/runs/cancel\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.valendata.com/api-reference/runs/cancel#apireference\",\"headline\":\"Cancel a run\",\"name\":\"Cancel a run\",\"description\":\"Stop a queued or running run you started.\",\"url\":\"https://docs.valendata.com/api-reference/runs/cancel\",\"mainEntityOfPage\":{\"@id\":\"https://docs.valendata.com/api-reference/runs/cancel#webpage\"},\"dateModified\":\"2026-10-06T08:05:22.892Z\",\"publisher\":{\"@id\":\"https://docs.valendata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.valendata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Valendata\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Valendata\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/runs/cancel.md","siteName":"Valendata","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"API overview","sidebarTitle":"Overview","href":"/api-reference/introduction"},{"title":"Authentication and scopes","href":"/api-reference/authentication"},{"title":"Errors and limits","href":"/api-reference/errors"},{"title":"Pagination and idempotency","href":"/api-reference/pagination-and-idempotency"}]},{"group":"Universal web API","icon":"earth-americas","pages":[{"title":"Universal web API","href":"/api-reference/web-api"}]},{"group":"Skills","icon":"bolt","pages":[{"title":"List skills","openapi":"GET /v1/skills","href":"/api-reference/skills/list"},{"title":"List skill categories","openapi":"GET /v1/skills/categories","href":"/api-reference/skills/list-categories"},{"title":"Create a skill","openapi":"POST /v1/skills","href":"/api-reference/skills/create"},{"title":"Get a skill creation","openapi":"GET /v1/skill-creations/{creation_id}","href":"/api-reference/skills/get-creation"},{"title":"List skill creations","openapi":"GET /v1/skill-creations","href":"/api-reference/skills/list-creations"},{"title":"Cancel a skill creation","api":"POST https://api.valendata.com/v1/skill-creations/{creation_id}/cancel","href":"/api-reference/skills/cancel-creation"},{"title":"Get a skill","openapi":"GET /v1/skills/{slug}","href":"/api-reference/skills/get"},{"title":"Clone a skill","openapi":"POST /v1/skills/{slug}/clone","href":"/api-reference/skills/clone"},{"title":"Update a skill","openapi":"PATCH /v1/skills/{slug}","href":"/api-reference/skills/update"},{"title":"Delete a skill","openapi":"DELETE /v1/skills/{slug}","href":"/api-reference/skills/delete"},{"title":"Delete unused archived skills","openapi":"POST /v1/skills/archived/delete-unused","href":"/api-reference/skills/delete-unused-archived"},{"title":"Get a skill's health","openapi":"GET /v1/skills/{slug}/health","href":"/api-reference/skills/health"},{"title":"Get a skill's speed","openapi":"GET /v1/skills/{slug}/speed","href":"/api-reference/skills/speed"},{"title":"Try a faster tier","openapi":"POST /v1/skills/{slug}/speed/try","href":"/api-reference/skills/try-speed"},{"title":"Get a speed trial","openapi":"GET /v1/skills/{slug}/speed/trials/{trial_id}","href":"/api-reference/skills/get-speed-trial"},{"title":"Use a tier","openapi":"POST /v1/skills/{slug}/speed/use","href":"/api-reference/skills/use-speed"}]},{"group":"Marketplace","icon":"store","pages":[{"title":"Find a skill for a task","openapi":"GET /v1/marketplace/search","href":"/api-reference/marketplace/search"},{"title":"List marketplace categories","openapi":"GET /v1/marketplace/categories","href":"/api-reference/marketplace/list-categories"}]},{"group":"Sites","icon":"globe","pages":[{"title":"List proven sites","api":"GET https://api.valendata.com/v1/sites/proven","href":"/api-reference/sites/list-proven"},{"title":"Get a site","api":"GET https://api.valendata.com/v1/sites/{domain}","href":"/api-reference/sites/get"},{"title":"Create a site request","api":"POST https://api.valendata.com/v1/site-requests","href":"/api-reference/sites/create-request"},{"title":"List your site requests","api":"GET https://api.valendata.com/v1/site-requests/mine","href":"/api-reference/sites/list-requests"},{"title":"Remove your vote","api":"DELETE https://api.valendata.com/v1/site-requests/{request_id}/vote","href":"/api-reference/sites/delete-vote"}]},{"group":"Site APIs","icon":"sitemap","pages":[{"title":"List your site APIs","api":"GET https://api.valendata.com/v1/apis","href":"/api-reference/site-apis/list"},{"title":"Get a site API","api":"GET https://api.valendata.com/v1/apis/{domain}","href":"/api-reference/site-apis/get"},{"title":"Run an endpoint","api":"POST https://api.valendata.com/v1/apis/{domain}/{endpoint_name}/run","href":"/api-reference/site-apis/run"},{"title":"Rename an endpoint","api":"PATCH https://api.valendata.com/v1/apis/{domain}/endpoints/{skill_id}","href":"/api-reference/site-apis/rename-endpoint"},{"title":"Set a site's defaults","api":"PUT https://api.valendata.com/v1/apis/{domain}/defaults","href":"/api-reference/site-apis/update-defaults"}]},{"group":"Runs","icon":"play","pages":[{"title":"List runs","openapi":"GET /v1/runs","href":"/api-reference/runs/list"},{"title":"Run a skill and wait","openapi":"POST /v1/skills/{slug}/run","href":"/api-reference/runs/run-skill"},{"title":"Start a skill run","openapi":"POST /v1/skills/{slug}/runs","href":"/api-reference/runs/start-skill-run"},{"title":"List skill runs","openapi":"GET /v1/skills/{slug}/runs","href":"/api-reference/runs/list-skill-runs"},{"title":"Run a workflow and wait","openapi":"POST /v1/workflows/{slug}/run","href":"/api-reference/runs/run-workflow"},{"title":"Start a workflow run","openapi":"POST /v1/workflows/{slug}/runs","href":"/api-reference/runs/start-workflow-run"},{"title":"List workflow runs","openapi":"GET /v1/workflows/{slug}/runs","href":"/api-reference/runs/list-workflow-runs"},{"title":"Get a run","openapi":"GET /v1/runs/{run_id}","href":"/api-reference/runs/get"},{"title":"Get a run's changes","description":"Every row of a compared skill run that is new, changed, or removed since the run it was compared with.","openapi":"GET /v1/runs/{run_id}/changes","href":"/api-reference/runs/get-changes"},{"title":"Cancel a run","openapi":"POST /v1/runs/{run_id}/cancel","href":"/api-reference/runs/cancel"},{"title":"Resume a run","description":"Carry a failed, paused, or stopped workflow run on from where it ended.","openapi":"POST /v1/runs/{run_id}/resume","href":"/api-reference/runs/resume"},{"title":"Send a sign-in code","openapi":"POST /v1/runs/{run_id}/otp","href":"/api-reference/runs/send-code"}]},{"group":"Batches","icon":"list-check","pages":[{"title":"Estimate a batch","openapi":"POST /v1/skills/{slug}/batches/estimate","href":"/api-reference/batches/estimate"},{"title":"Start a batch","openapi":"POST /v1/skills/{slug}/batches","href":"/api-reference/batches/start"},{"title":"List batches","openapi":"GET /v1/batches","href":"/api-reference/batches/list"},{"title":"Get a batch","openapi":"GET /v1/batches/{batch_id}","href":"/api-reference/batches/get"},{"title":"List a batch's inputs","openapi":"GET /v1/batches/{batch_id}/items","href":"/api-reference/batches/list-items"},{"title":"Get a batch's rows","openapi":"GET /v1/batches/{batch_id}/rows","href":"/api-reference/batches/get-rows"},{"title":"Download a batch's rows as CSV","openapi":"GET /v1/batches/{batch_id}/rows.csv","href":"/api-reference/batches/get-rows-csv"},{"title":"Cancel a batch","openapi":"POST /v1/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel"}]},{"group":"Skill versions","icon":"code-branch","pages":[{"title":"List versions","openapi":"GET /v1/skills/{slug}/versions","href":"/api-reference/versions/list"},{"title":"Compare two versions","openapi":"GET /v1/skills/{slug}/versions/{a}/diff/{b}","href":"/api-reference/versions/diff"},{"title":"Restore a version","openapi":"POST /v1/skills/{slug}/versions/{n}/restore","href":"/api-reference/versions/restore"},{"title":"Pin a version","openapi":"PUT /v1/skills/{slug}/pin","href":"/api-reference/versions/pin"},{"title":"Check for a marketplace update","openapi":"GET /v1/skills/{slug}/marketplace-update","href":"/api-reference/versions/marketplace-update-check"},{"title":"Take a marketplace update","openapi":"POST /v1/skills/{slug}/marketplace-update","href":"/api-reference/versions/marketplace-update-take"},{"title":"Keep your version after a clash","openapi":"POST /v1/skills/{slug}/marketplace-update/keep-mine","href":"/api-reference/versions/marketplace-update-keep-mine"},{"title":"Take the original's version after a clash","openapi":"POST /v1/skills/{slug}/marketplace-update/use-theirs","href":"/api-reference/versions/marketplace-update-use-theirs"},{"title":"Set automatic marketplace updates","openapi":"PUT /v1/skills/{slug}/marketplace-update/settings","href":"/api-reference/versions/marketplace-update-settings"}]},{"group":"Improvements","icon":"wrench","pages":[{"title":"Improve a skill","openapi":"POST /v1/skills/{slug}/improve","href":"/api-reference/improvements/improve"},{"title":"Get an improvement","openapi":"GET /v1/skill-improvements/{improvement_id}","href":"/api-reference/improvements/get"},{"title":"List a skill's improvements","openapi":"GET /v1/skills/{slug}/improvements","href":"/api-reference/improvements/list"},{"title":"Talk to a skill","openapi":"POST /v1/skills/{slug}/doctor","href":"/api-reference/improvements/talk"},{"title":"Read a skill's chat","openapi":"GET /v1/skills/{slug}/doctor","href":"/api-reference/improvements/chat"},{"title":"Stop a skill's doctor","openapi":"POST /v1/skills/{slug}/doctor/stop","href":"/api-reference/improvements/stop"}]},{"group":"Schedules","icon":"clock","pages":[{"title":"List schedules","openapi":"GET /v1/schedules","href":"/api-reference/schedules/list"},{"title":"Get a schedule","openapi":"GET /v1/schedules/{schedule_id}","href":"/api-reference/schedules/get"},{"title":"List a skill's schedules","openapi":"GET /v1/skills/{slug}/schedules","href":"/api-reference/schedules/list-skill-schedules"},{"title":"Schedule a skill","openapi":"POST /v1/skills/{slug}/schedules","href":"/api-reference/schedules/create-skill-schedule"},{"title":"List a workflow's schedules","openapi":"GET /v1/workflows/{slug}/schedules","href":"/api-reference/schedules/list-workflow-schedules"},{"title":"Schedule a workflow","openapi":"POST /v1/workflows/{slug}/schedules","href":"/api-reference/schedules/create-workflow-schedule"},{"title":"Update a schedule","openapi":"PATCH /v1/schedules/{schedule_id}","href":"/api-reference/schedules/update"},{"title":"Delete a schedule","openapi":"DELETE /v1/schedules/{schedule_id}","href":"/api-reference/schedules/delete"}]},{"group":"Workflows","icon":"diagram-project","pages":[{"title":"List workflows","openapi":"GET /v1/workflows","href":"/api-reference/workflows/list"},{"title":"Create a workflow","openapi":"POST /v1/workflows","href":"/api-reference/workflows/create"},{"title":"Get a workflow","openapi":"GET /v1/workflows/{slug}","href":"/api-reference/workflows/get"},{"title":"Clone a workflow","openapi":"POST /v1/workflows/{slug}/clone","href":"/api-reference/workflows/clone"},{"title":"Update a workflow","openapi":"PATCH /v1/workflows/{slug}","href":"/api-reference/workflows/update"},{"title":"Delete a workflow","openapi":"DELETE /v1/workflows/{slug}","href":"/api-reference/workflows/delete"},{"title":"Read a workflow's chat","openapi":"GET /v1/workflows/{slug}/doctor","href":"/api-reference/workflows/chat"},{"title":"Talk to a workflow","openapi":"POST /v1/workflows/{slug}/doctor","href":"/api-reference/workflows/talk"},{"title":"Stop a workflow's doctor","openapi":"POST /v1/workflows/{slug}/doctor/stop","href":"/api-reference/workflows/stop-doctor"}]},{"group":"Workflow versions","pages":[{"title":"List workflow versions","openapi":"GET /v1/workflows/{slug}/versions","href":"/api-reference/workflow-versions/list"},{"title":"Compare two workflow versions","openapi":"GET /v1/workflows/{slug}/versions/{a}/diff/{b}","href":"/api-reference/workflow-versions/diff"},{"title":"Restore a workflow version","openapi":"POST /v1/workflows/{slug}/versions/{n}/restore","href":"/api-reference/workflow-versions/restore"}]},{"group":"Workflow triggers","icon":"bolt-lightning","pages":[{"title":"Create a workflow webhook","openapi":"POST /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-create"},{"title":"Get a workflow webhook","openapi":"GET /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-get"},{"title":"Update a workflow webhook","openapi":"PATCH /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-update"},{"title":"Rotate a workflow webhook","openapi":"POST /v1/workflows/{slug}/webhook/rotate","href":"/api-reference/workflow-triggers/webhook-rotate"},{"title":"List a workflow webhook's deliveries","openapi":"GET /v1/workflows/{slug}/webhook/deliveries","href":"/api-reference/workflow-triggers/webhook-deliveries"},{"title":"Delete a workflow webhook","openapi":"DELETE /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-delete"},{"title":"Start a workflow on an app event","openapi":"PUT /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-set"},{"title":"Get a workflow's app event","openapi":"GET /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-get"},{"title":"Pause or resume a workflow's app event","openapi":"PATCH /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-update"},{"title":"Remove a workflow's app event","openapi":"DELETE /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-delete"}]},{"group":"Logins","icon":"key","pages":[{"title":"List logins","openapi":"GET /v1/logins","href":"/api-reference/logins/list"},{"title":"Create a login","openapi":"POST /v1/logins","href":"/api-reference/logins/create"},{"title":"Get a login","openapi":"GET /v1/logins/{login_id}","href":"/api-reference/logins/get"},{"title":"Update a login","openapi":"PATCH /v1/logins/{login_id}","href":"/api-reference/logins/update"},{"title":"Delete a login","openapi":"DELETE /v1/logins/{login_id}","href":"/api-reference/logins/delete"},{"title":"List browser profiles","openapi":"GET /v1/profiles","href":"/api-reference/logins/list-profiles"},{"title":"Get a question card","openapi":"GET /v1/questions/{card_id}","href":"/api-reference/logins/get-question"},{"title":"Answer a question card","openapi":"POST /v1/questions/{card_id}/answer","href":"/api-reference/logins/answer-question"},{"title":"Send a code for a login","openapi":"POST /v1/logins/{login_id}/code","href":"/api-reference/logins/send-code"}]},{"group":"Connected apps","icon":"plug","pages":[{"title":"List apps","openapi":"GET /v1/apps","href":"/api-reference/apps/list"},{"title":"List connected apps","openapi":"GET /v1/apps/connected","href":"/api-reference/apps/list-connected"},{"title":"Get an app","openapi":"GET /v1/apps/{app}","href":"/api-reference/apps/get"},{"title":"Disconnect an app","openapi":"DELETE /v1/apps/{app}/connection","href":"/api-reference/apps/disconnect"},{"title":"List an app's connections","openapi":"GET /v1/apps/{app}/connections","href":"/api-reference/apps/list-connections"},{"title":"Disconnect one connection","openapi":"DELETE /v1/apps/{app}/connections/{connection_id}","href":"/api-reference/apps/disconnect-connection"},{"title":"List an app's tools","openapi":"GET /v1/apps/{app}/tools","href":"/api-reference/apps/list-tools"},{"title":"Run an app tool","openapi":"POST /v1/apps/{app}/tools/{tool}/run","href":"/api-reference/apps/run-tool"}]},{"group":"Follow-ups","icon":"hourglass-half","pages":[{"title":"Create a follow-up","openapi":"POST /v1/followups","href":"/api-reference/followups/create"},{"title":"List follow-ups","openapi":"GET /v1/followups","href":"/api-reference/followups/list"},{"title":"Get a follow-up","openapi":"GET /v1/followups/{followup_id}","href":"/api-reference/followups/get"},{"title":"Cancel a follow-up","openapi":"POST /v1/followups/{followup_id}/cancel","href":"/api-reference/followups/cancel"}]},{"group":"Background jobs","icon":"layer-group","pages":[{"title":"Start background jobs","openapi":"POST /v1/jobs","href":"/api-reference/jobs/start"},{"title":"List background jobs","openapi":"GET /v1/jobs","href":"/api-reference/jobs/list"},{"title":"Get a background job","openapi":"GET /v1/jobs/{job_id}","href":"/api-reference/jobs/get"},{"title":"Cancel a background job","openapi":"POST /v1/jobs/{job_id}/cancel","href":"/api-reference/jobs/cancel"}]},{"group":"Notes","icon":"note-sticky","pages":[{"title":"List notes","openapi":"GET /v1/notes","href":"/api-reference/notes/list"},{"title":"Create a note","openapi":"POST /v1/notes","href":"/api-reference/notes/create"},{"title":"Get a note","openapi":"GET /v1/notes/{note_id}","href":"/api-reference/notes/get"},{"title":"Update a note","openapi":"PATCH /v1/notes/{note_id}","href":"/api-reference/notes/update"},{"title":"Delete a note","openapi":"DELETE /v1/notes/{note_id}","href":"/api-reference/notes/delete"}]},{"group":"Account and usage","icon":"user","pages":[{"title":"Get your account","openapi":"GET /v1/account","href":"/api-reference/account/get"},{"title":"Get usage","openapi":"GET /v1/usage","href":"/api-reference/account/usage"},{"title":"Get the sign-up email default","openapi":"GET /v1/account/signup-email","href":"/api-reference/account/get-signup-email"},{"title":"Set the sign-up email default","openapi":"PUT /v1/account/signup-email","href":"/api-reference/account/set-signup-email"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"About webhooks","href":"/api-reference/webhooks/overview"},{"title":"Get the signing secret","openapi":"GET /v1/webhooks/secret","href":"/api-reference/webhooks/secret"},{"title":"Rotate the signing secret","openapi":"POST /v1/webhooks/secret/rotate","href":"/api-reference/webhooks/rotate-secret"}]}]}]},"basePath":"","title":"Cancel a run - Valendata","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","Page-DuqezyvM.js","CodeSnippet-B373COAT.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","getApiPlaygroundDisplay-CfL-UuDS.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}