Interpreted run diagnosis. Returns the run header plus the
operator-state projection from
internal/store/run_operational_status_read_surface.go. The single
canonical owner for “why isn’t this run progressing?” — routes the
existing projection through the API instead of having every
consumer recompute it. Today the projection produces
operational_state, blocking_layer, blocking_reason, and
heuristics; richer fields (evidence pointers, suggested_next_action)
are additive owner extensions for a future slice.
Transport: all methods are a single POST /v1/rpc with the method name in the JSON-RPC body. The path shown is a per-method convenience.
Run header plus the canonical operator-state projection. Source of
truth: ProjectRunOperationalStatus. Spec exposes exactly what the
owner produces in v1; richer fields (evidence pointers,
suggested_next_action) are additive owner extensions for a future
slice — when the store owner gains them, the spec adds them
additively (no /v2/ bump).
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Division Swarm","colors":{"primary":"#37e2f0","light":"#5cebf6","dark":"#128795"},"logo":{"light":"https://mintcdn.com/division/HrKH-oRLI_Y6H1CT/logo/light.png?fit=max\u0026auto=format\u0026n=HrKH-oRLI_Y6H1CT\u0026q=85\u0026s=f59f486b7549f643601acf889d0e6d88","dark":"https://mintcdn.com/division/HrKH-oRLI_Y6H1CT/logo/dark.png?fit=max\u0026auto=format\u0026n=HrKH-oRLI_Y6H1CT\u0026q=85\u0026s=ed0564bc65d9e2169f011c831549f92d"},"favicon":"https://mintcdn.com/division/HrKH-oRLI_Y6H1CT/favicon.png?fit=max\u0026auto=format\u0026n=HrKH-oRLI_Y6H1CT\u0026q=85\u0026s=2ac43454c55695c5e27343fc321d9b7f","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://github.com/division-sh/swarm/discussions","label":"Discussions"},{"href":"https://github.com/division-sh/swarm","label":"GitHub"}],"primary":{"type":"button","label":"Quickstart","href":"/quickstart"}},"footer":{"socials":{"github":"https://github.com/division-sh/swarm"}},"integrations":{"ga4":{"measurementId":"G-JKJEKHZ35V"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/division-sh/swarm"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"division","hasAudioNarration":false,"actualSubdomain":"division","customDomains":["docs.division.sh"],"gitSource":{"type":"github","owner":"division-sh","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad10f8afd81ca23748d2460","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API reference","count":46},{"language":"default","tag":"Guides","count":43},{"language":"default","tag":"Reference","count":22},{"language":"default","tag":"Build a flow","count":13},{"language":"default","tag":"Contract reference","count":10},{"language":"default","tag":"Core concepts","count":9},{"language":"default","tag":"Runs","count":9},{"language":"default","tag":"Handlers","count":8},{"language":"default","tag":"Operating Swarm","count":7},{"language":"default","tag":"Language reference","count":7}]},"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/run/rundiagnose","slug":"/api-reference/run/rundiagnose","pageMetadata":{"title":"run.diagnose","description":"Interpreted run diagnosis. Returns the run header plus the\noperator-state projection from\ninternal/store/run_operational_status_read_surface.go. The single\ncanonical owner for \"why isn't this run progressing?\" — routes the\nexisting projection through the API instead of having every\nconsumer recompute it. Today the projection produces\noperational_state, blocking_layer, blocking_reason, and\nheuristics; richer fields (evidence pointers, suggested_next_action)\nare additive owner extensions for a future slice.\n\n_Transport: all methods are a single `POST /v1/rpc` with the method name in the JSON-RPC body. The path shown is a per-method convenience._","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.diagnose","href":"/api-reference/run/rundiagnose","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n em: \"em\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Interpreted run diagnosis. Returns the run header plus the\\noperator-state projection from\\ninternal/store/run_operational_status_read_surface.go. The single\\ncanonical owner for “why isn’t this run progressing?” — routes the\\nexisting projection through the API instead of having every\\nconsumer recompute it. Today the projection produces\\noperational_state, blocking_layer, blocking_reason, and\\nheuristics; richer fields (evidence pointers, suggested_next_action)\\nare additive owner extensions for a future slice.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsxs(_components.em, {\n children: [\"Transport: all methods are a single \", _jsx(_components.code, {\n children: \"POST /v1/rpc\"\n }), \" with the method name in the JSON-RPC body. The path shown is a per-method convenience.\"]\n })\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"run.diagnose","description":"Interpreted run diagnosis. Returns the run header plus the\noperator-state projection from\ninternal/store/run_operational_status_read_surface.go. The single\ncanonical owner for \"why isn't this run progressing?\" — routes the\nexisting projection through the API instead of having every\nconsumer recompute it. Today the projection produces\noperational_state, blocking_layer, blocking_reason, and\nheuristics; richer fields (evidence pointers, suggested_next_action)\nare additive owner extensions for a future slice.\n\n_Transport: all methods are a single `POST /v1/rpc` with the method name in the JSON-RPC body. The path shown is a per-method convenience._","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.diagnose","href":"/api-reference/run/rundiagnose","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"run_diagnose","summary":"run.diagnose","description":"Interpreted run diagnosis. Returns the run header plus the\noperator-state projection from\ninternal/store/run_operational_status_read_surface.go. The single\ncanonical owner for \"why isn't this run progressing?\" — routes the\nexisting projection through the API instead of having every\nconsumer recompute it. Today the projection produces\noperational_state, blocking_layer, blocking_reason, and\nheuristics; richer fields (evidence pointers, suggested_next_action)\nare additive owner extensions for a future slice.\n\n_Transport: all methods are a single `POST /v1/rpc` with the method name in the JSON-RPC body. The path shown is a per-method convenience._","tags":["run"],"requestBody":"13179e3b-cdf2-4efb-9e32-3f213c80f283","responses":{"200":"2fb1aede-5a2b-414e-8b1c-d100d0bbb1a5"},"method":"post","type":"path","servers":["a2b5eba8-a858-4322-be0d-a8938cf1c299"],"security":["f2116959-f81c-4f43-bb1f-e0442db549b7"],"path":"/v1/rpc/run.diagnose","baseUrlOptions":["http://127.0.0.1:8081"],"title":"run.diagnose","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method"],"properties":{"jsonrpc":{"const":"2.0","type":"string","isRequired":true,"uniqueKey":"jsonrpc","typeLabel":"string"},"method":{"type":"string","const":"run.diagnose","isRequired":true,"uniqueKey":"method","typeLabel":"string"},"id":{"oneOf":[{"type":"string","description":"Client-chosen request id, echoed in the response.","uniqueKey":"id.oneOf.0","typeLabel":"string"},{"type":"integer","description":"Client-chosen request id, echoed in the response.","uniqueKey":"id.oneOf.1","typeLabel":"integer"}],"uniqueKey":"id","typeLabel":"string | integer"},"params":{"type":"object","properties":{"run_id":{"description":"Opaque identifier. Currently UUID-shaped for runtime-assigned IDs; clients MUST NOT assume UUID shape.","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_:.-]+$","type":"string","isRequired":true,"uniqueKey":"params.run_id","typeLabel":"string"}},"required":["run_id"],"uniqueKey":"params","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"jsonrpc":"2.0","method":"run.diagnose","id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"2fb1aede-5a2b-414e-8b1c-d100d0bbb1a5":{"description":"JSON-RPC response envelope.","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"const":"2.0","type":"string","uniqueKey":"jsonrpc","typeLabel":"string"},"id":{"oneOf":[{"type":"string","uniqueKey":"id.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"id.oneOf.1","typeLabel":"integer"}],"uniqueKey":"id","typeLabel":"string | integer"},"result":{"additionalProperties":false,"description":"Run header plus the canonical operator-state projection. Source of\ntruth: ProjectRunOperationalStatus. Spec exposes exactly what the\nowner produces in v1; richer fields (evidence pointers,\nsuggested_next_action) are additive owner extensions for a future\nslice — when the store owner gains them, the spec adds them\nadditively (no /v2/ bump).\n","properties":{"blocking_layer":{"description":"Layer-of-the-system identifier when operational_state is \"stalled\".\nEmpty string when state is running or terminal. Source of truth:\nProjectRunOperationalStatus. Current owner emits:\n \"\" (empty) — state is running or terminal\n \"scoring_terminal_outcome\" — scoring entities have not reached\n a terminal scoring outcome (shortlisted/marginal/rejected)\n \"delivery_lifecycle\" — no active deliveries but events exist\nAdditional values may be added as the operator-state owner gains\nmore diagnostic semantics. Type stays string (not enum) for\nforward compatibility — additive owner extensions must not\nrequire a /v2/ bump.\n","type":"string","isRequired":true,"uniqueKey":"result.blocking_layer","typeLabel":"string"},"blocking_reason":{"description":"Free-form reason string when operational_state is \"stalled\".\nEmpty when state is running or terminal. Current owner emits:\n \"\" (empty)\n \"terminal_scoring_outcome_missing\"\n \"no_active_deliveries\"\nAdditional values may be added additively.\n","type":"string","isRequired":true,"uniqueKey":"result.blocking_reason","typeLabel":"string"},"heuristics":{"description":"Free-form diagnostic notes from the projection. Current owner\nemits one entry per detected condition, e.g. \"dead letters\nexist for this run\".\n","items":{"type":"string","uniqueKey":"result.heuristics.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"result.heuristics","typeLabel":"string[]"},"operational_state":{"description":"Operational state of a run. Source of truth:\ninternal/store/run_operational_status_read_surface.go\nProjectRunOperationalStatus. Values are RunTableStatus values\nlowercased plus \"stalled\" as the projection's special\n\"running-but-not-progressing\" state.\n","enum":["running","stalled","paused","completed","failed","cancelled","forked"],"type":"string","isRequired":true,"uniqueKey":"result.operational_state","typeLabel":"enum\u003cstring>"},"run":{"additionalProperties":false,"properties":{"entity_count":{"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"result.run.entity_count","typeLabel":"integer"},"event_count":{"minimum":0,"type":"integer","isRequired":true,"uniqueKey":"result.run.event_count","typeLabel":"integer"},"run_id":{"description":"Opaque identifier. Currently UUID-shaped for runtime-assigned IDs; clients MUST NOT assume UUID shape.","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_:.-]+$","type":"string","isRequired":true,"uniqueKey":"result.run.run_id","typeLabel":"string"},"started_at":{"description":"RFC3339 timestamp, UTC. Example: \"2026-05-09T18:31:41.367722Z\".","format":"date-time","type":"string","isRequired":true,"uniqueKey":"result.run.started_at","typeLabel":"string\u003cdate-time>"},"status":{"enum":["running","paused","completed","failed","cancelled","forked"],"type":"string","isRequired":true,"uniqueKey":"result.run.status","typeLabel":"enum\u003cstring>"},"trigger_event_id":{"description":"Opaque identifier. Currently UUID-shaped for runtime-assigned IDs; clients MUST NOT assume UUID shape.","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_:.-]+$","type":"string","isRequired":true,"uniqueKey":"result.run.trigger_event_id","typeLabel":"string"},"trigger_event_type":{"type":"string","isRequired":true,"uniqueKey":"result.run.trigger_event_type","typeLabel":"string"},"ended_at":{"description":"Omitted while run is active; present once status is terminal (completed/failed/cancelled/forked).","format":"date-time","type":"string","uniqueKey":"result.run.ended_at","typeLabel":"string\u003cdate-time>"},"error_summary":{"description":"Present only if a top-level error terminated the run.","type":"string","uniqueKey":"result.run.error_summary","typeLabel":"string"},"forked_from_run_id":{"description":"Present only if status indicates a fork.","maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9_:.-]+$","type":"string","uniqueKey":"result.run.forked_from_run_id","typeLabel":"string"}},"required":["run_id","status","trigger_event_type","trigger_event_id","entity_count","event_count","started_at"],"type":"object","isRequired":true,"uniqueKey":"result.run","typeLabel":"object"}},"required":["run","operational_state","blocking_layer","blocking_reason","heuristics"],"type":"object","uniqueKey":"result","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"jsonrpc":"2.0","id":"\u003cstring>","result":{"blocking_layer":"\u003cstring>","blocking_reason":"\u003cstring>","heuristics":["\u003cstring>"],"operational_state":"running","run":{"entity_count":1,"event_count":1,"run_id":"\u003cstring>","started_at":"2023-11-07T05:31:56Z","status":"running","trigger_event_id":"\u003cstring>","trigger_event_type":"\u003cstring>","ended_at":"2023-11-07T05:31:56Z","error_summary":"\u003cstring>","forked_from_run_id":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f2116959-f81c-4f43-bb1f-e0442db549b7":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"a2b5eba8-a858-4322-be0d-a8938cf1c299":{"url":"http://127.0.0.1:8081"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"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":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"division","siteName":"Division Swarm","title":"run.diagnose - Division Swarm","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-24T00:04:57.577Z","originalFileLocation":"api-reference/run/rundiagnose.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=\"dark\"}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=\"Interpreted run diagnosis. Returns the run header plus the operator-state projection from internal/store/run_operational_status_read_surface.go. The single canonical owner for \u0026quot;why isn\u0026#x27;t this run progressing?\u0026quot; — routes the existing projection through the API instead of having every consumer recompute it. Today the projection produces operational_state, blocking_layer, blocking_reason, and heuristics; richer fields (evidence pointers, suggested_next_action) are additive owner extensions for a future slice. Transport: all methods are a single POST /v1/rpc with the method name in the JSON-RPC body. The path shown is a per-method convenience.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Division Swarm\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/division/d2K2oDQN67si7toU/_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/division/d2K2oDQN67si7toU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/division/d2K2oDQN67si7toU/_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/division/d2K2oDQN67si7toU/_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/division/d2K2oDQN67si7toU/_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/division/d2K2oDQN67si7toU/_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/division/d2K2oDQN67si7toU/_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/division/d2K2oDQN67si7toU/_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/division/d2K2oDQN67si7toU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"run.diagnose - Division Swarm\">\u003cmeta data-mint-head property=\"og:description\" content=\"Interpreted run diagnosis. Returns the run header plus the operator-state projection from internal/store/run_operational_status_read_surface.go. The single canonical owner for \u0026quot;why isn\u0026#x27;t this run progressing?\u0026quot; — routes the existing projection through the API instead of having every consumer recompute it. Today the projection produces operational_state, blocking_layer, blocking_reason, and heuristics; richer fields (evidence pointers, suggested_next_action) are additive owner extensions for a future slice. Transport: all methods are a single POST /v1/rpc with the method name in the JSON-RPC body. The path shown is a per-method convenience.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Division Swarm\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.division.sh/api-reference/run/rundiagnose\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://division.mintlify.site/_mintlify/api/og/v2?division=Runs\u0026amp;title=run.diagnose\u0026amp;description=Interpreted+run+diagnosis.+Returns+the+run+header+plus+the%0Aoperator-state+projection+from%0Ainternal%2Fstore%2Frun_operational_status_read_surface.go.+The+single%0Acano\u0026amp;theme=d30408466f541a16b36a801a\u0026amp;signature=b24739fdd93731146e427aa5a970a42ce92f9fea0b5a8fc792a1bb3e0bea1cf8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"run.diagnose - Division Swarm\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Interpreted run diagnosis. Returns the run header plus the operator-state projection from internal/store/run_operational_status_read_surface.go. The single canonical owner for \u0026quot;why isn\u0026#x27;t this run progressing?\u0026quot; — routes the existing projection through the API instead of having every consumer recompute it. Today the projection produces operational_state, blocking_layer, blocking_reason, and heuristics; richer fields (evidence pointers, suggested_next_action) are additive owner extensions for a future slice. Transport: all methods are a single POST /v1/rpc with the method name in the JSON-RPC body. The path shown is a per-method convenience.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://division.mintlify.site/_mintlify/api/og/v2?division=Runs\u0026amp;title=run.diagnose\u0026amp;description=Interpreted+run+diagnosis.+Returns+the+run+header+plus+the%0Aoperator-state+projection+from%0Ainternal%2Fstore%2Frun_operational_status_read_surface.go.+The+single%0Acano\u0026amp;theme=d30408466f541a16b36a801a\u0026amp;signature=b24739fdd93731146e427aa5a970a42ce92f9fea0b5a8fc792a1bb3e0bea1cf8\">\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/division/d2K2oDQN67si7toU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Division Swarm\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#37e2f0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.division.sh/api-reference/run/rundiagnose\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/run/rundiagnose.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.division.sh/#organization\",\"name\":\"Division Swarm\",\"url\":\"https://docs.division.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/division/HrKH-oRLI_Y6H1CT/logo/light.png?fit=max\u0026auto=format\u0026n=HrKH-oRLI_Y6H1CT\u0026q=85\u0026s=f59f486b7549f643601acf889d0e6d88\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.division.sh#website\",\"name\":\"Division Swarm\",\"url\":\"https://docs.division.sh\",\"publisher\":{\"@id\":\"https://docs.division.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.division.sh/api-reference/run/rundiagnose#webpage\",\"url\":\"https://docs.division.sh/api-reference/run/rundiagnose\",\"name\":\"run.diagnose\",\"description\":\"Interpreted run diagnosis. Returns the run header plus the operator-state projection from internal/store/run_operational_status_read_surface.go. The single canonical owner for \\\"why isn't this run progressing?\\\" — routes the existing projection through the API instead of having every consumer recompute it. Today the projection produces operational_state, blocking_layer, blocking_reason, and heuristics; richer fields (evidence pointers, suggested_next_action) are additive owner extensions for a future slice. Transport: all methods are a single POST /v1/rpc with the method name in the JSON-RPC body. The path shown is a per-method convenience.\",\"dateModified\":\"2026-05-24T00:04:57.577Z\",\"isPartOf\":{\"@id\":\"https://docs.division.sh#website\"},\"breadcrumb\":{\"@id\":\"https://docs.division.sh/api-reference/run/rundiagnose#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.division.sh/api-reference/run/rundiagnose#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Runs\",\"item\":\"https://docs.division.sh/api-reference/run/runcontinue\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"run.diagnose\",\"item\":\"https://docs.division.sh/api-reference/run/rundiagnose\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.division.sh/api-reference/run/rundiagnose#apireference\",\"headline\":\"run.diagnose\",\"name\":\"run.diagnose\",\"description\":\"Interpreted run diagnosis. Returns the run header plus the operator-state projection from internal/store/run_operational_status_read_surface.go. The single canonical owner for \\\"why isn't this run progressing?\\\" — routes the existing projection through the API instead of having every consumer recompute it. Today the projection produces operational_state, blocking_layer, blocking_reason, and heuristics; richer fields (evidence pointers, suggested_next_action) are additive owner extensions for a future slice. Transport: all methods are a single POST /v1/rpc with the method name in the JSON-RPC body. The path shown is a per-method convenience.\",\"url\":\"https://docs.division.sh/api-reference/run/rundiagnose\",\"mainEntityOfPage\":{\"@id\":\"https://docs.division.sh/api-reference/run/rundiagnose#webpage\"},\"dateModified\":\"2026-05-24T00:04:57.577Z\",\"publisher\":{\"@id\":\"https://docs.division.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.division.sh#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Division Swarm\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Division Swarm\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/run/rundiagnose.md","siteName":"Division Swarm","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/division-sh/swarm"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/contracts/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API overview","icon":"code","href":"/api-reference/introduction"},{"title":"Transport, auth, and envelope","icon":"key","href":"/api-reference/transport-and-auth"},{"title":"Subscriptions","icon":"satellite-dish","href":"/api-reference/subscriptions"}]},{"group":"Health","pages":[{"title":"health.check","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/health.check","href":"/api-reference/health/healthcheck"},{"title":"health.ping","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/health.ping","href":"/api-reference/health/healthping"},{"title":"health.subscribe","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/health.subscribe","href":"/api-reference/health/healthsubscribe"}]},{"group":"Runs","pages":[{"title":"run.continue","description":"Resume a paused run.\n\n**Error codes:** , , \n\n_Transport: all methods are a single `POST /v1/rpc` with the method name in the JSON-RPC body. The path shown is a per-method convenience._","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.continue","href":"/api-reference/run/runcontinue"},{"title":"run.diagnose","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.diagnose","href":"/api-reference/run/rundiagnose"},{"title":"run.get","description":"Cheap canonical read of the run header. Used by lists, hovers, and any consumer that needs run status without paying for diagnostic interpretation.\n\n_Transport: all methods are a single `POST /v1/rpc` with the method name in the JSON-RPC body. The path shown is a per-method convenience._","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.get","href":"/api-reference/run/runget"},{"title":"run.list","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.list","href":"/api-reference/run/runlist"},{"title":"run.pause","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.pause","href":"/api-reference/run/runpause"},{"title":"run.start","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.start","href":"/api-reference/run/runstart"},{"title":"run.stop","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.stop","href":"/api-reference/run/runstop"},{"title":"run.subscribe_trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.subscribe_trace","href":"/api-reference/run/runsubscribe_trace"},{"title":"run.trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/run.trace","href":"/api-reference/run/runtrace"}]},{"group":"Events","pages":[{"title":"event.get","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/event.get","href":"/api-reference/event/eventget"},{"title":"event.list","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/event.list","href":"/api-reference/event/eventlist"},{"title":"event.publish","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/event.publish","href":"/api-reference/event/eventpublish"},{"title":"event.replay","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/event.replay","href":"/api-reference/event/eventreplay"},{"title":"event.subscribe","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/event.subscribe","href":"/api-reference/event/eventsubscribe"}]},{"group":"Entities","pages":[{"title":"entity.aggregate","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/entity.aggregate","href":"/api-reference/entity/entityaggregate"},{"title":"entity.get","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/entity.get","href":"/api-reference/entity/entityget"},{"title":"entity.list","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/entity.list","href":"/api-reference/entity/entitylist"}]},{"group":"Mailbox","pages":[{"title":"mailbox.approve","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/mailbox.approve","href":"/api-reference/mailbox/mailboxapprove"},{"title":"mailbox.defer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/mailbox.defer","href":"/api-reference/mailbox/mailboxdefer"},{"title":"mailbox.get","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/mailbox.get","href":"/api-reference/mailbox/mailboxget"},{"title":"mailbox.list","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/mailbox.list","href":"/api-reference/mailbox/mailboxlist"},{"title":"mailbox.reject","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/mailbox.reject","href":"/api-reference/mailbox/mailboxreject"}]},{"group":"Agents","pages":[{"title":"agent.diagnose","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/agent.diagnose","href":"/api-reference/agent/agentdiagnose"},{"title":"agent.get","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/agent.get","href":"/api-reference/agent/agentget"},{"title":"agent.list","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/agent.list","href":"/api-reference/agent/agentlist"},{"title":"agent.replay","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/agent.replay","href":"/api-reference/agent/agentreplay"},{"title":"agent.replay_backlog","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/agent.replay_backlog","href":"/api-reference/agent/agentreplay_backlog"},{"title":"agent.restart","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/agent.restart","href":"/api-reference/agent/agentrestart"},{"title":"agent.send_directive","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/agent.send_directive","href":"/api-reference/agent/agentsend_directive"}]},{"group":"Conversations","pages":[{"title":"conversation.current_for_agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/conversation.current_for_agent","href":"/api-reference/conversation/conversationcurrent_for_agent"},{"title":"conversation.get","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/conversation.get","href":"/api-reference/conversation/conversationget"},{"title":"conversation.get_turn","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/conversation.get_turn","href":"/api-reference/conversation/conversationget_turn"},{"title":"conversation.list","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/conversation.list","href":"/api-reference/conversation/conversationlist"}]},{"group":"Runtime","pages":[{"title":"runtime.incidents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/runtime.incidents","href":"/api-reference/runtime/runtimeincidents"},{"title":"runtime.logs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/runtime.logs","href":"/api-reference/runtime/runtimelogs"},{"title":"runtime.nuke","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/runtime.nuke","href":"/api-reference/runtime/runtimenuke"},{"title":"runtime.pause","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/runtime.pause","href":"/api-reference/runtime/runtimepause"},{"title":"runtime.resume","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/runtime.resume","href":"/api-reference/runtime/runtimeresume"},{"title":"runtime.subscribe_logs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/runtime.subscribe_logs","href":"/api-reference/runtime/runtimesubscribe_logs"}]},{"group":"Protocol","pages":[{"title":"rpc.unsubscribe","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rpc/rpc.unsubscribe","href":"/api-reference/rpc/rpcunsubscribe"}]}]}]},"basePath":"","title":"run.diagnose - Division Swarm","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}