{
"detail": "Prompt run cancellation is temporarily unavailable. Try again."
}
Prompts
Cancel a prompt run
Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in progress.cancelled. Repeating this request for an already-cancelled run is safe.
POST
/
v2
/
prompts
/
runs
/
{run_id}
/
cancel
Cancel a prompt run
curl --request POST \ --url https://api.lightsage.com/v2/prompts/runs/{run_id}/cancel \ --header 'X-Lightsage-Api-Key: <api-key>'
Can be set while status is still summarizing; use status to detect completion.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lightsage","colors":{"primary":"#0EA5E9","light":"#38BDF8","dark":"#0284C7"},"logo":{"light":"https://mintcdn.com/sapient-14d4e375/0RQiSxJPQv6MyuZt/images/lightsage-logo-with-text-light.svg?fit=max\u0026auto=format\u0026n=0RQiSxJPQv6MyuZt\u0026q=85\u0026s=843d0563baa54c778891f942711ab938","dark":"https://mintcdn.com/sapient-14d4e375/0RQiSxJPQv6MyuZt/images/lightsage-logo-with-text-dark.svg?fit=max\u0026auto=format\u0026n=0RQiSxJPQv6MyuZt\u0026q=85\u0026s=0ec933f6e5153f8392cb4c5f19b7017f"},"favicon":"https://mintcdn.com/sapient-14d4e375/lnqlKs8p_hzadcGt/images/favicon.png?fit=max\u0026auto=format\u0026n=lnqlKs8p_hzadcGt\u0026q=85\u0026s=358b3be56f25189cd6d5417fd300fefc","background":{"color":{"light":"#FFFFFF","dark":"#0D0C0C"}},"navbar":{"links":[{"href":"https://lightsage.com","label":"Homepage"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.lightsage.com"}},"seo":{"indexing":"all"},"fonts":{"family":"Geist"},"integrations":{"ga4":{"measurementId":"G-417S0EJVMS"},"posthog":{"apiKey":"phc_yrA1TjjqeYfsoJEofjxd0Bw7cTrxs8N402k3NwusII7"}},"contextual":{"options":["copy","chatgpt","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sapient-14d4e375","hasAudioNarration":false,"actualSubdomain":"sapient-14d4e375","customDomains":["lightsage.com"],"gitSource":{"type":"github","owner":"lightsagehq","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae02c324c09e96410641fcb","collectionId":"82419905-7508-4f98-a30d-d180f437b2ae","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae02c324c09e96410641fcb"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae104f904ad391b285c6ba3","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API Reference","count":76},{"language":"default","tag":"CLI Reference","count":18},{"language":"default","tag":"Evals","count":14},{"language":"default","tag":"Prompts","count":14},{"language":"default","tag":"Documentation","count":13},{"language":"default","tag":"Visibility","count":13},{"language":"default","tag":"MCP Reference","count":10},{"language":"default","tag":"Clients","count":9},{"language":"default","tag":"Agent Preference","count":8},{"language":"default","tag":"Agent Analytics","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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}],"isAtlas":false,"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/prompts/cancel-a-prompt-run","slug":"/api-reference/prompts/cancel-a-prompt-run","pageMetadata":{"title":"Cancel a prompt run","description":"Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in `progress.cancelled`. Repeating this request for an already-cancelled run is safe.","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/prompts/runs/{run_id}/cancel","href":"/api-reference/prompts/cancel-a-prompt-run","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in \", _jsx(_components.code, {\n children: \"progress.cancelled\"\n }), \". Repeating this request for an already-cancelled run is safe.\"]\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 prompt run","description":"Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in `progress.cancelled`. Repeating this request for an already-cancelled run is safe.","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/prompts/runs/{run_id}/cancel","href":"/api-reference/prompts/cancel-a-prompt-run","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Prompts"],"summary":"Cancel a prompt run","description":"Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in `progress.cancelled`. Repeating this request for an already-cancelled run is safe.","operationId":"v2_prompt_runs_cancel","security":["629348c3-4476-413e-ae0b-3481247e7ff1"],"parameters":["4d80ffde-f8b9-49fd-adb1-f9f1d4e884a3"],"responses":{"200":"5c6d81a6-dccc-41a8-bfab-9cbd9958d483","400":"513a6149-909b-4b0f-a7da-62579eda9f38","404":"eb8b7992-0867-4e0c-b01b-6a9a9fd46361","409":"12af750e-c9a9-445a-87b1-0a8761bbc45d","422":"f1a2e20d-9a5e-4ff7-934d-33dbe7d7d3c2","503":"1d35d06d-4b41-44ec-a097-3dd707979835"},"x-speakeasy-group":"prompts","x-speakeasy-name-override":"run_cancel","method":"post","type":"path","servers":["87da44d8-880e-455f-bbb0-8e371935d6c7"],"path":"/v2/prompts/runs/{run_id}/cancel","baseUrlOptions":["https://api.lightsage.com"],"title":"Cancel a prompt run","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4d80ffde-f8b9-49fd-adb1-f9f1d4e884a3":{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id","isRequired":true,"description":"Run ID returned by `POST /v2/prompts/runs`, not a stored prompt result ID.","uniqueKey":"","typeLabel":"string"},"description":"Run ID returned by `POST /v2/prompts/runs`, not a stored prompt result ID."}},"responses":{"5c6d81a6-dccc-41a8-bfab-9cbd9958d483":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id","description":"Run ID to poll with `GET /v2/prompts/runs/{run_id}/status`.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"job_id":{"type":"string","title":"Job Id","description":"Parent job ID. It currently matches `id`.","isRequired":true,"uniqueKey":"job_id","typeLabel":"string"},"type":{"type":"string","const":"prompts","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"source_type":{"type":"string","const":"prompts","title":"Source Type","isRequired":true,"uniqueKey":"source_type","typeLabel":"string"},"status":{"oneOf":[{"type":"string","title":"Status","description":"Terminal values: `completed`, `failed`, and `cancelled`. Recoverable interruptions are reported as `running` with stage `retrying`.","enum":["pending","running","summarizing","completed","failed","cancelled","interrupted"],"isRequired":true,"uniqueKey":"status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Status","description":"Terminal values: `completed`, `failed`, and `cancelled`. Recoverable interruptions are reported as `running` with stage `retrying`.","isRequired":true,"uniqueKey":"status.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring> | string"},"stage":{"oneOf":[{"type":"string","title":"Stage","description":"Current lifecycle stage, including `retrying` while interrupted child jobs wait to be reclaimed.","uniqueKey":"stage.oneOf.0","typeLabel":"string"},{"type":"null","title":"Stage","description":"Current lifecycle stage, including `retrying` while interrupted child jobs wait to be reclaimed.","uniqueKey":"stage.oneOf.1","typeLabel":"null"}],"uniqueKey":"stage","typeLabel":"string | null"},"dispatch_id":{"oneOf":[{"type":"string","title":"Dispatch Id","uniqueKey":"dispatch_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Dispatch Id","uniqueKey":"dispatch_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"dispatch_id","typeLabel":"string | null"},"progress":{"properties":{"total":{"type":"integer","title":"Total","default":0,"uniqueKey":"progress.total","typeLabel":"integer"},"queued":{"type":"integer","title":"Queued","default":0,"uniqueKey":"progress.queued","typeLabel":"integer"},"running":{"type":"integer","title":"Running","default":0,"uniqueKey":"progress.running","typeLabel":"integer"},"completed":{"type":"integer","title":"Completed","default":0,"uniqueKey":"progress.completed","typeLabel":"integer"},"failed":{"type":"integer","title":"Failed","default":0,"uniqueKey":"progress.failed","typeLabel":"integer"},"cancelled":{"type":"integer","title":"Cancelled","default":0,"uniqueKey":"progress.cancelled","typeLabel":"integer"},"retrying":{"type":"integer","title":"Retrying","description":"Recoverable child jobs waiting to be retried. These remain active and are excluded from `percent`.","default":0,"uniqueKey":"progress.retrying","typeLabel":"integer"},"interrupted":{"type":"integer","title":"Interrupted","description":"Deprecated compatibility alias for `retrying`; use `retrying`.","default":0,"deprecated":true,"uniqueKey":"progress.interrupted","typeLabel":"integer"},"percent":{"type":"number","title":"Percent","description":"The percentage of child jobs in a final state (`completed`, `failed`, or `cancelled`). It can reach `100` while the parent job is still summarizing, so use `status` to detect completion.","default":0,"uniqueKey":"progress.percent","typeLabel":"number"}},"type":"object","title":"PublicEvalRunProgress","uniqueKey":"progress","typeLabel":"PublicEvalRunProgress · object"},"estimated_cost":{"oneOf":[{"type":"number","title":"Estimated Cost","description":"The estimated credit cost for prompt jobs or estimated USD cost for API Performance jobs. Null when no estimate is available.","uniqueKey":"estimated_cost.oneOf.0","typeLabel":"number"},{"type":"null","title":"Estimated Cost","description":"The estimated credit cost for prompt jobs or estimated USD cost for API Performance jobs. Null when no estimate is available.","uniqueKey":"estimated_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"estimated_cost","typeLabel":"number | null"},"eval_count":{"oneOf":[{"type":"integer","title":"Eval Count","uniqueKey":"eval_count.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Eval Count","uniqueKey":"eval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"eval_count","typeLabel":"integer | null"},"model_count":{"oneOf":[{"type":"integer","title":"Model Count","uniqueKey":"model_count.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Model Count","uniqueKey":"model_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"model_count","typeLabel":"integer | null"},"error":{"oneOf":[{"type":"string","title":"Error","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","uniqueKey":"created_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Created At","uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_at","typeLabel":"string | null"},"started_at":{"oneOf":[{"type":"string","title":"Started At","uniqueKey":"started_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Started At","uniqueKey":"started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"started_at","typeLabel":"string | null"},"completed_at":{"oneOf":[{"type":"string","title":"Completed At","description":"Can be set while `status` is still `summarizing`; use `status` to detect completion.","uniqueKey":"completed_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Completed At","description":"Can be set while `status` is still `summarizing`; use `status` to detect completion.","uniqueKey":"completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"completed_at","typeLabel":"string | null"}},"type":"object","required":["id","job_id","type","source_type","status"],"title":"V2PromptRunJobResponse","uniqueKey":"","typeLabel":"V2PromptRunJobResponse · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","job_id":"\u003cstring>","type":"prompts","source_type":"prompts","status":"pending","stage":"\u003cstring>","dispatch_id":"\u003cstring>","progress":{"total":0,"queued":0,"running":0,"completed":0,"failed":0,"cancelled":0,"retrying":0,"interrupted":0,"percent":0},"estimated_cost":123,"eval_count":123,"model_count":123,"error":"\u003cstring>","created_at":"\u003cstring>","started_at":"\u003cstring>","completed_at":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"513a6149-909b-4b0f-a7da-62579eda9f38":{"description":"The prompt run ID is not a valid UUID.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Invalid ID format"},"examples":{"Example":{"title":"Example","value":{"detail":"Invalid ID format"}}},"exampleType":"examples"}},"exampleType":"examples"},"eb8b7992-0867-4e0c-b01b-6a9a9fd46361":{"description":"Prompt run not found. Use the run ID returned when you started the prompt run.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Prompt run not found. Use the run ID returned when you started the prompt run."},"examples":{"Example":{"title":"Example","value":{"detail":"Prompt run not found. Use the run ID returned when you started the prompt run."}}},"exampleType":"examples"}},"exampleType":"examples"},"12af750e-c9a9-445a-87b1-0a8761bbc45d":{"description":"The prompt run has already completed or failed.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Prompt run cannot be cancelled after it has completed or failed."},"examples":{"Example":{"title":"Example","value":{"detail":"Prompt run cannot be cancelled after it has completed or failed."}}},"exampleType":"examples"}},"exampleType":"examples"},"f1a2e20d-9a5e-4ff7-934d-33dbe7d7d3c2":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"1d35d06d-4b41-44ec-a097-3dd707979835":{"description":"Prompt run cancellation is temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Prompt run cancellation is temporarily unavailable. Try again."},"examples":{"Example":{"title":"Example","value":{"detail":"Prompt run cancellation is temporarily unavailable. Try again."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"629348c3-4476-413e-ae0b-3481247e7ff1":{"LightsageApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Lightsage-Api-Key","scopes":[],"schemeName":"LightsageApiKeyAuth"}}},"servers":{"87da44d8-880e-455f-bbb0-8e371935d6c7":{"url":"https://api.lightsage.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Lightsage-Api-Key","scopes":[],"schemeName":"LightsageApiKeyAuth"},"schema":{"title":"X-Lightsage-Api-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"LightsageApiKeyAuth","name":"X-Lightsage-Api-Key"}],"title":"LightsageApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"sapient-14d4e375","siteName":"Lightsage","title":"Cancel a prompt run - Lightsage","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T20:09:36.521Z","originalFileLocation":"api-reference/prompts/cancel-a-prompt-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=\"Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in progress.cancelled. Repeating this request for an already-cancelled run is safe.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lightsage\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_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=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cancel a prompt run - Lightsage\">\u003cmeta data-mint-head property=\"og:description\" content=\"Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in progress.cancelled. Repeating this request for an already-cancelled run is safe.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lightsage\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sapient-14d4e375.mintlify.app/_mintlify/api/og/v2?division=Prompts\u0026amp;title=Cancel+a+prompt+run\u0026amp;description=Marks+an+active+prompt+run+as+cancelled+and+prevents+queued+prompts+from+starting.+Running+coding-agent+attempts+are+stopped+asynchronously.+Requests+already+se\u0026amp;theme=dd8ce0054346ff07fc865000\u0026amp;signature=5daf583e008ca14f454223b87224c11b97370fdd13b8a2d381852052fb7d5727\">\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 prompt run - Lightsage\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in progress.cancelled. Repeating this request for an already-cancelled run is safe.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sapient-14d4e375.mintlify.app/_mintlify/api/og/v2?division=Prompts\u0026amp;title=Cancel+a+prompt+run\u0026amp;description=Marks+an+active+prompt+run+as+cancelled+and+prevents+queued+prompts+from+starting.+Running+coding-agent+attempts+are+stopped+asynchronously.+Requests+already+se\u0026amp;theme=dd8ce0054346ff07fc865000\u0026amp;signature=5daf583e008ca14f454223b87224c11b97370fdd13b8a2d381852052fb7d5727\">\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=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lightsage\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0EA5E9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/prompts/cancel-a-prompt-run.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://lightsage.com/#organization\",\"name\":\"Lightsage\",\"url\":\"https://lightsage.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sapient-14d4e375/0RQiSxJPQv6MyuZt/images/lightsage-logo-with-text-light.svg?fit=max\u0026auto=format\u0026n=0RQiSxJPQv6MyuZt\u0026q=85\u0026s=843d0563baa54c778891f942711ab938\"}},{\"@type\":\"WebSite\",\"@id\":\"https://lightsage.com/docs#website\",\"name\":\"Lightsage\",\"url\":\"https://lightsage.com/docs\",\"publisher\":{\"@id\":\"https://lightsage.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run#webpage\",\"url\":\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run\",\"name\":\"Cancel a prompt run\",\"description\":\"Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in progress.cancelled. Repeating this request for an already-cancelled run is safe.\",\"dateModified\":\"2026-10-27T20:09:36.521Z\",\"isPartOf\":{\"@id\":\"https://lightsage.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prompts\",\"item\":\"https://lightsage.com/docs/api-reference/prompts/list-prompts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cancel a prompt run\",\"item\":\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run#apireference\",\"headline\":\"Cancel a prompt run\",\"name\":\"Cancel a prompt run\",\"description\":\"Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in progress.cancelled. Repeating this request for an already-cancelled run is safe.\",\"url\":\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run\",\"mainEntityOfPage\":{\"@id\":\"https://lightsage.com/docs/api-reference/prompts/cancel-a-prompt-run#webpage\"},\"dateModified\":\"2026-10-27T20:09:36.521Z\",\"publisher\":{\"@id\":\"https://lightsage.com/#organization\"},\"isPartOf\":{\"@id\":\"https://lightsage.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lightsage\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Lightsage","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"CLI Reference","pages":[{"title":"CLI Reference","href":"/cli-reference"}]},{"tab":"MCP Reference","pages":[{"title":"MCP Reference","href":"/mcp-reference"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","sidebarTitle":"Overview","icon":"code","href":"/api-reference/introduction"}]},{"group":"Status","pages":[{"title":"Get Status","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/status","href":"/api-reference/status/get-status"},{"title":"Get Auth Status","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/auth/status","href":"/api-reference/status/get-auth-status"}]},{"group":"Visibility","pages":[{"title":"Retrieve Current Visibility","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/visibility/current","href":"/api-reference/visibility/retrieve-current-visibility"},{"title":"Retrieve Visibility Overview","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/visibility/overview","href":"/api-reference/visibility/retrieve-visibility-overview"},{"title":"List Top Cited Urls","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/visibility/citations","href":"/api-reference/visibility/list-top-cited-urls"},{"title":"Retrieve Prompt Visibility Report","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/visibility/prompts","href":"/api-reference/visibility/retrieve-prompt-visibility-report"},{"title":"Retrieve Citation Summary","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/visibility/citations/summary","href":"/api-reference/visibility/retrieve-citation-summary"}]},{"group":"Prompts","pages":[{"title":"List Prompts","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/prompts","href":"/api-reference/prompts/list-prompts"},{"title":"Create Prompts","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/prompts","href":"/api-reference/prompts/create-prompts"},{"title":"List Topics","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/prompts/topics","href":"/api-reference/prompts/list-topics"},{"title":"Create Topic","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/prompts/topics","href":"/api-reference/prompts/create-topic"},{"title":"Delete Topic","deprecated":null,"version":null,"openapi":"/openapi.json delete /v2/prompts/topics/{topic_id}","href":"/api-reference/prompts/delete-topic"},{"title":"Update Topic","deprecated":null,"version":null,"openapi":"/openapi.json patch /v2/prompts/topics/{topic_id}","href":"/api-reference/prompts/update-topic"},{"title":"List Prompt Runs","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/prompts/runs","href":"/api-reference/prompts/list-prompt-runs"},{"title":"Run Prompts","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/prompts/runs","href":"/api-reference/prompts/run-prompts"},{"title":"Get Prompt Run Status","description":"Return status and progress for a queued prompt run.\n\nPoll this endpoint until `status` is `completed`, `failed`, or `cancelled`.\nIndividual stored results are available from `GET /v2/prompts/runs`.","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/prompts/runs/{run_id}/status","href":"/api-reference/prompts/get-prompt-run-status"},{"title":"Cancel a prompt run","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/prompts/runs/{run_id}/cancel","href":"/api-reference/prompts/cancel-a-prompt-run"},{"title":"Retrieve Prompt Run","description":"Returns one stored prompt run, including mentions, citations, and any sanitized coding-agent trace captured for the run.","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/prompts/runs/{run_id}","href":"/api-reference/prompts/retrieve-prompt-run"},{"title":"Retrieve Prompt","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/prompts/{prompt_id}","href":"/api-reference/prompts/retrieve-prompt"},{"title":"Delete Prompt","deprecated":null,"version":null,"openapi":"/openapi.json delete /v2/prompts/{prompt_id}","href":"/api-reference/prompts/delete-prompt"},{"title":"Update Prompt","deprecated":null,"version":null,"openapi":"/openapi.json patch /v2/prompts/{prompt_id}","href":"/api-reference/prompts/update-prompt"}]},{"group":"Opportunities","pages":[{"title":"List Opportunities","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/opportunities","href":"/api-reference/opportunities/list-opportunities"},{"title":"Retrieve Opportunity","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/opportunities/{opportunity_id}","href":"/api-reference/opportunities/retrieve-opportunity"}]},{"group":"Tasks","pages":[{"title":"List Tasks","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Create Task","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/tasks","href":"/api-reference/tasks/create-task"},{"title":"Retrieve Task","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/tasks/{task_id}","href":"/api-reference/tasks/retrieve-task"},{"title":"Update Task","deprecated":null,"version":null,"openapi":"/openapi.json patch /v2/tasks/{task_id}","href":"/api-reference/tasks/update-task"}]},{"group":"Site Audits","pages":[{"title":"List Site Audits","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/site-audits","href":"/api-reference/site-audits/list-site-audits"},{"title":"Retrieve Site Audit","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/site-audits/{site_id}","href":"/api-reference/site-audits/retrieve-site-audit"}]},{"group":"Agent Analytics","pages":[{"title":"List Agent Analytics Sites","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-analytics/sites","href":"/api-reference/agent-analytics/list-agent-analytics-sites"},{"title":"Retrieve Agent Analytics Summary","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-analytics/sites/{site_id}/summary","href":"/api-reference/agent-analytics/retrieve-agent-analytics-summary"},{"title":"List Agent Analytics Sources","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-analytics/sites/{site_id}/sources","href":"/api-reference/agent-analytics/list-agent-analytics-sources"},{"title":"List Agent Analytics Pages","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-analytics/sites/{site_id}/pages","href":"/api-reference/agent-analytics/list-agent-analytics-pages"},{"title":"List Agent Analytics Error Pages","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-analytics/sites/{site_id}/error-pages","href":"/api-reference/agent-analytics/list-agent-analytics-error-pages"},{"title":"List Agent Analytics Countries","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-analytics/sites/{site_id}/countries","href":"/api-reference/agent-analytics/list-agent-analytics-countries"}]},{"group":"Evals","pages":[{"title":"List Evals","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/evals","href":"/api-reference/evals/list-evals"},{"title":"Create Eval","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/evals","href":"/api-reference/evals/create-eval"},{"title":"Create evals from a template","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/evals/batch","href":"/api-reference/evals/create-evals-from-a-template"},{"title":"Retrieve Eval","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/evals/{eval_id}","href":"/api-reference/evals/retrieve-eval"},{"title":"Delete Eval","deprecated":null,"version":null,"openapi":"/openapi.json delete /v2/evals/{eval_id}","href":"/api-reference/evals/delete-eval"},{"title":"Update Eval","deprecated":null,"version":null,"openapi":"/openapi.json patch /v2/evals/{eval_id}","href":"/api-reference/evals/update-eval"},{"title":"List Configurations","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/evals/{eval_id}/configurations","href":"/api-reference/evals/list-configurations"},{"title":"Create Configuration","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/evals/{eval_id}/configurations","href":"/api-reference/evals/create-configuration"},{"title":"Retrieve Configuration","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/evals/{eval_id}/configurations/{configuration_id}","href":"/api-reference/evals/retrieve-configuration"},{"title":"Delete Configuration","deprecated":null,"version":null,"openapi":"/openapi.json delete /v2/evals/{eval_id}/configurations/{configuration_id}","href":"/api-reference/evals/delete-configuration"},{"title":"Update Configuration","deprecated":null,"version":null,"openapi":"/openapi.json patch /v2/evals/{eval_id}/configurations/{configuration_id}","href":"/api-reference/evals/update-configuration"}]},{"group":"Eval Templates","pages":[{"title":"List Eval templates","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/eval-templates","href":"/api-reference/eval-templates/list-eval-templates"},{"title":"Create an Eval template","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/eval-templates","href":"/api-reference/eval-templates/create-an-eval-template"},{"title":"Retrieve an Eval template","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/eval-templates/{template_id}","href":"/api-reference/eval-templates/retrieve-an-eval-template"},{"title":"Delete an Eval template","deprecated":null,"version":null,"openapi":"/openapi.json delete /v2/eval-templates/{template_id}","href":"/api-reference/eval-templates/delete-an-eval-template"},{"title":"Update an Eval template","deprecated":null,"version":null,"openapi":"/openapi.json patch /v2/eval-templates/{template_id}","href":"/api-reference/eval-templates/update-an-eval-template"}]},{"group":"Eval Runs","pages":[{"title":"List Runs","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/eval-runs","href":"/api-reference/eval-runs/list-runs"},{"title":"Start an eval run","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/eval-runs","href":"/api-reference/eval-runs/start-an-eval-run"},{"title":"Cancel an eval run","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/eval-runs/{run_id}/cancel","href":"/api-reference/eval-runs/cancel-an-eval-run"},{"title":"Monitor Runs","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/eval-runs/monitor","href":"/api-reference/eval-runs/monitor-runs"},{"title":"Retrieve an eval run trace","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/eval-runs/{run_id}/trace","href":"/api-reference/eval-runs/retrieve-an-eval-run-trace"},{"title":"Retrieve an eval run","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/eval-runs/{run_id}","href":"/api-reference/eval-runs/retrieve-an-eval-run"}]},{"group":"Agent Preference","pages":[{"title":"List Competitors","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-preference/competitors","href":"/api-reference/agent-preference/list-competitors"},{"title":"Retrieve Head To Head","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-preference/head-to-head","href":"/api-reference/agent-preference/retrieve-head-to-head"},{"title":"List Evals","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-preference/evals","href":"/api-reference/agent-preference/list-evals"},{"title":"Create Eval","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/agent-preference/evals","href":"/api-reference/agent-preference/create-eval"},{"title":"Retrieve Eval","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-preference/evals/{eval_id}","href":"/api-reference/agent-preference/retrieve-eval"},{"title":"Delete Eval","deprecated":null,"version":null,"openapi":"/openapi.json delete /v2/agent-preference/evals/{eval_id}","href":"/api-reference/agent-preference/delete-eval"},{"title":"Update Eval","deprecated":null,"version":null,"openapi":"/openapi.json patch /v2/agent-preference/evals/{eval_id}","href":"/api-reference/agent-preference/update-eval"},{"title":"List Results","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agent-preference/evals/{eval_id}/results","href":"/api-reference/agent-preference/list-results"}]},{"group":"Agents","pages":[{"title":"List Agents","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/agents","href":"/api-reference/agents/list-agents"}]},{"group":"Repositories","pages":[{"title":"List Repositories","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/repositories","href":"/api-reference/repositories/list-repositories"},{"title":"Create Repository","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/repositories","href":"/api-reference/repositories/create-repository"},{"title":"Retrieve Repository","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/repositories/{repository_id}","href":"/api-reference/repositories/retrieve-repository"},{"title":"Delete Repository","deprecated":null,"version":null,"openapi":"/openapi.json delete /v2/repositories/{repository_id}","href":"/api-reference/repositories/delete-repository"},{"title":"Update Repository","deprecated":null,"version":null,"openapi":"/openapi.json patch /v2/repositories/{repository_id}","href":"/api-reference/repositories/update-repository"}]},{"group":"Environments","pages":[{"title":"List Environments","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/environments","href":"/api-reference/environments/list-environments"}]},{"group":"MCP Servers","pages":[{"title":"List Mcp Servers","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/mcp-servers","href":"/api-reference/mcp-servers/list-mcp-servers"}]},{"group":"CLIs","pages":[{"title":"List Clis","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/clis","href":"/api-reference/clis/list-clis"}]},{"group":"Skills","pages":[{"title":"List Skills","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/skills","href":"/api-reference/skills/list-skills"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Cancel a prompt run - Lightsage","buildId":"dpl_3rfzHPCtRhDFBbetXZ3oLkN5tjmA","deploymentId":"dpl_3rfzHPCtRhDFBbetXZ3oLkN5tjmA","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DBvOZtde.js","utils-BMzGkvGb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BYhgN8Gl.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-qDMltnin.js","snippetPresets-CABPPIq4.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Bx9dgvF5.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-EwWVpM4w.js","shallow-vGbuQTai.js","getApiPlaygroundDisplay-DP2addym.js","CodeSnippet-BG6rB_-H.js","CodeSnippets-CFVdLBFC.js","Page-B-qdInYQ.js","getPastedJson-JGlMoKBJ.js","icon-BK_uyWxF.js","MethodPill-Du3sAVkF.js","DuplicateIcon-CMq42UID.js","createIcon-RdBrtBmo.js","DynamicMarkdown-B3juXLG8.js","SectionHeading-B--QsSCa.js","axios-vUo_bRtp.js","Markdown-B_bWWeh0.js","clsx-eUAxaTXI.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DMuJXOAm.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DeDUMY0v.js"]}