{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stably","colors":{"primary":"#0066cc","light":"#3399ff","dark":"#004d99"},"logo":{"light":"https://mintcdn.com/stablyai/HGhEi1a2gNHuIFZi/logo/light.svg?fit=max\u0026auto=format\u0026n=HGhEi1a2gNHuIFZi\u0026q=85\u0026s=4449322f578b7c41cb15e23b398757fd","dark":"https://mintcdn.com/stablyai/HGhEi1a2gNHuIFZi/logo/dark.svg?fit=max\u0026auto=format\u0026n=HGhEi1a2gNHuIFZi\u0026q=85\u0026s=bff755e60e3feac9a76d40bae799f3a4","href":"https://stably.ai"},"favicon":"https://mintcdn.com/stablyai/i-3R7StXQiwq74f4/favicon.svg?fit=max\u0026auto=format\u0026n=i-3R7StXQiwq74f4\u0026q=85\u0026s=22bacb181d3d08f311f19036b62cf3e2","navbar":{"links":[{"href":"mailto:jinjing@stably.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.stably.ai"}},"footer":{"socials":{"x":"https://twitter.com/stablyai","github":"https://github.com/stablyai","linkedin":"https://www.linkedin.com/company/stablyai"}},"seo":{"metatags":{"og:title":"Stably - AI-native Testing Platform","og:description":"Comprehensive documentation for Stably, the AI-native testing framework that tests any application and prevents bugs with intelligent test automation.","og:type":"website","og:site_name":"Stably Documentation","twitter:site":"@stablyai","twitter:site:domain":"stably.ai","x:site":"@stablyai","x:site:domain":"stably.ai","apple-mobile-web-app-title":"Stably Docs"},"indexing":"navigable"},"contextual":{"options":["copy","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stablyai","hasAudioNarration":false,"actualSubdomain":"stablyai","customDomains":["docs.stably.ai"],"gitSource":{"type":"github","owner":"stablyai","repo":"mintlify-docs","deployBranch":"master","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a266e3bdf569dc0dab12145","collectionId":"42c18627-465f-4567-9eb8-f1cc8ce323ff","schemaVersion":"v3"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6a266e3bdf569dc0dab12145:success","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Documentation","count":57},{"language":"default","tag":"Guides","count":22},{"language":"default","tag":"Stably SDK","count":14},{"language":"default","tag":"Stably CLI","count":9},{"language":"default","tag":"Troubleshooting","count":8},{"language":"default","tag":"Stably Web Editor","count":7},{"language":"default","tag":"API Reference","count":5},{"language":"default","tag":"Anti-Bot Detection","count":5},{"language":"default","tag":"Resources","count":4},{"language":"default","tag":"Configuration","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/runner/cancel-a-test-run","slug":"/api-reference/runner/cancel-a-test-run","pageMetadata":{"title":"Cancel a test run","description":"Cancel a test run. The run must be in QUEUED or RUNNING status. If the run has a container, the container will be stopped.","deprecated":null,"version":null,"openapi":"https://api.stably.ai/openapi.json post /v1/projects/{projectId}/runs/cancel","href":"/api-reference/runner/cancel-a-test-run","autogeneratedByOpenApi":true},"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: \"Cancel a test run. The run must be in QUEUED or RUNNING status. If the run has a container, the container will be stopped.\"\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":"Cancel a test run","description":"Cancel a test run. The run must be in QUEUED or RUNNING status. If the run has a container, the container will be stopped.","deprecated":null,"version":null,"openapi":"https://api.stably.ai/openapi.json post /v1/projects/{projectId}/runs/cancel","href":"/api-reference/runner/cancel-a-test-run","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Cancel a test run","tags":["runner"],"description":"Cancel a test run. The run must be in QUEUED or RUNNING status. If the run has a container, the container will be stopped.","requestBody":"907fcaf8-536b-497b-a7a0-e52a22342945","parameters":["5b2c4ebe-38a7-4364-bc49-40a162d229a2"],"security":["30a96d7c-21f7-4576-9b4f-912b85c79f9b"],"responses":{"200":"1d74d067-0ae0-400e-8539-25d930c259d1","400":"795bb512-e232-4374-b7f6-ed4fc25e70b4","401":"ef7fde46-ebf4-4f23-a14d-b5445e9ef2b3"},"method":"post","type":"path","servers":["dd51ef2c-6bc8-4d3b-86dd-df8c31c1f51a"],"path":"/v1/projects/{projectId}/runs/cancel","baseUrlOptions":["https://api.stably.ai"],"title":"Cancel a test run","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"5b2c4ebe-38a7-4364-bc49-40a162d229a2":{"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"in":"path","name":"projectId","required":true}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"where":{"type":"object","properties":{"runId":{"type":"string","description":"ID of the run to cancel","isRequired":true,"uniqueKey":"where.runId","typeLabel":"string"}},"required":["runId"],"isRequired":true,"uniqueKey":"where","typeLabel":"object"}},"required":["where"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"where":{"runId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"1d74d067-0ae0-400e-8539-25d930c259d1":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"cancelled":{"type":"array","items":{"type":"object","properties":{"runId":{"type":"string","description":"ID of the cancelled run","isRequired":true,"uniqueKey":"cancelled.items.[INDEX].runId","typeLabel":"string"}},"required":["runId"],"additionalProperties":false,"uniqueKey":"cancelled.items.[INDEX]","typeLabel":"object"},"description":"List of cancelled runs","isRequired":true,"uniqueKey":"cancelled","typeLabel":"object[]"}},"required":["cancelled"],"additionalProperties":false,"description":"Run was cancelled","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"cancelled":[{"runId":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"795bb512-e232-4374-b7f6-ed4fc25e70b4":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"additionalProperties":false,"description":"Bad request","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ef7fde46-ebf4-4f23-a14d-b5445e9ef2b3":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"additionalProperties":false,"description":"Unauthorized","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"30a96d7c-21f7-4576-9b4f-912b85c79f9b":{"apiKey":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"dd51ef2c-6bc8-4d3b-86dd-df8c31c1f51a":{"url":"https://api.stably.ai","description":"Production Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"https://api.stably.ai/openapi.json"},"subdomain":"stablyai","siteName":"Stably","title":"Stably - AI-native Testing Platform","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-09T19:59:37.202Z","originalFileLocation":"api-reference/runner/cancel-a-test-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=\"Cancel a test run. The run must be in QUEUED or RUNNING status. If the run has a container, the container will be stopped.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stably\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_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/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stablyai/6Y6TRJsMUUpTybR_/_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/stablyai/6Y6TRJsMUUpTybR_/_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/stablyai/6Y6TRJsMUUpTybR_/_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/stablyai/6Y6TRJsMUUpTybR_/_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/stablyai/6Y6TRJsMUUpTybR_/_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/stablyai/6Y6TRJsMUUpTybR_/_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/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Stably - AI-native Testing Platform\">\u003cmeta data-mint-head property=\"og:description\" content=\"Comprehensive documentation for Stably, the AI-native testing framework that tests any application and prevents bugs with intelligent test automation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stably Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stablyai.mintlify.app/_mintlify/api/og/v2?division=Test+Run\u0026amp;title=Cancel+a+test+run\u0026amp;description=Cancel+a+test+run.+The+run+must+be+in+QUEUED+or+RUNNING+status.+If+the+run+has+a+container%2C+the+container+will+be+stopped.\u0026amp;theme=5777d4bd1a7aa93123ab1320\u0026amp;signature=f3ba37e666986c2ee26f0c2b335d71eeb1fce94f65084bebe4c0e33a527598d5\">\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=\"Stably - AI-native Testing Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Comprehensive documentation for Stably, the AI-native testing framework that tests any application and prevents bugs with intelligent test automation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stablyai.mintlify.app/_mintlify/api/og/v2?division=Test+Run\u0026amp;title=Cancel+a+test+run\u0026amp;description=Cancel+a+test+run.+The+run+must+be+in+QUEUED+or+RUNNING+status.+If+the+run+has+a+container%2C+the+container+will+be+stopped.\u0026amp;theme=5777d4bd1a7aa93123ab1320\u0026amp;signature=f3ba37e666986c2ee26f0c2b335d71eeb1fce94f65084bebe4c0e33a527598d5\">\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/stablyai/6Y6TRJsMUUpTybR_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stably Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0066cc\">\u003cmeta data-mint-head name=\"twitter:site:domain\" content=\"stably.ai\">\u003cmeta data-mint-head name=\"x:site\" content=\"@stablyai\">\u003cmeta data-mint-head name=\"x:site:domain\" content=\"stably.ai\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/runner/cancel-a-test-run.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stably.ai/#organization\",\"name\":\"Stably\",\"url\":\"https://docs.stably.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stablyai/HGhEi1a2gNHuIFZi/logo/light.svg?fit=max\u0026auto=format\u0026n=HGhEi1a2gNHuIFZi\u0026q=85\u0026s=4449322f578b7c41cb15e23b398757fd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stably.ai#website\",\"name\":\"Stably\",\"url\":\"https://docs.stably.ai\",\"publisher\":{\"@id\":\"https://docs.stably.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run#webpage\",\"url\":\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run\",\"name\":\"Cancel a test run\",\"description\":\"Cancel a test run. The run must be in QUEUED or RUNNING status. If the run has a container, the container will be stopped.\",\"dateModified\":\"2026-04-09T19:59:37.202Z\",\"isPartOf\":{\"@id\":\"https://docs.stably.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Test Run\",\"item\":\"https://docs.stably.ai/api-reference/runner/start-a-test-run\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cancel a test run\",\"item\":\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run#apireference\",\"headline\":\"Cancel a test run\",\"name\":\"Cancel a test run\",\"description\":\"Cancel a test run. The run must be in QUEUED or RUNNING status. If the run has a container, the container will be stopped.\",\"url\":\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stably.ai/api-reference/runner/cancel-a-test-run#webpage\"},\"dateModified\":\"2026-04-09T19:59:37.202Z\",\"publisher\":{\"@id\":\"https://docs.stably.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stably.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stably\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Stably","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/getting-started/quickstart"}]},{"anchor":"API Reference","icon":"code","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Test Run","icon":"sparkle","pages":[{"title":"Start a test run","deprecated":null,"version":null,"openapi":"https://api.stably.ai/openapi.json post /v1/projects/{projectId}/runs","href":"/api-reference/runner/start-a-test-run"},{"title":"Get test run status and results","description":"Get the status and results of a test run","deprecated":null,"version":null,"openapi":"https://api.stably.ai/openapi.json get /v1/projects/{projectId}/runs/{runId}","href":"/api-reference/runner/get-test-run-status-and-results"},{"title":"Cancel a test run","deprecated":null,"version":null,"openapi":"https://api.stably.ai/openapi.json post /v1/projects/{projectId}/runs/cancel","href":"/api-reference/runner/cancel-a-test-run"}]}]},{"anchor":"Guides","icon":"book-bookmark","pages":[{"title":"Guides","href":"/use-cases/verify-with-ai-agents"}]}]},"title":"Stably - AI-native Testing Platform","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}