{
"error": {
"type": "rate_limited",
"message": "This API key exceeded its request-rate limit"
}
}
Loops
Update a Loop
Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.
{
"error": {
"type": "rate_limited",
"message": "This API key exceeded its request-rate limit"
}
}
Partial update. A paused Loop resumes from its next slot. wake_on replaces everything that wakes the Loop; timezone sent with it is only the zone its schedule is read in. When the Loop has one listener and wake_on is a single entry of that same kind (not GitHub), that listener changes in place and other fields may go with it. Any other replacement goes alone or with name, prompt, notification_policy, until, max_runs, model and owner_user_id; another field with it returns 400 wake_on_with_other_changes. A webhook it leaves out has its key revoked for good, and a new one later gets a new URL and key; a webhook it adds returns its URL and key once, as on create. Switching the Loop on, or onto another Session or model, checks the workspace can fund it (402 loop_model_not_fundable). A new or switched-on schedule that would take the workspace’s schedules past 1,000 runs a day returns 409 schedule_budget_reached. Who sees and changes a Loop follows its Reason: the people who can use the Reason see and change its Loops, except that a teammate’s Loop on a team Reason stays that teammate’s (the Reason’s owner may see and stop it). Workspace owners and admins may pause and delete any Loop.What a Loop runs in (its Session or computer), its Slack channels and what wakes it stay with its creator, since each is checked against their access (403 loop_creator_only_change).Scope: automations:write
Authorizations
Authorization
string
header
required
Your Reason API key from Settings › API keys. New keys use reason_; legacy ara_ keys remain accepted. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, devices:read, devices:write, devices:use, computers:read, computers:write, ssh:write, knowledge:read, memory:read, memory:write, skills:read, skills:write, pages:read, pages:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, network:read, network:write, automations:read, automations:write, agent_auth:read. devices:write, devices:use, computers:read, computers:write, ssh:write, network:read and network:write are opt-in, excluded from default keys. computers:read lists visible cloud and connected computers without waking them or granting execution access. devices:read discovers local Device targets; devices:use separately consents to local execution, so a discover-and-run local workflow needs both. devices:write manages enrollment and device grants; computers:write creates or deletes cloud computers; ssh:write manages retained SSH access. network:read reads the saved workspace network policy; network:write replaces custom allowed hosts and requires a current organization owner/admin. Legacy project PATCH requests containing network_allowed_hosts also require network:write plus their existing run scope and project management permission; saved project hosts do not affect current session egress. Only owners/admins can mint or manage keys with network:write; keys cannot grant themselves more authority. See /docs/network-policies for replacement semantics and runtime applicability. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:read reads sessions, including the assistant, reasoning and tool activity in their events. sessions:debug is privileged: only for organization owners/admins, it expands session events to the full diagnostic projection (diagnostic event kinds, status text and raw event metadata).
Scopes
automations:write
Path Parameters
orgId
string
required
Organization id or slug. Resolve it with GET /v3/self.
reasonId
string<uuid>
required
The Reason id, returned as id by listReasons and createReason.
loopId
string<uuid>
required
The Loop id, returned as id by listReasonLoops and as loop.id by createReasonLoop.
Body
application/json
Only the fields sent change. wake_on replaces what wakes the Loop, and timezone with it is its schedule's zone. Unless it is one entry of the kind that alone wakes the Loop now (not GitHub), which changes that in place, send it with only name, prompt, notification_policy, until, max_runs, model and owner_user_id.
prompt
string
New instructions for its future wakes.
Required string length: 1 - 100000
name
string
New label for the Loop in the Reason's Loops list.
Required string length: 1 - 200
enabled
boolean
false pauses it; true resumes it from its next slot.
schedule
string
A new schedule for a Loop that has one, in the same forms as a wake_on schedule.
Required string length: 1 - 500
webhook
object
A webhook Loop's signing secret or condition, changed in place.
Show child attributes
wake_on
object[]
Everything that wakes the Loop: at most one schedule, one webhook and one Slack listener, and GitHub events on one repository. A Loop woken by several things at once is in early access for some workspaces (403 wake_on_unavailable elsewhere). On update it replaces what wakes the Loop.
session continues one Session across wakes, the one in session_id or else one of the Loop's own that its first wake opens; new_session opens a fresh Session on every wake. A Loop woken by events opens a Session per event (events sharing a correlation key continue one), so it takes neither.
Available options:
session,
new_session
session_id
string<uuid> | null
An existing Session of the caller's that each wake continues. null unbinds it.
device_id
string<uuid> | null
A connected computer of the caller's (listDevices) that its runs use; null runs them on a Reason cloud machine.
notification_policy
enum<string>
When the Loop tells the person about a run: on important updates (the default) or only when a run fails.
Available options:
important_updates,
failed_runs_only
model
string | null
Model the Loop asks for when it opens a new Session, as a Session model id: each scheduled run with execution_modenew_session, and the first run of a Loop that opens its own Session. The workspace's plan and model routing decide what serves it, as for any Session. null or auto sets none, and a Session it opens takes its usual default. It does not override the model of a Session the Loop continues: a run added there as a turn starts from that Session's own settings; send that Session a message with model to change those. An id the workspace cannot pin returns 400 invalid_model.
Required string length: 1 - 200
flex_minutes
integer
Early access (Settings › Experiments, Flexible Loop schedules): a cron schedule runs at one fixed point up to this many minutes after each scheduled time, the same point every time, instead of on the dot; 0 runs on the dot. Use it for work that only needs to run around a time, so Loops on the same schedule don't all start together. Only a cron schedule takes it (400 invalid_routine otherwise); off in this workspace returns 403 flexible_schedule_unavailable. Left out on update, the Loop keeps its window.
Required range: 0 <= x <= 120
timezone
string
IANA time zone name, such as America/Los_Angeles, that the Loop's schedule is read in. Sent alone, it moves the existing schedule to that zone; with schedule or wake_on, the new schedule is read in it. Left out, the Loop keeps its own. Without wake_on, a Loop that has no schedule refuses it with 400 routine_trigger_kind_fixed. A name that is not a known time zone returns 400 invalid_routine when a schedule is read in it.
Required string length: 1 - 120
Response
The updated Loop, and a webhook it just gave out.
The Loop as saved, and the webhook it just gave out, when it did.
loop
object
required
A Loop: standing work a Reason does, woken by a schedule or an event. Each wake opens or continues a Session of the Reason.
Show child attributes
webhook
object
The webhook a Loop just gave out, returned once.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Reason Documentation","description":"Guides to Reason, Reason Network, the HTTP API, and MCP.","colors":{"primary":"#0d0d0d","light":"#ededed","dark":"#0d0d0d"},"logo":{"light":"https://reasonmachines.com/reason-logo/reason-logo-black-transparent-512.png","dark":"https://reasonmachines.com/reason-logo/reason-logo-white-transparent-512.png","href":"/"},"favicon":"https://reasonmachines.com/favicon-512.png","api":{"playground":{"display":"simple"}},"navbar":{"primary":{"type":"button","label":"Try Reason","href":"https://reasonmachines.com/login?signin=1"}},"seo":{"metatags":{"canonical":"https://docs.reason.bot"}},"integrations":{"posthog":{"apiKey":"phc_eYpkukex3YcO0dK2UtBLdXAkzPOga8mOucwH7gqv2f","apiHost":"https://us.i.posthog.com","sessionRecording":true}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ara-90a60a07","hasAudioNarration":false,"actualSubdomain":"ara-90a60a07","customDomains":["docs.reasonmachines.com"],"gitSource":{"type":"github","owner":"reason-machines","repo":"docs.reasonmachines.com","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10fad09ffae5051c41b605"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b1288ba897fe74a4e2002b2","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"API reference","count":314},{"language":"default","tag":"Endpoints","count":313},{"language":"default","tag":"Sessions","count":44},{"language":"default","tag":"Guides","count":29},{"language":"default","tag":"Agent network","count":25},{"language":"default","tag":"Devices","count":21},{"language":"default","tag":"Reasons","count":19},{"language":"default","tag":"Checkpoint artifacts","count":16},{"language":"default","tag":"Provider credentials","count":15},{"language":"default","tag":"Repositories","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--background-light: 255 255 255;--background-dark: 24 24 24;--doc-section-light: 115 115 115;--doc-section-dark: 163 163 163}html,body{background-color:rgb(var(--background-light))!important}#sidebar{background-color:rgb(var(--background-light))!important}html.dark,html.dark body{background-color:rgb(var(--background-dark))!important}html.dark #sidebar{background-color:rgb(var(--background-dark))!important}#sidebar .sidebar-group-header{color:rgb(var(--doc-section-light))!important;font-size:0.6875rem!important;font-weight:600!important;letter-spacing:0.08em;line-height:1.2!important;text-transform:uppercase}html.dark #sidebar .sidebar-group-header{color:rgb(var(--doc-section-dark))!important}#navbar a.select-none{display:inline-flex;align-items:center;gap:0.625rem}#navbar a.select-none::after{content:\"Reason Docs\";color:inherit;font-size:1.125rem;font-weight:500;letter-spacing:-0.025em;line-height:1;white-space:nowrap}#footer{display:none!important}#pagination{margin-bottom:2.5rem!important}@media (min-width: 1024px){:root{--topbar-tabs-height: 0rem !important}#navbar .hidden.lg\\:flex.px-12.h-12{height:0;padding:0;overflow:visible}#navbar .nav-tabs{position:absolute;top:0.5rem;left:50%;z-index:30;height:3rem;transform:translateX(-50%);align-items:center;gap:0.25rem;padding:0.25rem;border-radius:9999px}#navbar .nav-tabs-item{height:2.5rem;padding:0 1rem;border-radius:9999px;color:rgb(82 82 82)}#navbar .nav-tabs-item>div{display:none}#navbar .nav-tabs-item[data-active]{color:rgb(20 20 20);background:rgb(245 245 244)}html.dark #navbar .nav-tabs-item{color:rgb(212 212 212)}html.dark #navbar .nav-tabs-item[data-active]{color:rgb(250 250 249);background:rgb(255 255 255 / 0.12)}#navbar #search-bar-entry,#navbar #assistant-entry,#navbar #topbar-cta-button>a,#navbar #topbar-cta-button>a>span{border-radius:9999px}#navbar #assistant-entry{width:2.25rem;padding:0}#navbar #assistant-entry>span{display:none}#navbar #search-bar-entry>span{display:none}#navbar .h-full.relative.flex-1.flex.items-center.gap-x-4.min-w-0>.relative.hidden.lg\\:flex.items-center.flex-1.z-20.gap-2\\.5,#navbar .h-full.relative.flex-1.flex.items-center.gap-x-4.min-w-0>.relative.hidden.lg\\:flex.items-center.flex-1.z-20,#navbar .h-full.relative.flex-1.flex.items-center.gap-x-4.min-w-0>.relative.hidden.lg\\:flex.items-center.flex-1.z-20.justify-center{flex:0 0 auto;margin-left:auto;order:2}#navbar #search-bar-entry{width:clamp(7.5rem, 10vw, 11rem)}#navbar .flex-1.relative.hidden.lg\\:flex.items-center.ml-auto.justify-end.space-x-4{flex:0 0 auto;order:3;margin-left:0.75rem}}@media (min-width: 1024px) and (max-width: 1439px){#navbar #assistant-entry{display:none!important}#navbar .h-full.relative.flex-1.flex.items-center.gap-x-4.min-w-0>.relative.hidden.lg\\:flex.items-center.flex-1.z-20.gap-2\\.5,#navbar .h-full.relative.flex-1.flex.items-center.gap-x-4.min-w-0>.relative.hidden.lg\\:flex.items-center.flex-1.z-20,#navbar .h-full.relative.flex-1.flex.items-center.gap-x-4.min-w-0>.relative.hidden.lg\\:flex.items-center.flex-1.z-20.justify-center{margin-left:auto}}.dark #navigation-items .sidebar-group a[aria-current=\"page\"]{color:rgb(250 250 249);background-color:rgb(245 245 244 / 0.16)}.dark #navigation-items .sidebar-group a:not([aria-current=\"page\"]){color:rgb(212 212 212)}.dark #navigation-items .sidebar-group a:not([aria-current=\"page\"]):hover{color:rgb(250 250 249);background-color:rgb(245 245 244 / 0.1)}.code-block,.code-block [data-component-part=\"code-block-root\"],.code-block pre.shiki{background:transparent!important}html .code-block .code-block-background{background-color:transparent!important}html.light .code-block pre.shiki code,html.light .code-block pre.shiki .line{color:rgb(31 35 40)!important}.code-block [data-floating-buttons=\"true\"] button,.code-block [data-floating-buttons=\"true\"] button svg{opacity:1!important;visibility:visible!important}.code-block [data-floating-buttons=\"true\"] button svg{color:currentColor!important}html:not(.dark) .code-block code,html:not(.dark) .codeblock-light code,html:not(.dark) pre.shiki code{color:rgb(31 35 40)!important}html.dark .code-block code,html.dark .codeblock-dark code,html.dark pre.shiki code{color:rgb(230 237 243)!important}html.dark pre.shiki:not(.code-block pre){background-color:var(--shiki-dark-bg)!important}#navbar img.nav-logo{aspect-ratio:auto 1 / 1}#content-area:has(>#content[data-page-href=\"/docs/migrate-to-reason\"])>#header{padding-top:2.625rem}[data-copy-prompt-wrap]{position:absolute;top:0;right:0;display:flex}.copy-prompt-button{--spread: 90deg;--shimmer-color: #fff;--speed: 3s;--cut: 0.05em;--copy-prompt-bg: rgb(var(--primary));position:relative;display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;height:2.25rem;padding:0 1rem;overflow:hidden;isolation:isolate;border:1px solid rgb(255 255 255 / 0.1);border-radius:0.5rem;background-color:var(--copy-prompt-bg);color:rgb(255 255 255);font-size:0.875rem;line-height:1.25rem;font-weight:500;white-space:nowrap;cursor:pointer}.copy-prompt-button:hover{--copy-prompt-bg: rgb(var(--primary-dark))}.copy-prompt-button svg,.copy-prompt-label{position:relative;z-index:1}.copy-prompt-button svg{width:1rem;height:1rem;flex-shrink:0}.copy-prompt-spark{position:absolute;inset:0;z-index:-30;overflow:hidden;filter:blur(2px);container-type:size;pointer-events:none}.copy-prompt-spark-track{position:absolute;inset:0;height:100cqh;aspect-ratio:1;animation:copy-prompt-shimmer-slide var(--speed) ease-in-out infinite alternate}.copy-prompt-spark-conic{position:absolute;inset:-100%;width:auto;aspect-ratio:1;background:conic-gradient(\n from calc(270deg - (var(--spread) * 0.5)),\n transparent 0,\n var(--shimmer-color) var(--spread),\n transparent var(--spread)\n );animation:copy-prompt-spin-around calc(var(--speed) * 2) infinite linear}.copy-prompt-backdrop{position:absolute;inset:var(--cut);z-index:-20;border-radius:inherit;background-color:var(--copy-prompt-bg);pointer-events:none}.copy-prompt-highlight{position:absolute;inset:0;z-index:0;border-radius:inherit;box-shadow:inset 0 -8px 10px #ffffff1f;transition:box-shadow 300ms;pointer-events:none}.copy-prompt-button:hover .copy-prompt-highlight{box-shadow:inset 0 -6px 10px #ffffff3f}.copy-prompt-button:active .copy-prompt-highlight{box-shadow:inset 0 -10px 10px #ffffff3f}@keyframes copy-prompt-shimmer-slide{to{transform:translate(calc(100cqw - 100%), 0)}}@keyframes copy-prompt-spin-around{0%{transform:rotate(0)}15%,35%{transform:rotate(90deg)}65%,85%{transform:rotate(270deg)}100%{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.copy-prompt-spark-track,.copy-prompt-spark-conic{animation:none}}"}]}
{"page":{"pagePath":"api-reference/loops/update-a-loop","slug":"/api-reference/loops/update-a-loop","pageMetadata":{"title":"Update a Loop","description":"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/reasons/{reasonId}/loops/{loopId}","href":"/api-reference/loops/update-a-loop","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Partial update. A paused Loop resumes from its next slot. `,_jsx(_components.code,{children:`wake_on`}),` replaces everything that wakes the Loop; `,_jsx(_components.code,{children:`timezone`}),` sent with it is only the zone its schedule is read in. When the Loop has one listener and `,_jsx(_components.code,{children:`wake_on`}),` is a single entry of that same kind (not GitHub), that listener changes in place and other fields may go with it. Any other replacement goes alone or with `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`prompt`}),`, `,_jsx(_components.code,{children:`notification_policy`}),`, `,_jsx(_components.code,{children:`until`}),`, `,_jsx(_components.code,{children:`max_runs`}),`, `,_jsx(_components.code,{children:`model`}),` and `,_jsx(_components.code,{children:`owner_user_id`}),`; another field with it returns 400 `,_jsx(_components.code,{children:`wake_on_with_other_changes`}),`. A webhook it leaves out has its key revoked for good, and a new one later gets a new URL and key; a webhook it adds returns its URL and key once, as on create. Switching the Loop on, or onto another Session or model, checks the workspace can fund it (402 `,_jsx(_components.code,{children:`loop_model_not_fundable`}),`). A new or switched-on schedule that would take the workspace’s schedules past 1,000 runs a day returns 409 `,_jsx(_components.code,{children:`schedule_budget_reached`}),`. Who sees and changes a Loop follows its Reason: the people who can use the Reason see and change its Loops, except that a teammate’s Loop on a team Reason stays that teammate’s (the Reason’s owner may see and stop it). Workspace owners and admins may pause and delete any Loop.What a Loop runs in (its Session or computer), its Slack channels and what wakes it stay with its creator, since each is checked against their access (403 `,_jsx(_components.code,{children:`loop_creator_only_change`}),`).`]}),`\n`,_jsxs(`sub`,{children:[`Scope: `,_jsx(_components.code,{children:`automations:write`})]})]})}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":"Update a Loop","description":"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/reasons/{reasonId}/loops/{loopId}","href":"/api-reference/loops/update-a-loop","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ara-90a60a07/a32c47987e312576/copy-prompt.js","/_mintlify/custom/ara-90a60a07/aa3ebaf393d9e7f5/canonical-host.js"],"openApiReferenceData":{"operation":{"operationId":"updateReasonLoop","x-reason-destructive":true,"x-reason-open-world":true,"x-reason-mcp-description":"Changes only the sent fields; `enabled` pauses or resumes. `wake_on` replaces every listener, revoking a dropped webhook's key for good; most other fields go in a separate call. Returns `loop`; an added webhook returns `url` and its `key` once only (legacy mode: a Reason secret): store it at once.","tags":["Loops"],"summary":"Update a Loop","description":"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.","responses":{"200":"91c0e24e-e9a5-413c-be52-eb09f9e2126f","400":"0c53c56a-8dd9-4f2c-a5e1-63caa1e089ba","401":"18835756-6cf6-4623-8e8f-20e5816da80a","402":"1e4b74ed-89c6-4738-be28-3732126b88dc","403":"75e4038a-3b62-4f05-b10e-39a21f5f54c4","404":"46aaf459-c431-4c69-871e-277a57b0b2ab","409":"e5a1f186-986f-4bfa-b7e6-83ceefce5038","429":"2fd02ad7-4082-4694-b1f4-784722f56d29"},"requestBody":"ced82d7b-f7c6-4696-b02e-db8f0a34b9d3","security":["685301bf-1f66-4544-a6cf-09daee3e241f"],"x-mint":{"metadata":{"description":"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it."},"content":"Partial update. A paused Loop resumes from its next slot. `wake_on` replaces everything that wakes the Loop; `timezone` sent with it is only the zone its schedule is read in. When the Loop has one listener and `wake_on` is a single entry of that same kind (not GitHub), that listener changes in place and other fields may go with it. Any other replacement goes alone or with `name`, `prompt`, `notification_policy`, `until`, `max_runs`, `model` and `owner_user_id`; another field with it returns 400 `wake_on_with_other_changes`. A webhook it leaves out has its key revoked for good, and a new one later gets a new URL and key; a webhook it adds returns its URL and key once, as on create. Switching the Loop on, or onto another Session or model, checks the workspace can fund it (402 `loop_model_not_fundable`). A new or switched-on schedule that would take the workspace's schedules past 1,000 runs a day returns 409 `schedule_budget_reached`. Who sees and changes a Loop follows its Reason: the people who can use the Reason see and change its Loops, except that a teammate's Loop on a team Reason stays that teammate's (the Reason's owner may see and stop it). Workspace owners and admins may pause and delete any Loop.What a Loop runs in (its Session or computer), its Slack channels and what wakes it stay with its creator, since each is checked against their access (403 `loop_creator_only_change`).\n\n\u003csub>Scope: `automations:write`\u003c/sub>"},"method":"patch","type":"path","servers":["368d3c78-52f7-4d3e-9590-1406c13d6c69"],"path":"/v3/organizations/{orgId}/reasons/{reasonId}/loops/{loopId}","baseUrlOptions":["https://api.reason.bot"],"title":"Update a Loop","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9e60ad33-e97d-479c-be14-b191c3ab2868":{"name":"orgId","in":"path","required":true,"description":"Organization id or slug. Resolve it with `GET /v3/self`.","schema":{"type":"string","isRequired":true,"description":"Organization id or slug. Resolve it with `GET /v3/self`.","uniqueKey":"","typeLabel":"string"}},"3469afe1-0b23-4d45-bbad-1dc649b6652d":{"name":"reasonId","description":"The Reason id, returned as `id` by `listReasons` and `createReason`.","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The Reason id, returned as `id` by `listReasons` and `createReason`.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"7ed89232-76f7-400a-abe6-8108171b0d9c":{"name":"loopId","description":"The Loop id, returned as `id` by `listReasonLoops` and as `loop.id` by `createReasonLoop`.","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The Loop id, returned as `id` by `listReasonLoops` and as `loop.id` by `createReasonLoop`.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":100000,"description":"New instructions for its future wakes.","uniqueKey":"prompt","typeLabel":"string"},"name":{"type":"string","minLength":1,"maxLength":200,"description":"New label for the Loop in the Reason's Loops list.","uniqueKey":"name","typeLabel":"string"},"enabled":{"type":"boolean","description":"`false` pauses it; `true` resumes it from its next slot.","uniqueKey":"enabled","typeLabel":"boolean"},"schedule":{"type":"string","minLength":1,"maxLength":500,"description":"A new schedule for a Loop that has one, in the same forms as a `wake_on` schedule.","uniqueKey":"schedule","typeLabel":"string"},"webhook":{"type":"object","properties":{"signing_secret_name":{"oneOf":[{"description":"Name of a stored secret (the Reason's or the caller's) that the sender generated and signs with, such as Stripe's `whsec_` secret. `null` removes it. Without one, senders use the Loop's own key.","type":"string","minLength":1,"maxLength":128,"uniqueKey":"webhook.signing_secret_name.oneOf.0","typeLabel":"string"},{"description":"Name of a stored secret (the Reason's or the caller's) that the sender generated and signs with, such as Stripe's `whsec_` secret. `null` removes it. Without one, senders use the Loop's own key.","type":"null","minLength":1,"maxLength":128,"uniqueKey":"webhook.signing_secret_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.signing_secret_name","typeLabel":"string | null"},"condition":{"oneOf":[{"type":"string","minLength":1,"maxLength":500,"description":"Plain words a small model checks each event against before it opens a Session, for example `a bug report or a complaint, not praise`. An unclear answer still wakes the Loop.","uniqueKey":"webhook.condition.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":500,"description":"Plain words a small model checks each event against before it opens a Session, for example `a bug report or a complaint, not praise`. An unclear answer still wakes the Loop.","uniqueKey":"webhook.condition.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.condition","typeLabel":"string | null"}},"description":"A webhook Loop's signing secret or condition, changed in place.","uniqueKey":"webhook","typeLabel":"object"},"wake_on":{"minItems":1,"maxItems":8,"type":"array","items":{"oneOf":[{"type":"object","description":"Wake on a schedule.","required":["schedule"],"properties":{"schedule":{"type":"string","minLength":1,"maxLength":500,"description":"When it wakes: a one-time ISO 8601 time with `Z` or an offset, a fixed interval such as `every 30 minutes` (60 seconds at least), or a cron expression such as `0 9 * * 1-5`, read in `timezone`.","example":"0 9 * * 1-5","isRequired":true,"uniqueKey":"wake_on.items.[INDEX].oneOf.0.schedule","typeLabel":"string"}},"uniqueKey":"wake_on.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Wake on each event POSTed to a webhook the Loop gives out (`receiveLoopWebhookEvent`, not an MCP tool; the sender calls it over HTTP). The URL and its key come back once, in the response that adds it.","required":["webhook"],"properties":{"webhook":{"type":"object","properties":{"signing_secret_name":{"oneOf":[{"description":"Name of a stored secret (the Reason's or the caller's) that the sender generated and signs with, such as Stripe's `whsec_` secret. `null` removes it. Without one, senders use the Loop's own key.","type":"string","minLength":1,"maxLength":128,"uniqueKey":"wake_on.items.[INDEX].oneOf.1.webhook.signing_secret_name.oneOf.0","typeLabel":"string"},{"description":"Name of a stored secret (the Reason's or the caller's) that the sender generated and signs with, such as Stripe's `whsec_` secret. `null` removes it. Without one, senders use the Loop's own key.","type":"null","minLength":1,"maxLength":128,"uniqueKey":"wake_on.items.[INDEX].oneOf.1.webhook.signing_secret_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"wake_on.items.[INDEX].oneOf.1.webhook.signing_secret_name","typeLabel":"string | null"},"condition":{"oneOf":[{"type":"string","minLength":1,"maxLength":500,"description":"Plain words a small model checks each event against before it opens a Session, for example `a bug report or a complaint, not praise`. An unclear answer still wakes the Loop.","uniqueKey":"wake_on.items.[INDEX].oneOf.1.webhook.condition.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":500,"description":"Plain words a small model checks each event against before it opens a Session, for example `a bug report or a complaint, not praise`. An unclear answer still wakes the Loop.","uniqueKey":"wake_on.items.[INDEX].oneOf.1.webhook.condition.oneOf.1","typeLabel":"null"}],"uniqueKey":"wake_on.items.[INDEX].oneOf.1.webhook.condition","typeLabel":"string | null"}},"description":"Options for the webhook the Loop gives out. Send `{}` for none.","isRequired":true,"uniqueKey":"wake_on.items.[INDEX].oneOf.1.webhook","typeLabel":"object"}},"uniqueKey":"wake_on.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Wake on a GitHub event in a connected repository.","required":["github"],"properties":{"github":{"type":"object","properties":{"repo":{"type":"string","minLength":3,"maxLength":200,"description":"`owner/name` of a GitHub repository connected to the workspace; the Loop's runs work in it.","isRequired":true,"uniqueKey":"wake_on.items.[INDEX].oneOf.2.github.repo","typeLabel":"string"},"event":{"type":"string","enum":["issue_opened","issue_labeled","issue_closed","pr_opened","pr_reopened","pr_ready_for_review","pr_pushed","pr_closed","pr_review_submitted"],"description":"What on GitHub wakes it. `issue_labeled` and `issue_closed` need `filters.label`; `pr_closed` includes merged pull requests.","isRequired":true,"uniqueKey":"wake_on.items.[INDEX].oneOf.2.github.event","typeLabel":"enum\u003cstring>"},"filters":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100,"description":"Name of a GitHub label, compared case-insensitively: the issue or pull request must carry it, or the event must be that label being added. Required for `issue_labeled` and `issue_closed`.","uniqueKey":"wake_on.items.[INDEX].oneOf.2.github.filters.label","typeLabel":"string"},"author":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"wake_on.items.[INDEX].oneOf.2.github.filters.author.items.[INDEX]","typeLabel":"string"},"description":"GitHub logins, compared case-insensitively; the issue or pull request must have been opened by one of them.","uniqueKey":"wake_on.items.[INDEX].oneOf.2.github.filters.author","typeLabel":"string[]"},"title_contains":{"type":"string","minLength":1,"maxLength":200,"description":"Text the issue or pull request title must contain, compared case-insensitively.","uniqueKey":"wake_on.items.[INDEX].oneOf.2.github.filters.title_contains","typeLabel":"string"}},"description":"Only issues or pull requests matching every filter given wake it.","uniqueKey":"wake_on.items.[INDEX].oneOf.2.github.filters","typeLabel":"object"}},"required":["repo","event"],"isRequired":true,"uniqueKey":"wake_on.items.[INDEX].oneOf.2.github","typeLabel":"object"}},"uniqueKey":"wake_on.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"Wake on Slack messages; the Loop answers as its Reason, one Session per Slack thread.","required":["slack"],"properties":{"slack":{"type":"object","properties":{"channels":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","minLength":3,"maxLength":40,"uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.channels.items.[INDEX]","typeLabel":"string"},"description":"Slack channel ids, such as `C0123ABCD`, that Reason's Slack app is in.","isRequired":true,"uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.channels","typeLabel":"string[]"},"matches":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["message","mention","keyword","reaction"],"description":"What this match reacts to: `message` any new message a person posts, top level or in a thread; `mention` a message that @mentions Reason's Slack app or names the Reason; `keyword` a message containing any of `words` (case-insensitive); `reaction` an emoji reaction, any of `emoji` or any emoji when none are listed, only the Loop owner's when `owner_only` is true.","isRequired":true,"uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.matches.items.[INDEX].kind","typeLabel":"enum\u003cstring>"}},"required":["kind"],"uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.matches.items.[INDEX]","typeLabel":"object"},"description":"What in those channels wakes it: `{\"kind\":\"message\"}` any new message (the default), `{\"kind\":\"mention\"}`, `{\"kind\":\"keyword\",\"words\":[...]}` or `{\"kind\":\"reaction\",\"emoji\":[...],\"owner_only\":false}`.","uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.matches","typeLabel":"object[]"},"from_users":{"maxItems":200,"type":"array","items":{"type":"string","minLength":3,"maxLength":40,"uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.from_users.items.[INDEX]","typeLabel":"string"},"description":"Slack user ids; only these people wake it. Empty or absent is anyone.","uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.from_users","typeLabel":"string[]"},"include_apps":{"type":"boolean","description":"Other apps' posts wake it too: emails sent to the channel, alerts and integrations.","uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.include_apps","typeLabel":"boolean"},"flag_channel":{"oneOf":[{"description":"Slack channel id where the Reason flags things for the team.","type":"string","minLength":3,"maxLength":40,"uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.flag_channel.oneOf.0","typeLabel":"string"},{"description":"Slack channel id where the Reason flags things for the team.","type":"null","minLength":3,"maxLength":40,"uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.flag_channel.oneOf.1","typeLabel":"null"}],"uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.flag_channel","typeLabel":"string | null"},"condition":{"type":"string","minLength":1,"maxLength":500,"description":"Plain words a small model checks each event against before it opens a Session, for example `a bug report or a complaint, not praise`. An unclear answer still wakes the Loop.","uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack.condition","typeLabel":"string"}},"required":["channels"],"isRequired":true,"uniqueKey":"wake_on.items.[INDEX].oneOf.3.slack","typeLabel":"object"}},"uniqueKey":"wake_on.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"wake_on.items.[INDEX]","typeLabel":"object"},"description":"Everything that wakes the Loop: at most one schedule, one webhook and one Slack listener, and GitHub events on one repository. A Loop woken by several things at once is in early access for some workspaces (403 `wake_on_unavailable` elsewhere). On update it replaces what wakes the Loop.","example":[{"schedule":"0 9 * * 1-5"},{"webhook":{}}],"uniqueKey":"wake_on","typeLabel":"object[]"},"until":{"oneOf":[{"format":"date-time","description":"End of a scheduled Loop: no wake after this time, then it reads `completed`. `null` clears it. A Loop woken by events has no end of its own.","type":"string","uniqueKey":"until.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","description":"End of a scheduled Loop: no wake after this time, then it reads `completed`. `null` clears it. A Loop woken by events has no end of its own.","type":"null","uniqueKey":"until.oneOf.1","typeLabel":"null"}],"uniqueKey":"until","typeLabel":"string\u003cdate-time> | null"},"max_runs":{"oneOf":[{"description":"How many runs a scheduled Loop makes before it reads `completed`, counted from when it is set. `null` clears it.","type":"integer","minimum":1,"maximum":100000,"uniqueKey":"max_runs.oneOf.0","typeLabel":"integer"},{"description":"How many runs a scheduled Loop makes before it reads `completed`, counted from when it is set. `null` clears it.","type":"null","minimum":1,"maximum":100000,"uniqueKey":"max_runs.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_runs","typeLabel":"integer | null"},"owner_user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Workspace member credited for each Loop run. Defaults to its creator. Changing it does not transfer execution access or billing.","uniqueKey":"owner_user_id","typeLabel":"string\u003cuuid>"},"execution_mode":{"type":"string","enum":["session","new_session"],"description":"`session` continues one Session across wakes, the one in `session_id` or else one of the Loop's own that its first wake opens; `new_session` opens a fresh Session on every wake. A Loop woken by events opens a Session per event (events sharing a correlation key continue one), so it takes neither.","uniqueKey":"execution_mode","typeLabel":"enum\u003cstring>"},"session_id":{"oneOf":[{"type":"string","format":"uuid","description":"An existing Session of the caller's that each wake continues. `null` unbinds it.","uniqueKey":"session_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"An existing Session of the caller's that each wake continues. `null` unbinds it.","uniqueKey":"session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"session_id","typeLabel":"string\u003cuuid> | null"},"device_id":{"oneOf":[{"type":"string","format":"uuid","description":"A connected computer of the caller's (`listDevices`) that its runs use; `null` runs them on a Reason cloud machine.","uniqueKey":"device_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"A connected computer of the caller's (`listDevices`) that its runs use; `null` runs them on a Reason cloud machine.","uniqueKey":"device_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"device_id","typeLabel":"string\u003cuuid> | null"},"notification_policy":{"type":"string","enum":["important_updates","failed_runs_only"],"description":"When the Loop tells the person about a run: on important updates (the default) or only when a run fails.","uniqueKey":"notification_policy","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"description":"Model the Loop asks for when it opens a new Session, as a Session model id: each scheduled run with `execution_mode` `new_session`, and the first run of a Loop that opens its own Session. The workspace's plan and model routing decide what serves it, as for any Session. `null` or `auto` sets none, and a Session it opens takes its usual default. It does not override the model of a Session the Loop continues: a run added there as a turn starts from that Session's own settings; send that Session a message with `model` to change those. An id the workspace cannot pin returns 400 `invalid_model`.","type":"string","minLength":1,"maxLength":200,"uniqueKey":"model.oneOf.0","typeLabel":"string"},{"description":"Model the Loop asks for when it opens a new Session, as a Session model id: each scheduled run with `execution_mode` `new_session`, and the first run of a Loop that opens its own Session. The workspace's plan and model routing decide what serves it, as for any Session. `null` or `auto` sets none, and a Session it opens takes its usual default. It does not override the model of a Session the Loop continues: a run added there as a turn starts from that Session's own settings; send that Session a message with `model` to change those. An id the workspace cannot pin returns 400 `invalid_model`.","type":"null","minLength":1,"maxLength":200,"uniqueKey":"model.oneOf.1","typeLabel":"null"}],"uniqueKey":"model","typeLabel":"string | null"},"flex_minutes":{"type":"integer","minimum":0,"maximum":120,"description":"Early access (Settings › Experiments, Flexible Loop schedules): a cron schedule runs at one fixed point up to this many minutes after each scheduled time, the same point every time, instead of on the dot; 0 runs on the dot. Use it for work that only needs to run around a time, so Loops on the same schedule don't all start together. Only a cron schedule takes it (400 `invalid_routine` otherwise); off in this workspace returns 403 `flexible_schedule_unavailable`. Left out on update, the Loop keeps its window.","uniqueKey":"flex_minutes","typeLabel":"integer"},"timezone":{"type":"string","minLength":1,"maxLength":120,"description":"IANA time zone name, such as `America/Los_Angeles`, that the Loop's schedule is read in. Sent alone, it moves the existing schedule to that zone; with `schedule` or `wake_on`, the new schedule is read in it. Left out, the Loop keeps its own. Without `wake_on`, a Loop that has no schedule refuses it with 400 `routine_trigger_kind_fixed`. A name that is not a known time zone returns 400 `invalid_routine` when a schedule is read in it.","uniqueKey":"timezone","typeLabel":"string"}},"description":"Only the fields sent change. `wake_on` replaces what wakes the Loop, and `timezone` with it is its schedule's zone. Unless it is one entry of the kind that alone wakes the Loop now (not GitHub), which changes that in place, send it with only `name`, `prompt`, `notification_policy`, `until`, `max_runs`, `model` and `owner_user_id`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"prompt":"\u003cstring>","name":"\u003cstring>","enabled":true,"schedule":"\u003cstring>","webhook":{"signing_secret_name":"\u003cstring>","condition":"\u003cstring>"},"wake_on":[{"schedule":"0 9 * * 1-5"},{"webhook":{}}],"until":"2023-11-07T05:31:56Z","max_runs":50000,"owner_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","session_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","device_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","model":"\u003cstring>","flex_minutes":60,"timezone":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"91c0e24e-e9a5-413c-be52-eb09f9e2126f":{"description":"The updated Loop, and a webhook it just gave out.","content":{"application/json":{"schema":{"type":"object","properties":{"loop":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Loop id. Pass it as `loopId`.","isRequired":true,"uniqueKey":"loop.id","typeLabel":"string\u003cuuid>"},"reason_id":{"type":"string","format":"uuid","description":"The Reason the Loop is filed under; its runs are that Reason's Sessions.","isRequired":true,"uniqueKey":"loop.reason_id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Label in the Reason's Loops list.","isRequired":true,"uniqueKey":"loop.name","typeLabel":"string"},"prompt":{"type":"string","description":"The instructions each wake follows.","isRequired":true,"uniqueKey":"loop.prompt","typeLabel":"string"},"enabled":{"type":"boolean","description":"False when it is paused, by hand or by the scheduler.","isRequired":true,"uniqueKey":"loop.enabled","typeLabel":"boolean"},"status":{"type":"string","enum":["active","paused","completed","failed"],"description":"`completed` when a scheduled Loop reached its `until` or `max_runs`; `paused` names why in `paused_reason`.","isRequired":true,"uniqueKey":"loop.status","typeLabel":"enum\u003cstring>"},"paused_reason":{"oneOf":[{"description":"Why the scheduler paused it (for example `out_of_credits` or `repeated_failures`); null when it is not paused or was paused by hand.","type":"string","isRequired":true,"uniqueKey":"loop.paused_reason.oneOf.0","typeLabel":"string"},{"description":"Why the scheduler paused it (for example `out_of_credits` or `repeated_failures`); null when it is not paused or was paused by hand.","type":"null","isRequired":true,"uniqueKey":"loop.paused_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.paused_reason","typeLabel":"string | null"},"trigger_description":{"type":"string","description":"What wakes it, in words.","isRequired":true,"uniqueKey":"loop.trigger_description","typeLabel":"string"},"wakes_on":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["schedule","slack","webhook","github"],"isRequired":true,"uniqueKey":"loop.wakes_on.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"description":{"type":"string","description":"That listener in words, for example its schedule or GitHub event.","isRequired":true,"uniqueKey":"loop.wakes_on.items.[INDEX].description","typeLabel":"string"}},"required":["kind","description"],"uniqueKey":"loop.wakes_on.items.[INDEX]","typeLabel":"object"},"description":"Every thing that wakes it, one entry per listener.","isRequired":true,"uniqueKey":"loop.wakes_on","typeLabel":"object[]"},"schedule":{"oneOf":[{"description":"Its schedule; null when only events wake it.","type":"object","properties":{"kind":{"type":"string","enum":["every","cron","at"],"description":"`every` a fixed interval (`every_seconds`), `cron` a cron `expression`, `at` one time.","isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"expression":{"oneOf":[{"description":"The cron expression or one-time ISO 8601 time; null for an interval.","type":"string","isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.expression.oneOf.0","typeLabel":"string"},{"description":"The cron expression or one-time ISO 8601 time; null for an interval.","type":"null","isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.expression.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.expression","typeLabel":"string | null"},"every_seconds":{"oneOf":[{"description":"The interval of an `every` schedule; null otherwise.","type":"integer","isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.every_seconds.oneOf.0","typeLabel":"integer"},{"description":"The interval of an `every` schedule; null otherwise.","type":"null","isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.every_seconds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.every_seconds","typeLabel":"integer | null"},"timezone":{"type":"string","description":"IANA time zone a cron schedule is read in.","isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.timezone","typeLabel":"string"},"next_run_at":{"oneOf":[{"description":"Its next scheduled wake; null when none is left.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.next_run_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"Its next scheduled wake; null when none is left.","type":"null","format":"date-time","isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.next_run_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.schedule.oneOf.0.next_run_at","typeLabel":"string\u003cdate-time> | null"},"flex_minutes":{"type":"integer","description":"A flexible cron schedule's window in minutes: each run is at one fixed point that far after its scheduled time at most. Absent runs on the dot.","uniqueKey":"loop.schedule.oneOf.0.flex_minutes","typeLabel":"integer"}},"required":["kind","expression","every_seconds","timezone","next_run_at"],"isRequired":true,"uniqueKey":"loop.schedule.oneOf.0","typeLabel":"object"},{"description":"Its schedule; null when only events wake it.","type":"null","properties":{"kind":{"type":"string","enum":["every","cron","at"],"description":"`every` a fixed interval (`every_seconds`), `cron` a cron `expression`, `at` one time."},"expression":{"oneOf":[{"description":"The cron expression or one-time ISO 8601 time; null for an interval.","type":"string"},{"description":"The cron expression or one-time ISO 8601 time; null for an interval.","type":"null"}]},"every_seconds":{"oneOf":[{"description":"The interval of an `every` schedule; null otherwise.","type":"integer"},{"description":"The interval of an `every` schedule; null otherwise.","type":"null"}]},"timezone":{"type":"string","description":"IANA time zone a cron schedule is read in."},"next_run_at":{"oneOf":[{"description":"Its next scheduled wake; null when none is left.","type":"string","format":"date-time"},{"description":"Its next scheduled wake; null when none is left.","type":"null","format":"date-time"}]},"flex_minutes":{"type":"integer","description":"A flexible cron schedule's window in minutes: each run is at one fixed point that far after its scheduled time at most. Absent runs on the dot."}},"required":["kind","expression","every_seconds","timezone","next_run_at"],"isRequired":true,"uniqueKey":"loop.schedule.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.schedule","typeLabel":"object | null"},"event_trigger":{"oneOf":[{"description":"The webhook or GitHub event that wakes it (the first, when several do); null when none does.","type":"object","properties":{"kind":{"type":"string","enum":["webhook","github"],"isRequired":true,"uniqueKey":"loop.event_trigger.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"url":{"oneOf":[{"description":"For a webhook: where senders POST; null when this server has no public URL. The key is never returned here.","type":"string","uniqueKey":"loop.event_trigger.oneOf.0.url.oneOf.0","typeLabel":"string"},{"description":"For a webhook: where senders POST; null when this server has no public URL. The key is never returned here.","type":"null","uniqueKey":"loop.event_trigger.oneOf.0.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"loop.event_trigger.oneOf.0.url","typeLabel":"string | null"},"repo":{"type":"string","description":"For a GitHub event: the `owner/name` repository.","uniqueKey":"loop.event_trigger.oneOf.0.repo","typeLabel":"string"},"event":{"oneOf":[{"description":"For a GitHub event: the event that wakes it, as `wake_on` names it.","type":"string","uniqueKey":"loop.event_trigger.oneOf.0.event.oneOf.0","typeLabel":"string"},{"description":"For a GitHub event: the event that wakes it, as `wake_on` names it.","type":"null","uniqueKey":"loop.event_trigger.oneOf.0.event.oneOf.1","typeLabel":"null"}],"uniqueKey":"loop.event_trigger.oneOf.0.event","typeLabel":"string | null"},"filters":{"oneOf":[{"description":"For a GitHub event: its `label`, `author` and `title_contains` filters; null for none.","type":"object","properties":{},"uniqueKey":"loop.event_trigger.oneOf.0.filters.oneOf.0","typeLabel":"object"},{"description":"For a GitHub event: its `label`, `author` and `title_contains` filters; null for none.","type":"null","properties":{},"uniqueKey":"loop.event_trigger.oneOf.0.filters.oneOf.1","typeLabel":"null"}],"uniqueKey":"loop.event_trigger.oneOf.0.filters","typeLabel":"object | null"}},"required":["kind"],"isRequired":true,"uniqueKey":"loop.event_trigger.oneOf.0","typeLabel":"object"},{"description":"The webhook or GitHub event that wakes it (the first, when several do); null when none does.","type":"null","properties":{"kind":{"type":"string","enum":["webhook","github"]},"url":{"oneOf":[{"description":"For a webhook: where senders POST; null when this server has no public URL. The key is never returned here.","type":"string"},{"description":"For a webhook: where senders POST; null when this server has no public URL. The key is never returned here.","type":"null"}]},"repo":{"type":"string","description":"For a GitHub event: the `owner/name` repository."},"event":{"oneOf":[{"description":"For a GitHub event: the event that wakes it, as `wake_on` names it.","type":"string"},{"description":"For a GitHub event: the event that wakes it, as `wake_on` names it.","type":"null"}]},"filters":{"oneOf":[{"description":"For a GitHub event: its `label`, `author` and `title_contains` filters; null for none.","type":"object","properties":{}},{"description":"For a GitHub event: its `label`, `author` and `title_contains` filters; null for none.","type":"null","properties":{}}]}},"required":["kind"],"isRequired":true,"uniqueKey":"loop.event_trigger.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.event_trigger","typeLabel":"object | null"},"slack":{"oneOf":[{"description":"The Slack channels that wake it and its health; null when Slack does not.","type":"object","properties":{"slack_team_name":{"type":"string","description":"The Slack workspace the channels belong to.","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.slack_team_name","typeLabel":"string"},"channels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.channels.items.[INDEX].id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.channels.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.channels.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.slack.oneOf.0.channels.items.[INDEX].name","typeLabel":"string | null"}},"required":["id","name"],"uniqueKey":"loop.slack.oneOf.0.channels.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"loop.slack.oneOf.0.channels","typeLabel":"object[]"},"matches":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.matches.items.[INDEX].kind","typeLabel":"string"}},"required":["kind"],"uniqueKey":"loop.slack.oneOf.0.matches.items.[INDEX]","typeLabel":"object"},"description":"What in those channels wakes it, as `wake_on` `slack.matches` names it.","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.matches","typeLabel":"object[]"},"from_users":{"type":"array","items":{"type":"string","uniqueKey":"loop.slack.oneOf.0.from_users.items.[INDEX]","typeLabel":"string"},"description":"Slack user ids that wake it; empty for anyone.","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.from_users","typeLabel":"string[]"},"include_apps":{"type":"boolean","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.include_apps","typeLabel":"boolean"},"flag_channel":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.flag_channel.oneOf.0.id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.flag_channel.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.flag_channel.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.slack.oneOf.0.flag_channel.oneOf.0.name","typeLabel":"string | null"}},"required":["id","name"],"isRequired":true,"uniqueKey":"loop.slack.oneOf.0.flag_channel.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name"],"isRequired":true,"uniqueKey":"loop.slack.oneOf.0.flag_channel.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.slack.oneOf.0.flag_channel","typeLabel":"object | null"},"posts_today":{"type":"integer","description":"Posts (replies and flags, live or drafted) in the last 24 hours.","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.posts_today","typeLabel":"integer"},"health":{"type":"array","items":{"type":"string","uniqueKey":"loop.slack.oneOf.0.health.items.[INDEX]","typeLabel":"string"},"description":"Plain sentences on what keeps it from working fully, for example that Reason's app is not in a channel. Empty when healthy.","isRequired":true,"uniqueKey":"loop.slack.oneOf.0.health","typeLabel":"string[]"},"condition":{"type":"string","uniqueKey":"loop.slack.oneOf.0.condition","typeLabel":"string"}},"required":["slack_team_name","channels","matches","from_users","include_apps","flag_channel","posts_today","health"],"isRequired":true,"uniqueKey":"loop.slack.oneOf.0","typeLabel":"object"},{"description":"The Slack channels that wake it and its health; null when Slack does not.","type":"null","properties":{"slack_team_name":{"type":"string","description":"The Slack workspace the channels belong to."},"channels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name"]}},"matches":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"}},"required":["kind"]},"description":"What in those channels wakes it, as `wake_on` `slack.matches` names it."},"from_users":{"type":"array","items":{"type":"string"},"description":"Slack user ids that wake it; empty for anyone."},"include_apps":{"type":"boolean"},"condition":{"type":"string"},"flag_channel":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name"]},{"type":"null","properties":{"id":{"type":"string"},"name":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name"]}]},"posts_today":{"type":"integer","description":"Posts (replies and flags, live or drafted) in the last 24 hours."},"health":{"type":"array","items":{"type":"string"},"description":"Plain sentences on what keeps it from working fully, for example that Reason's app is not in a channel. Empty when healthy."}},"required":["slack_team_name","channels","matches","from_users","include_apps","flag_channel","posts_today","health"],"isRequired":true,"uniqueKey":"loop.slack.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.slack","typeLabel":"object | null"},"execution_mode":{"type":"string","enum":["session","new_session"],"description":"`session` continues one Session across wakes; `new_session` opens a fresh one each wake.","isRequired":true,"uniqueKey":"loop.execution_mode","typeLabel":"enum\u003cstring>"},"session_id":{"oneOf":[{"description":"The Session it is bound to, when one is.","type":"string","isRequired":true,"uniqueKey":"loop.session_id.oneOf.0","typeLabel":"string"},{"description":"The Session it is bound to, when one is.","type":"null","isRequired":true,"uniqueKey":"loop.session_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.session_id","typeLabel":"string | null"},"latest_session_id":{"oneOf":[{"description":"The Session its most recent wake ran in.","type":"string","isRequired":true,"uniqueKey":"loop.latest_session_id.oneOf.0","typeLabel":"string"},{"description":"The Session its most recent wake ran in.","type":"null","isRequired":true,"uniqueKey":"loop.latest_session_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.latest_session_id","typeLabel":"string | null"},"device_id":{"oneOf":[{"description":"The connected computer its runs use; null for a Reason cloud machine.","type":"string","isRequired":true,"uniqueKey":"loop.device_id.oneOf.0","typeLabel":"string"},{"description":"The connected computer its runs use; null for a Reason cloud machine.","type":"null","isRequired":true,"uniqueKey":"loop.device_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.device_id","typeLabel":"string | null"},"repository":{"oneOf":[{"description":"The `owner/name` repository its runs work in, when it is bound to one.","type":"string","isRequired":true,"uniqueKey":"loop.repository.oneOf.0","typeLabel":"string"},{"description":"The `owner/name` repository its runs work in, when it is bound to one.","type":"null","isRequired":true,"uniqueKey":"loop.repository.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.repository","typeLabel":"string | null"},"model":{"oneOf":[{"description":"The model the Loop asks for when it opens a new Session; null asks for none, and such a Session takes its usual default. It does not override the model of a Session the Loop continues.","type":"string","isRequired":true,"uniqueKey":"loop.model.oneOf.0","typeLabel":"string"},{"description":"The model the Loop asks for when it opens a new Session; null asks for none, and such a Session takes its usual default. It does not override the model of a Session the Loop continues.","type":"null","isRequired":true,"uniqueKey":"loop.model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.model","typeLabel":"string | null"},"notification_policy":{"type":"string","enum":["important_updates","failed_runs_only"],"isRequired":true,"uniqueKey":"loop.notification_policy","typeLabel":"enum\u003cstring>"},"until":{"oneOf":[{"description":"When a scheduled Loop ends; null for no end.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"loop.until.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"When a scheduled Loop ends; null for no end.","type":"null","format":"date-time","isRequired":true,"uniqueKey":"loop.until.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.until","typeLabel":"string\u003cdate-time> | null"},"max_runs":{"oneOf":[{"description":"How many runs it makes before it reads `completed`; null for no limit.","type":"integer","isRequired":true,"uniqueKey":"loop.max_runs.oneOf.0","typeLabel":"integer"},{"description":"How many runs it makes before it reads `completed`; null for no limit.","type":"null","isRequired":true,"uniqueKey":"loop.max_runs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.max_runs","typeLabel":"integer | null"},"run_count":{"type":"integer","description":"Runs it made. With `max_runs`: the scheduled runs since `max_runs` was last set. Without one: those plus the webhook deliveries and Slack messages delivered as a run since that count began; GitHub-event runs are not counted.","isRequired":true,"uniqueKey":"loop.run_count","typeLabel":"integer"},"last_run":{"oneOf":[{"description":"Its most recent run; null before the first.","type":"object","properties":{"status":{"type":"string","description":"How the run went: `running`, `succeeded`, `failed` or `cancelled`.","isRequired":true,"uniqueKey":"loop.last_run.oneOf.0.status","typeLabel":"string"},"at":{"type":"string","format":"date-time","description":"When it finished, or when it started while it is still running.","isRequired":true,"uniqueKey":"loop.last_run.oneOf.0.at","typeLabel":"string\u003cdate-time>"},"session_id":{"type":"string","description":"The Session the run worked in.","isRequired":true,"uniqueKey":"loop.last_run.oneOf.0.session_id","typeLabel":"string"}},"required":["status","at","session_id"],"isRequired":true,"uniqueKey":"loop.last_run.oneOf.0","typeLabel":"object"},{"description":"Its most recent run; null before the first.","type":"null","properties":{"status":{"type":"string","description":"How the run went: `running`, `succeeded`, `failed` or `cancelled`."},"at":{"type":"string","format":"date-time","description":"When it finished, or when it started while it is still running."},"session_id":{"type":"string","description":"The Session the run worked in."}},"required":["status","at","session_id"],"isRequired":true,"uniqueKey":"loop.last_run.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"loop.last_run","typeLabel":"object | null"},"owner_user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Workspace member credited when the Loop wakes or creates a Session.","isRequired":true,"uniqueKey":"loop.owner_user_id","typeLabel":"string\u003cuuid>"},"created_by_user_id":{"type":"string","format":"uuid","description":"Who created it; its runs are billed as theirs.","isRequired":true,"uniqueKey":"loop.created_by_user_id","typeLabel":"string\u003cuuid>"},"viewer_access":{"type":"object","properties":{"edit":{"type":"boolean","isRequired":true,"uniqueKey":"loop.viewer_access.edit","typeLabel":"boolean"},"stop":{"type":"boolean","isRequired":true,"uniqueKey":"loop.viewer_access.stop","typeLabel":"boolean"}},"required":["edit","stop"],"description":"What the caller may do with it: change what it runs (`edit`), or pause and delete it (`stop`). Always present in listReasonLoops, getReasonLoop and runReasonLoop; may be absent from the `loop` that createReasonLoop and updateReasonLoop return.","uniqueKey":"loop.viewer_access","typeLabel":"object"}},"required":["id","reason_id","name","prompt","enabled","status","paused_reason","trigger_description","wakes_on","schedule","event_trigger","slack","execution_mode","session_id","latest_session_id","device_id","repository","model","notification_policy","until","max_runs","run_count","last_run","owner_user_id","created_by_user_id"],"description":"A Loop: standing work a Reason does, woken by a schedule or an event. Each wake opens or continues a Session of the Reason.","isRequired":true,"uniqueKey":"loop","typeLabel":"object"},"webhook":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Where senders POST events over HTTP (`receiveLoopWebhookEvent`, not an MCP tool). Also readable later as `event_trigger.url`.","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string\u003curi>"},"key":{"type":"string","description":"Credential. Store this in your secret store now; it is never shown again. Send as Authorization: Bearer \u003ckey>, sign the body with it, or append it to the URL. REST and consolidated-mode MCP return it once; legacy-mode MCP returns key_secret instead. Never log or cache this value.","isRequired":true,"uniqueKey":"webhook.key","typeLabel":"string"}},"required":["url","key"],"description":"The webhook a Loop just gave out, returned once.","x-reason-mcp-schema":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Where senders POST events over HTTP (`receiveLoopWebhookEvent`, not an MCP tool). Also readable later as `event_trigger.url`."},"key":{"type":"string","description":"Credential. Store this in your secret store now; it is never shown again. Send as Authorization: Bearer \u003ckey>, sign the body with it, or append it to the URL. REST and consolidated-mode MCP return it once; legacy-mode MCP returns key_secret instead. Never log or cache this value."}},"required":["url","key"],"additionalProperties":false,"description":"The webhook a Loop just gave out, returned once."},{"type":"object","properties":{"url":{"type":"string","format":"uri"},"key_secret":{"type":"string","description":"Legacy-mode MCP only: the named secret on this Reason holding the webhook credential. No credential value is returned."},"how_to_call":{"type":"string","description":"How to use the stored credential without putting it in a transcript."}},"required":["url","key_secret","how_to_call"],"additionalProperties":false,"description":"The webhook credential was stored atomically on its Reason, before issuance committed."}]},"uniqueKey":"webhook","typeLabel":"object"}},"required":["loop"],"description":"The Loop as saved, and the webhook it just gave out, when it did.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"loop":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","reason_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","prompt":"\u003cstring>","enabled":true,"status":"active","paused_reason":"\u003cstring>","trigger_description":"\u003cstring>","wakes_on":[{"kind":"schedule","description":"\u003cstring>"}],"schedule":{"kind":"every","expression":"\u003cstring>","every_seconds":123,"timezone":"\u003cstring>","next_run_at":"2023-11-07T05:31:56Z","flex_minutes":123},"event_trigger":{"kind":"webhook","url":"\u003cstring>","repo":"\u003cstring>","event":"\u003cstring>","filters":{}},"slack":{"slack_team_name":"\u003cstring>","channels":[{"id":"\u003cstring>","name":"\u003cstring>"}],"matches":[{"kind":"\u003cstring>"}],"from_users":["\u003cstring>"],"include_apps":true,"flag_channel":{"id":"\u003cstring>","name":"\u003cstring>"},"posts_today":123,"health":["\u003cstring>"],"condition":"\u003cstring>"},"execution_mode":"session","session_id":"\u003cstring>","latest_session_id":"\u003cstring>","device_id":"\u003cstring>","repository":"\u003cstring>","model":"\u003cstring>","notification_policy":"important_updates","until":"2023-11-07T05:31:56Z","max_runs":123,"run_count":123,"last_run":{"status":"\u003cstring>","at":"2023-11-07T05:31:56Z","session_id":"\u003cstring>"},"owner_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created_by_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","viewer_access":{"edit":true,"stop":true}},"webhook":{"url":"\u003cstring>","key":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"0c53c56a-8dd9-4f2c-a5e1-63caa1e089ba":{"description":"Invalid request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.type","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.1.request_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.oneOf.1.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.1.request_id","typeLabel":"string | null"}},"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"uniqueKey":"error","typeLabel":"string | object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"required_scope":{"type":"string","description":"The capability required when the request was denied for a missing scope.","uniqueKey":"required_scope","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"prompt_required"},"examples":{"Example":{"title":"Example","value":{"error":"prompt_required"}}},"exampleType":"examples"}},"exampleType":"examples"},"18835756-6cf6-4623-8e8f-20e5816da80a":{"description":"Missing, invalid, or expired key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.type","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.1.request_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.oneOf.1.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.1.request_id","typeLabel":"string | null"}},"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"uniqueKey":"error","typeLabel":"string | object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"required_scope":{"type":"string","description":"The capability required when the request was denied for a missing scope.","uniqueKey":"required_scope","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"missing_bearer","message":"Authorization required"},"examples":{"Example":{"title":"Example","value":{"error":"missing_bearer","message":"Authorization required"}}},"exampleType":"examples"}},"exampleType":"examples"},"1e4b74ed-89c6-4738-be28-3732126b88dc":{"description":"The workspace's plan or credits can't run this Loop's model (`loop_model_not_fundable`).","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"75e4038a-3b62-4f05-b10e-39a21f5f54c4":{"description":"The key lacks the required scope or role.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.type","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.1.request_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.oneOf.1.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.1.request_id","typeLabel":"string | null"}},"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"uniqueKey":"error","typeLabel":"string | object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"required_scope":{"type":"string","description":"The capability required when the request was denied for a missing scope.","uniqueKey":"required_scope","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"missing_scope","required_scope":"sessions:read"},"examples":{"Example":{"title":"Example","value":{"error":"missing_scope","required_scope":"sessions:read"}}},"exampleType":"examples"}},"exampleType":"examples"},"46aaf459-c431-4c69-871e-277a57b0b2ab":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.type","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.1.request_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.oneOf.1.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.1.request_id","typeLabel":"string | null"}},"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"uniqueKey":"error","typeLabel":"string | object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"required_scope":{"type":"string","description":"The capability required when the request was denied for a missing scope.","uniqueKey":"required_scope","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"session_not_found"},"examples":{"Example":{"title":"Example","value":{"error":"session_not_found"}}},"exampleType":"examples"}},"exampleType":"examples"},"e5a1f186-986f-4bfa-b7e6-83ceefce5038":{"description":"The change can't apply to the Loop as it is (for example `loop_paused` or `loop_runs_used_up`); the message says what to do.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"2fd02ad7-4082-4694-b1f4-784722f56d29":{"description":"Too many requests. Retry after the number of seconds in the `Retry-After` response header.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","minimum":1},"required":true}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.type","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.1.message","typeLabel":"string"},"request_id":{"oneOf":[{"type":"string","uniqueKey":"error.oneOf.1.request_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.oneOf.1.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.1.request_id","typeLabel":"string | null"}},"uniqueKey":"error.oneOf.1","typeLabel":"object"}],"uniqueKey":"error","typeLabel":"string | object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"required_scope":{"type":"string","description":"The capability required when the request was denied for a missing scope.","uniqueKey":"required_scope","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"rate_limited","message":"This API key exceeded its request-rate limit"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"rate_limited","message":"This API key exceeded its request-rate limit"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"685301bf-1f66-4544-a6cf-09daee3e241f":{"reasonApiKey":{"type":"http","scheme":"bearer","bearerFormat":"reason_\u003chex> (legacy: ara_\u003chex>)","description":"Your Reason API key from Settings › API keys. New keys use `reason_`; legacy `ara_` keys remain accepted. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, devices:read, devices:write, devices:use, computers:read, computers:write, ssh:write, knowledge:read, memory:read, memory:write, skills:read, skills:write, pages:read, pages:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, network:read, network:write, automations:read, automations:write, agent_auth:read. devices:write, devices:use, computers:read, computers:write, ssh:write, network:read and network:write are opt-in, excluded from default keys. computers:read lists visible cloud and connected computers without waking them or granting execution access. devices:read discovers local Device targets; devices:use separately consents to local execution, so a discover-and-run local workflow needs both. devices:write manages enrollment and device grants; computers:write creates or deletes cloud computers; ssh:write manages retained SSH access. network:read reads the saved workspace network policy; network:write replaces custom allowed hosts and requires a current organization owner/admin. Legacy project PATCH requests containing network_allowed_hosts also require network:write plus their existing run scope and project management permission; saved project hosts do not affect current session egress. Only owners/admins can mint or manage keys with network:write; keys cannot grant themselves more authority. See /docs/network-policies for replacement semantics and runtime applicability. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:read reads sessions, including the assistant, reasoning and tool activity in their events. sessions:debug is privileged: only for organization owners/admins, it expands session events to the full diagnostic projection (diagnostic event kinds, status text and raw event metadata).","scopes":["automations:write"],"schemeName":"reasonApiKey"}}},"servers":{"368d3c78-52f7-4d3e-9590-1406c13d6c69":{"url":"https://api.reason.bot"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"reason_\u003chex> (legacy: ara_\u003chex>)","description":"Your Reason API key from Settings › API keys. New keys use `reason_`; legacy `ara_` keys remain accepted. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, devices:read, devices:write, devices:use, computers:read, computers:write, ssh:write, knowledge:read, memory:read, memory:write, skills:read, skills:write, pages:read, pages:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, network:read, network:write, automations:read, automations:write, agent_auth:read. devices:write, devices:use, computers:read, computers:write, ssh:write, network:read and network:write are opt-in, excluded from default keys. computers:read lists visible cloud and connected computers without waking them or granting execution access. devices:read discovers local Device targets; devices:use separately consents to local execution, so a discover-and-run local workflow needs both. devices:write manages enrollment and device grants; computers:write creates or deletes cloud computers; ssh:write manages retained SSH access. network:read reads the saved workspace network policy; network:write replaces custom allowed hosts and requires a current organization owner/admin. Legacy project PATCH requests containing network_allowed_hosts also require network:write plus their existing run scope and project management permission; saved project hosts do not affect current session egress. Only owners/admins can mint or manage keys with network:write; keys cannot grant themselves more authority. See /docs/network-policies for replacement semantics and runtime applicability. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:read reads sessions, including the assistant, reasoning and tool activity in their events. sessions:debug is privileged: only for organization owners/admins, it expands session events to the full diagnostic projection (diagnostic event kinds, status text and raw event metadata).","scopes":["automations:write"],"schemeName":"reasonApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your Reason API key from Settings › API keys. New keys use `reason_`; legacy `ara_` keys remain accepted. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, devices:read, devices:write, devices:use, computers:read, computers:write, ssh:write, knowledge:read, memory:read, memory:write, skills:read, skills:write, pages:read, pages:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, network:read, network:write, automations:read, automations:write, agent_auth:read. devices:write, devices:use, computers:read, computers:write, ssh:write, network:read and network:write are opt-in, excluded from default keys. computers:read lists visible cloud and connected computers without waking them or granting execution access. devices:read discovers local Device targets; devices:use separately consents to local execution, so a discover-and-run local workflow needs both. devices:write manages enrollment and device grants; computers:write creates or deletes cloud computers; ssh:write manages retained SSH access. network:read reads the saved workspace network policy; network:write replaces custom allowed hosts and requires a current organization owner/admin. Legacy project PATCH requests containing network_allowed_hosts also require network:write plus their existing run scope and project management permission; saved project hosts do not affect current session egress. Only owners/admins can mint or manage keys with network:write; keys cannot grant themselves more authority. See /docs/network-policies for replacement semantics and runtime applicability. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:read reads sessions, including the assistant, reasoning and tool activity in their events. sessions:debug is privileged: only for organization owners/admins, it expands session events to the full diagnostic projection (diagnostic event kinds, status text and raw event metadata).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"reasonApiKey","name":"Authorization"}],"title":"reasonApiKey"}]},"originalFileLocation":"openapi.docs.json"},"subdomain":"ara-90a60a07","siteName":"Reason Documentation","title":"Update a Loop - Reason Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-04T08:45:11.812Z","originalFileLocation":"api-reference/loops/update-a-loop.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=\"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Reason Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://reasonmachines.com/favicon-512.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://reasonmachines.com/favicon-512.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://reasonmachines.com/favicon-512.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://reasonmachines.com/favicon-512.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a Loop - Reason Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Reason Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.reason.bot/api-reference/loops/update-a-loop\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ara-90a60a07.mintlify.site/_mintlify/api/og/v2?division=Loops\u0026amp;title=Update+a+Loop\u0026amp;description=Partially+update+a+Loop%2C+such+as+its+name%2C+prompt%2C+model+or+max_runs.+A+paused+Loop+resumes+from+its+next+slot%3B+wake_on+replaces+everything+that+wakes+it.\u0026amp;theme=e15f170bb306065d806780df\u0026amp;signature=77d2fe92b1b123ead805134d68b129e9b2d13dc5847eeabc5d0a3e10ecf37d90\">\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=\"Update a Loop - Reason Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ara-90a60a07.mintlify.site/_mintlify/api/og/v2?division=Loops\u0026amp;title=Update+a+Loop\u0026amp;description=Partially+update+a+Loop%2C+such+as+its+name%2C+prompt%2C+model+or+max_runs.+A+paused+Loop+resumes+from+its+next+slot%3B+wake_on+replaces+everything+that+wakes+it.\u0026amp;theme=e15f170bb306065d806780df\u0026amp;signature=77d2fe92b1b123ead805134d68b129e9b2d13dc5847eeabc5d0a3e10ecf37d90\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/ara-90a60a07/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Reason Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0d0d0d\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.reason.bot/api-reference/loops/update-a-loop\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/loops/update-a-loop.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.reason.bot/#organization\",\"name\":\"Reason Documentation\",\"url\":\"https://docs.reason.bot\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://reasonmachines.com/reason-logo/reason-logo-black-transparent-512.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.reason.bot#website\",\"name\":\"Reason Documentation\",\"url\":\"https://docs.reason.bot\",\"publisher\":{\"@id\":\"https://docs.reason.bot/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.reason.bot/api-reference/loops/update-a-loop#webpage\",\"url\":\"https://docs.reason.bot/api-reference/loops/update-a-loop\",\"name\":\"Update a Loop\",\"description\":\"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.\",\"dateModified\":\"2026-12-04T08:45:11.812Z\",\"isPartOf\":{\"@id\":\"https://docs.reason.bot#website\"},\"breadcrumb\":{\"@id\":\"https://docs.reason.bot/api-reference/loops/update-a-loop#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.reason.bot/api-reference/loops/update-a-loop#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.reason.bot/api-reference/account/verify-credentials\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Loops\",\"item\":\"https://docs.reason.bot/api-reference/loops/list-a-reasons-loops\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a Loop\",\"item\":\"https://docs.reason.bot/api-reference/loops/update-a-loop\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.reason.bot/api-reference/loops/update-a-loop#apireference\",\"headline\":\"Update a Loop\",\"name\":\"Update a Loop\",\"description\":\"Partially update a Loop, such as its name, prompt, model or max_runs. A paused Loop resumes from its next slot; wake_on replaces everything that wakes it.\",\"url\":\"https://docs.reason.bot/api-reference/loops/update-a-loop\",\"mainEntityOfPage\":{\"@id\":\"https://docs.reason.bot/api-reference/loops/update-a-loop#webpage\"},\"dateModified\":\"2026-12-04T08:45:11.812Z\",\"publisher\":{\"@id\":\"https://docs.reason.bot/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.reason.bot#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Reason Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Reason Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/loops/update-a-loop.md","siteName":"Reason Documentation","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/guide"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/docs/api-overview"}]},{"group":"Endpoints","pages":[{"group":"Account","pages":[{"title":"Verify credentials","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/self","href":"/api-reference/account/verify-credentials"},{"title":"Read backend deployment identity","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/deployment","href":"/api-reference/account/read-backend-deployment-identity"},{"title":"Fetch the OpenAPI document","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/openapi.json","href":"/api-reference/account/fetch-the-openapi-document"},{"title":"List Early Access features","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/early-access","href":"/api-reference/account/list-early-access-features"},{"title":"Read workspace readiness","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/self/readiness","href":"/api-reference/account/read-workspace-readiness"}]},{"group":"Feedback","pages":[{"title":"Report agent feedback","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/feedback","href":"/api-reference/feedback/report-agent-feedback"}]},{"group":"Machines","pages":[{"title":"Approve a worker with a Machine token","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/machines/enrollment-tickets","href":"/api-reference/machines/approve-a-worker-with-a-machine-token"},{"title":"List Machines","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/machines","href":"/api-reference/machines/list-machines"},{"title":"Create a Machine","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/machines","href":"/api-reference/machines/create-a-machine"},{"title":"Read a Machine","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/machines/{machine}","href":"/api-reference/machines/read-a-machine"},{"title":"Delete a Machine","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/machines/{machine}","href":"/api-reference/machines/delete-a-machine"},{"title":"Approve a worker for a Machine","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/machines/{machine}/enrollment-tickets","href":"/api-reference/machines/approve-a-worker-for-a-machine"},{"title":"List Machine tokens","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/machines/{machine}/tokens","href":"/api-reference/machines/list-machine-tokens"},{"title":"Create a Machine token","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/machines/{machine}/tokens","href":"/api-reference/machines/create-a-machine-token"},{"title":"Revoke a Machine token","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/machines/{machine}/tokens/{tokenId}","href":"/api-reference/machines/revoke-a-machine-token"}]},{"group":"Agent network","pages":[{"title":"Get a Reason Network proof for this computer","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/network/proof","href":"/api-reference/agent-network/get-a-reason-network-proof-for-this-computer"},{"title":"List your Reason Network teams","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/network/teams","href":"/api-reference/agent-network/list-your-reason-network-teams"},{"title":"Register one of your Reason Network teams","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/network/teams","href":"/api-reference/agent-network/register-one-of-your-reason-network-teams"},{"title":"Remove a Reason Network team nobody is on any more","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/network/teams","href":"/api-reference/agent-network/remove-a-reason-network-team-nobody-is-on-any-more"},{"title":"Remove a Reason Network team from your directory","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/network/teams/forget","href":"/api-reference/agent-network/remove-a-reason-network-team-from-your-directory"},{"title":"Say this computer left one of your Reason Network teams","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/network/teams/leave","href":"/api-reference/agent-network/say-this-computer-left-one-of-your-reason-network-teams"},{"title":"Get the workspace's agent network","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/agent-network","href":"/api-reference/agent-network/get-the-workspaces-agent-network"},{"title":"Replace the workspace's agent network join link","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/agent-network","href":"/api-reference/agent-network/replace-the-workspaces-agent-network-join-link"},{"title":"Start the workspace's agent network, or get the one that exists","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network","href":"/api-reference/agent-network/start-the-workspaces-agent-network-or-get-the-one-that-exists"},{"title":"List the agents on the caller's Reason Network","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/agent-network/agents","href":"/api-reference/agent-network/list-the-agents-on-the-callers-reason-network"},{"title":"Read the caller's Reason Network inbox","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network/inbox","href":"/api-reference/agent-network/read-the-callers-reason-network-inbox"},{"title":"Rename the caller's session on Reason Network","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/agent-network/me","href":"/api-reference/agent-network/rename-the-callers-session-on-reason-network"},{"title":"Ask an agent on the caller's Reason Network","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network/messages","href":"/api-reference/agent-network/ask-an-agent-on-the-callers-reason-network"},{"title":"Move the caller's connection to another of its person's Reason Network networks","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/agent-network/network","href":"/api-reference/agent-network/move-the-callers-connection-to-another-of-its-persons-reason-network-networks"},{"title":"List the Reason Network networks the caller's connection can join","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/agent-network/networks","href":"/api-reference/agent-network/list-the-reason-network-networks-the-callers-connection-can-join"},{"title":"Claim the next agent network call this computer carries","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network/relay/claim","href":"/api-reference/agent-network/claim-the-next-agent-network-call-this-computer-carries"},{"title":"Report the outcome of a claimed agent network call","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network/relay/jobs/{jobId}","href":"/api-reference/agent-network/report-the-outcome-of-a-claimed-agent-network-call"},{"title":"Hand over messages that reached the sessions this computer sends from or carries","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network/relay/replies","href":"/api-reference/agent-network/hand-over-messages-that-reached-the-sessions-this-computer-sends-from-or-carries"},{"title":"Keep this computer's agents' Network messages (retired)","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network/relay/transcript","href":"/api-reference/agent-network/keep-this-computers-agents-network-messages-retired"},{"title":"Report aggregate network usage","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network/relay/usage","href":"/api-reference/agent-network/report-aggregate-network-usage"},{"title":"Retire one of the person's chat session names on Reason Network","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network/retire","href":"/api-reference/agent-network/retire-one-of-the-persons-chat-session-names-on-reason-network"},{"title":"Send a message on the caller's Reason Network","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/agent-network/send","href":"/api-reference/agent-network/send-a-message-on-the-callers-reason-network"},{"title":"Check an outgoing Network message without resending","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/agent-network/send/status","href":"/api-reference/agent-network/check-an-outgoing-network-message-without-resending"},{"title":"List the agent sessions on the caller's Reason Network","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/agent-network/team","href":"/api-reference/agent-network/list-the-agent-sessions-on-the-callers-reason-network"},{"title":"Wake the caller's routine when a message reaches its Reason Network inbox","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/agent-network/wake","href":"/api-reference/agent-network/wake-the-callers-routine-when-a-message-reaches-its-reason-network-inbox"}]},{"group":"Organizations","pages":[{"title":"List organizations","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations","href":"/api-reference/organizations/list-organizations"},{"title":"Create an organization","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations","href":"/api-reference/organizations/create-an-organization"},{"title":"Retrieve an organization","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}","href":"/api-reference/organizations/retrieve-an-organization"},{"title":"Delete an organization","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}","href":"/api-reference/organizations/delete-an-organization"},{"title":"Update an organization","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}","href":"/api-reference/organizations/update-an-organization"},{"title":"Create a single-use benchmark workspace","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/ephemeral-workspaces","href":"/api-reference/organizations/create-a-single-use-benchmark-workspace"},{"title":"Retire a single-use benchmark workspace","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/ephemeral-workspaces/{workspaceId}/retire","href":"/api-reference/organizations/retire-a-single-use-benchmark-workspace"}]},{"group":"Agent Auth","pages":[{"title":"List Reason models","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/agent-auth/models","href":"/api-reference/agent-auth/list-reason-models"},{"title":"Get Reason inference availability","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/agent-auth/status","href":"/api-reference/agent-auth/get-reason-inference-availability"}]},{"group":"Attachments","pages":[{"title":"List attachments","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/attachments","href":"/api-reference/attachments/list-attachments"},{"title":"Upload an attachment","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/attachments","href":"/api-reference/attachments/upload-an-attachment"},{"title":"Download an attachment","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/attachments/{attachmentId}","href":"/api-reference/attachments/download-an-attachment"},{"title":"Delete an attachment","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/attachments/{attachmentId}","href":"/api-reference/attachments/delete-an-attachment"},{"title":"Download an attachment (named)","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/attachments/{attachmentId}/{filename}","href":"/api-reference/attachments/download-an-attachment-named"}]},{"group":"Audit Logs","pages":[{"title":"List audit log entries","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/audit-logs","href":"/api-reference/audit-logs/list-audit-log-entries"}]},{"group":"Automations","pages":[{"title":"List automations","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/automations","href":"/api-reference/automations/list-automations"},{"title":"Create an automation","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/automations","href":"/api-reference/automations/create-an-automation"},{"title":"Retrieve an automation","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/automations/{automationId}","href":"/api-reference/automations/retrieve-an-automation"},{"title":"Delete an automation","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/automations/{automationId}","href":"/api-reference/automations/delete-an-automation"},{"title":"Update an automation","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/automations/{automationId}","href":"/api-reference/automations/update-an-automation"},{"title":"List an automation's triggers","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/automations/{automationId}/triggers","href":"/api-reference/automations/list-an-automations-triggers"},{"title":"Add a trigger to an automation","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/automations/{automationId}/triggers","href":"/api-reference/automations/add-a-trigger-to-an-automation"},{"title":"Remove a trigger from an automation","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/automations/{automationId}/triggers/{triggerId}","href":"/api-reference/automations/remove-a-trigger-from-an-automation"}]},{"group":"Capabilities","pages":[{"title":"Discover public operations admitted by this credential's scopes","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/capabilities","href":"/api-reference/capabilities/discover-public-operations-admitted-by-this-credentials-scopes"}]},{"group":"Workspace events","pages":[{"title":"Stream workspace changes","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/changes","href":"/api-reference/workspace-events/stream-workspace-changes"},{"title":"List event webhooks","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/event-webhooks","href":"/api-reference/workspace-events/list-event-webhooks"},{"title":"Register an event webhook","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/event-webhooks","href":"/api-reference/workspace-events/register-an-event-webhook"},{"title":"Get an event webhook","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/event-webhooks/{webhookId}","href":"/api-reference/workspace-events/get-an-event-webhook"},{"title":"Delete an event webhook","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/event-webhooks/{webhookId}","href":"/api-reference/workspace-events/delete-an-event-webhook"},{"title":"Update an event webhook","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/event-webhooks/{webhookId}","href":"/api-reference/workspace-events/update-an-event-webhook"},{"title":"Stream workspace events","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/events","href":"/api-reference/workspace-events/stream-workspace-events"}]},{"group":"Cloud Access","pages":[{"title":"Read cloud access","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/cloud-access","href":"/api-reference/cloud-access/read-cloud-access"},{"title":"Create or replace a cloud access connection","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/cloud-access/{provider}","href":"/api-reference/cloud-access/create-or-replace-a-cloud-access-connection"},{"title":"Delete a cloud access connection","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/cloud-access/{provider}","href":"/api-reference/cloud-access/delete-a-cloud-access-connection"},{"title":"Test a cloud access connection","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/cloud-access/{provider}/test","href":"/api-reference/cloud-access/test-a-cloud-access-connection"}]},{"group":"Computers","pages":[{"title":"List workspace computers","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/computers","href":"/api-reference/computers/list-workspace-computers"},{"title":"List a Reason's computers","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/reasons/{reasonId}/computers","href":"/api-reference/computers/list-a-reasons-computers"}]},{"group":"Connections","pages":[{"title":"List service connections and their health","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/connections","href":"/api-reference/connections/list-service-connections-and-their-health"},{"title":"Manage one connection","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/connections/{adapter}/{id}/{action}","href":"/api-reference/connections/manage-one-connection"}]},{"group":"Tools","pages":[{"title":"List a connected account's MCP tools","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/connections/{connectionId}/tools","href":"/api-reference/tools/list-a-connected-accounts-mcp-tools"},{"title":"Describe one connected MCP tool","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/connections/{connectionId}/tools/{toolName}","href":"/api-reference/tools/describe-one-connected-mcp-tool"},{"title":"Invoke a connected MCP tool without a Session","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/tool-invocations","href":"/api-reference/tools/invoke-a-connected-mcp-tool-without-a-session"},{"title":"Read an invocation receipt","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/tool-invocations/{id}","href":"/api-reference/tools/read-an-invocation-receipt"},{"title":"Request cancellation of an invocation","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/tool-invocations/{id}/cancel","href":"/api-reference/tools/request-cancellation-of-an-invocation"}]},{"group":"Consumption","pages":[{"title":"Get daily consumption","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/consumption/daily","href":"/api-reference/consumption/get-daily-consumption"},{"title":"Get usage quota","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/usage/quota","href":"/api-reference/consumption/get-usage-quota"},{"title":"Get usage summary","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/usage/summary","href":"/api-reference/consumption/get-usage-summary"}]},{"group":"Devices","pages":[{"title":"List your Devices","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/devices","href":"/api-reference/devices/list-your-devices"},{"title":"Approve a headless installation","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/devices/enrollment-tickets","href":"/api-reference/devices/approve-a-headless-installation"},{"title":"Enroll a headless installation","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/devices/enrollments","href":"/api-reference/devices/enroll-a-headless-installation"},{"title":"Read your Device","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/devices/{deviceId}","href":"/api-reference/devices/read-your-device"},{"title":"Revoke your Device","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/devices/{deviceId}","href":"/api-reference/devices/revoke-your-device"},{"title":"Rename a Device","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/devices/{deviceId}","href":"/api-reference/devices/rename-a-device"},{"title":"Set your Device's direct access","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/devices/{deviceId}/direct-access","href":"/api-reference/devices/set-your-devices-direct-access"},{"title":"Add a folder to your computer","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/devices/{deviceId}/roots","href":"/api-reference/devices/add-a-folder-to-your-computer"},{"title":"Remove a folder from your computer","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/devices/{deviceId}/roots/{rootId}","href":"/api-reference/devices/remove-a-folder-from-your-computer"},{"title":"Change an approved root grant","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/devices/{deviceId}/roots/{rootId}/grant","href":"/api-reference/devices/change-an-approved-root-grant"},{"title":"List experimental sandbox targets","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sandbox-targets","href":"/api-reference/devices/list-experimental-sandbox-targets"},{"title":"Read sandbox readiness","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sandbox-targets/instances/{instanceId}","href":"/api-reference/devices/read-sandbox-readiness"},{"title":"Stop a sandbox instance","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/sandbox-targets/instances/{instanceId}","href":"/api-reference/devices/stop-a-sandbox-instance"},{"title":"Launch an approved sandbox target","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sandbox-targets/{targetId}/launch","href":"/api-reference/devices/launch-an-approved-sandbox-target"},{"title":"List your SSH connections","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/ssh-connections","href":"/api-reference/devices/list-your-ssh-connections"},{"title":"Add an SSH connection","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/ssh-connections","href":"/api-reference/devices/add-an-ssh-connection"},{"title":"Read your SSH connection","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/ssh-connections/{connectionId}","href":"/api-reference/devices/read-your-ssh-connection"},{"title":"Delete an SSH connection","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/ssh-connections/{connectionId}","href":"/api-reference/devices/delete-an-ssh-connection"},{"title":"Bootstrap a Mac SSH activation","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/ssh-connections/{connectionId}/activate","href":"/api-reference/devices/bootstrap-a-mac-ssh-activation"},{"title":"Connect or reconnect over SSH","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/ssh-connections/{connectionId}/connect","href":"/api-reference/devices/connect-or-reconnect-over-ssh"},{"title":"Replace saved SSH credentials","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/ssh-connections/{connectionId}/credentials","href":"/api-reference/devices/replace-saved-ssh-credentials"}]},{"group":"Execution contexts","pages":[{"title":"List contexts owned by this credential","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/execution-contexts","href":"/api-reference/execution-contexts/list-contexts-owned-by-this-credential"},{"title":"Acquire an optional bounded Device/root context","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts","href":"/api-reference/execution-contexts/acquire-an-optional-bounded-deviceroot-context"},{"title":"Inspect a context and measured capabilities","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/execution-contexts/{contextId}","href":"/api-reference/execution-contexts/inspect-a-context-and-measured-capabilities"},{"title":"Close a context and stop renewing its physical resource leases","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts/{contextId}/close","href":"/api-reference/execution-contexts/close-a-context-and-stop-renewing-its-physical-resource-leases"},{"title":"Submit a typed files, command, terminal, browser, preview or artifact operation","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts/{contextId}/operations","href":"/api-reference/execution-contexts/submit-a-typed-files-command-terminal-browser-preview-or-artifact-operation"},{"title":"Renew up to the immutable hard expiry","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts/{contextId}/renew","href":"/api-reference/execution-contexts/renew-up-to-the-immutable-hard-expiry"}]},{"group":"Previews","pages":[{"title":"List private previews in an owned context","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/execution-contexts/{contextId}/previews","href":"/api-reference/previews/list-private-previews-in-an-owned-context"},{"title":"Start an owned private HTTP and WebSocket preview","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts/{contextId}/previews","href":"/api-reference/previews/start-an-owned-private-http-and-websocket-preview"},{"title":"Read private preview state","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/execution-contexts/{contextId}/previews/{previewId}","href":"/api-reference/previews/read-private-preview-state"},{"title":"Open an owned ready private preview","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts/{contextId}/previews/{previewId}/access","href":"/api-reference/previews/open-an-owned-ready-private-preview"},{"title":"Close an owned private preview","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts/{contextId}/previews/{previewId}/close","href":"/api-reference/previews/close-an-owned-private-preview"}]},{"group":"Checkpoint artifacts","pages":[{"title":"Read checkpoint preparation or sealing status","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/execution-contexts/{ownerId}/checkpoints/artifacts/{artifactId}","href":"/api-reference/checkpoint-artifacts/read-checkpoint-preparation-or-sealing-status"},{"title":"Delete a retained checkpoint artifact","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/execution-contexts/{ownerId}/checkpoints/artifacts/{artifactId}","href":"/api-reference/checkpoint-artifacts/delete-a-retained-checkpoint-artifact"},{"title":"Set bounded checkpoint retention","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/execution-contexts/{ownerId}/checkpoints/artifacts/{artifactId}/retention","href":"/api-reference/checkpoint-artifacts/set-bounded-checkpoint-retention"},{"title":"Prepare a private checkpoint chunk","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts/{ownerId}/checkpoints/chunks/prepare","href":"/api-reference/checkpoint-artifacts/prepare-a-private-checkpoint-chunk"},{"title":"Upload the prepared chunk bytes","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/execution-contexts/{ownerId}/checkpoints/chunks/{artifactId}/content","href":"/api-reference/checkpoint-artifacts/upload-exactly-the-prepared-chunk-bytes"},{"title":"Verify and seal immutable checkpoint bytes","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts/{ownerId}/checkpoints/chunks/{artifactId}/seal","href":"/api-reference/checkpoint-artifacts/verify-and-seal-immutable-checkpoint-bytes"},{"title":"Register an ordered immutable checkpoint manifest","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/execution-contexts/{ownerId}/checkpoints/manifests","href":"/api-reference/checkpoint-artifacts/register-an-ordered-immutable-checkpoint-manifest"},{"title":"Read a retained checkpoint and fresh private URLs","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/execution-contexts/{ownerId}/checkpoints/manifests/{artifactId}","href":"/api-reference/checkpoint-artifacts/read-a-retained-checkpoint-and-fresh-private-urls"},{"title":"Read checkpoint preparation or sealing status","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/jobs/{ownerId}/checkpoints/artifacts/{artifactId}","href":"/api-reference/checkpoint-artifacts/read-checkpoint-preparation-or-sealing-status-1"},{"title":"Delete a retained checkpoint artifact","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/jobs/{ownerId}/checkpoints/artifacts/{artifactId}","href":"/api-reference/checkpoint-artifacts/delete-a-retained-checkpoint-artifact-1"},{"title":"Set bounded checkpoint retention","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/jobs/{ownerId}/checkpoints/artifacts/{artifactId}/retention","href":"/api-reference/checkpoint-artifacts/set-bounded-checkpoint-retention-1"},{"title":"Prepare a private checkpoint chunk","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/jobs/{ownerId}/checkpoints/chunks/prepare","href":"/api-reference/checkpoint-artifacts/prepare-a-private-checkpoint-chunk-1"},{"title":"Upload the prepared chunk bytes","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/jobs/{ownerId}/checkpoints/chunks/{artifactId}/content","href":"/api-reference/checkpoint-artifacts/upload-exactly-the-prepared-chunk-bytes-1"},{"title":"Verify and seal immutable checkpoint bytes","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/jobs/{ownerId}/checkpoints/chunks/{artifactId}/seal","href":"/api-reference/checkpoint-artifacts/verify-and-seal-immutable-checkpoint-bytes-1"},{"title":"Register an ordered immutable checkpoint manifest","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/jobs/{ownerId}/checkpoints/manifests","href":"/api-reference/checkpoint-artifacts/register-an-ordered-immutable-checkpoint-manifest-1"},{"title":"Read a retained checkpoint and fresh private URLs","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/jobs/{ownerId}/checkpoints/manifests/{artifactId}","href":"/api-reference/checkpoint-artifacts/read-a-retained-checkpoint-and-fresh-private-urls-1"}]},{"group":"Git Connections","pages":[{"title":"List git connections (deprecated)","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/git-connections","href":"/api-reference/git-connections/list-git-connections-deprecated"},{"title":"List repositories for a git connection (deprecated)","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/git-connections/{gitConnectionId}/repositories","href":"/api-reference/git-connections/list-repositories-for-a-git-connection-deprecated"}]},{"group":"Git Plugins","pages":[{"title":"List git plugins","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/git-plugins","href":"/api-reference/git-plugins/list-git-plugins"},{"title":"List repositories for a git plugin","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/git-plugins/{gitPluginId}/repositories","href":"/api-reference/git-plugins/list-repositories-for-a-git-plugin"}]},{"group":"Repositories","pages":[{"title":"List indexed repositories (retired)","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/indexed-repositories","href":"/api-reference/repositories/list-indexed-repositories-retired"},{"title":"List repositories","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/repositories","href":"/api-reference/repositories/list-repositories"},{"title":"Bulk enable repositories","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/repositories/bulk-index","href":"/api-reference/repositories/bulk-enable-repositories"},{"title":"Bulk remove repositories","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/repositories/bulk-remove","href":"/api-reference/repositories/bulk-remove-repositories"},{"title":"Disconnect a repository","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/repositories/{owner}/{repo}","href":"/api-reference/repositories/disconnect-a-repository"},{"title":"Get a branch's head commit","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/repositories/{owner}/{repo}/branch-head","href":"/api-reference/repositories/get-a-branchs-head-commit"},{"title":"Delete a repository branch (retired)","deprecated":true,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/repositories/{owner}/{repo}/branches/{branch}","href":"/api-reference/repositories/delete-a-repository-branch-retired"},{"title":"Get repository guardrails","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/repositories/{owner}/{repo}/guardrails","href":"/api-reference/repositories/get-repository-guardrails"},{"title":"Update repository guardrails","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/repositories/{owner}/{repo}/guardrails","href":"/api-reference/repositories/update-repository-guardrails"},{"title":"Enable a repository","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/repositories/{owner}/{repo}/index","href":"/api-reference/repositories/enable-a-repository"},{"title":"Get indexing status (retired)","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/repositories/{owner}/{repo}/indexing-status","href":"/api-reference/repositories/get-indexing-status-retired"},{"title":"Get repository wiki (retired)","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/repositories/{owner}/{repo}/wiki","href":"/api-reference/repositories/get-repository-wiki-retired"},{"title":"Export repository wiki (retired)","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/repositories/{owner}/{repo}/wiki/export","href":"/api-reference/repositories/export-repository-wiki-retired"}]},{"group":"Sessions","pages":[{"title":"List pending input requests","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/input-requests","href":"/api-reference/sessions/list-pending-input-requests"},{"title":"List sessions","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Create a session","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions","href":"/api-reference/sessions/create-a-session"},{"title":"List sessions with insights","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/insights","href":"/api-reference/sessions/list-sessions-with-insights"},{"title":"Start a new session's machine ahead of its create","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/prestart","href":"/api-reference/sessions/start-a-new-sessions-machine-ahead-of-its-create"},{"title":"Retrieve a session","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}","href":"/api-reference/sessions/retrieve-a-session"},{"title":"Delete a session","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/sessions/{sessionId}","href":"/api-reference/sessions/delete-a-session"},{"title":"Archive a session","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/archive","href":"/api-reference/sessions/archive-a-session"},{"title":"List attachments","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/attachments","href":"/api-reference/sessions/list-attachments"},{"title":"Download an attachment","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/attachments/{attachmentId}","href":"/api-reference/sessions/download-an-attachment"},{"title":"Cancel a session","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/cancel","href":"/api-reference/sessions/cancel-a-session"},{"title":"Compact a session's context","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/compact","href":"/api-reference/sessions/compact-a-sessions-context"},{"title":"List the conversation","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/conversation","href":"/api-reference/sessions/list-the-conversation"},{"title":"List live session events","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/events","href":"/api-reference/sessions/list-live-session-events"},{"title":"Read session follow-through","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/follow-ups","href":"/api-reference/sessions/read-session-follow-through"},{"title":"Schedule a session check-in","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/follow-ups","href":"/api-reference/sessions/schedule-a-session-check-in"},{"title":"Cancel a session check-in","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/sessions/{sessionId}/follow-ups/{followupId}","href":"/api-reference/sessions/cancel-a-session-check-in"},{"title":"Fork a session","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/fork","href":"/api-reference/sessions/fork-a-session"},{"title":"List a session's pending input requests","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/input-requests","href":"/api-reference/sessions/list-a-sessions-pending-input-requests"},{"title":"Get an input request","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/input-requests/{requestId}","href":"/api-reference/sessions/get-an-input-request"},{"title":"Answer a question","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/input-requests/{requestId}/answer","href":"/api-reference/sessions/answer-a-question"},{"title":"Approve a network or permission request","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/input-requests/{requestId}/approve","href":"/api-reference/sessions/approve-a-network-or-permission-request"},{"title":"Decline a secret request","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/input-requests/{requestId}/cancel","href":"/api-reference/sessions/decline-a-secret-request"},{"title":"Decline a network or permission request","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/input-requests/{requestId}/deny","href":"/api-reference/sessions/decline-a-network-or-permission-request"},{"title":"Provide a secret request's value","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/input-requests/{requestId}/secret","href":"/api-reference/sessions/provide-a-secret-requests-value"},{"title":"Get session insights","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/insights","href":"/api-reference/sessions/get-session-insights"},{"title":"Generate session insights","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/insights/generate","href":"/api-reference/sessions/generate-session-insights"},{"title":"List messages","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/messages","href":"/api-reference/sessions/list-messages"},{"title":"Send a message","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/messages","href":"/api-reference/sessions/send-a-message"},{"title":"Withdraw a queued message","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/sessions/{sessionId}/messages/{messageId}/queued","href":"/api-reference/sessions/withdraw-a-queued-message"},{"title":"Send a queued message now","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/messages/{messageId}/steer","href":"/api-reference/sessions/send-a-queued-message-now"},{"title":"Move a session to a project","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/project","href":"/api-reference/sessions/move-a-session-to-a-project"},{"title":"Rename a session","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/rename","href":"/api-reference/sessions/rename-a-session"},{"title":"Retry a session's last turn","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/retry","href":"/api-reference/sessions/retry-a-sessions-last-turn"},{"title":"Edit a message and rewind","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/rewind","href":"/api-reference/sessions/edit-a-message-and-rewind"},{"title":"List shared links","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/shared-links","href":"/api-reference/sessions/list-shared-links"},{"title":"Share a link with the agent","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/shared-links","href":"/api-reference/sessions/share-a-link-with-the-agent"},{"title":"Revoke a shared link","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/sessions/{sessionId}/shared-links/{linkId}","href":"/api-reference/sessions/revoke-a-shared-link"},{"title":"List session tags","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/tags","href":"/api-reference/sessions/list-session-tags"},{"title":"Replace session tags","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/sessions/{sessionId}/tags","href":"/api-reference/sessions/replace-session-tags"},{"title":"Append session tags","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/tags","href":"/api-reference/sessions/append-session-tags"},{"title":"Replace session tags","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/sessions/{sessionId}/tags","href":"/api-reference/sessions/replace-session-tags-1"},{"title":"Export session trajectory","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/sessions/{sessionId}/trajectory","href":"/api-reference/sessions/export-session-trajectory"},{"title":"Restore a session","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/sessions/{sessionId}/unarchive","href":"/api-reference/sessions/restore-a-session"}]},{"group":"Jobs","pages":[{"title":"List jobs owned by this credential","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/jobs","href":"/api-reference/jobs/list-jobs-owned-by-this-credential"},{"title":"Submit deterministic work on a granted Device","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/jobs","href":"/api-reference/jobs/submit-deterministic-work-on-a-granted-device"},{"title":"Read job status","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/jobs/{jobId}","href":"/api-reference/jobs/read-job-status"},{"title":"Cancel work","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/jobs/{jobId}/cancel","href":"/api-reference/jobs/cancel-work;-cleanup-is-reported-separately"},{"title":"Inspect a job's delegated grants","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/jobs/{jobId}/delegations","href":"/api-reference/jobs/inspect-a-jobs-delegated-grants"},{"title":"Revoke a job's delegated grant","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/jobs/{jobId}/delegations/{grantId}","href":"/api-reference/jobs/revoke-a-jobs-delegated-grant"},{"title":"Read bounded resumable job lifecycle events","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/jobs/{jobId}/events","href":"/api-reference/jobs/read-bounded-resumable-job-lifecycle-events"},{"title":"Read bounded owner-private output","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/jobs/{jobId}/result","href":"/api-reference/jobs/read-bounded-owner-private-output"},{"title":"Observe a job without restarting it","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/jobs/{jobId}/wait","href":"/api-reference/jobs/observe-a-job-without-restarting-it"}]},{"group":"MCP Servers","pages":[{"title":"List MCP servers","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/mcp-servers","href":"/api-reference/mcp-servers/list-mcp-servers"},{"title":"Create an MCP server","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/mcp-servers","href":"/api-reference/mcp-servers/create-an-mcp-server"},{"title":"Inspect an MCP server URL","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/mcp-servers/endpoint/inspect","href":"/api-reference/mcp-servers/inspect-an-mcp-server-url"},{"title":"Retrieve an MCP server","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/mcp-servers/{id}","href":"/api-reference/mcp-servers/retrieve-an-mcp-server"},{"title":"Delete an MCP server","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/mcp-servers/{id}","href":"/api-reference/mcp-servers/delete-an-mcp-server"},{"title":"Update an MCP server","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/mcp-servers/{id}","href":"/api-reference/mcp-servers/update-an-mcp-server"},{"title":"Import a local MCP OAuth credential","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/mcp-servers/{id}/oauth-import","href":"/api-reference/mcp-servers/import-a-local-mcp-oauth-credential"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/members/users","href":"/api-reference/members/list-members"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/members/users","href":"/api-reference/members/invite-a-member"},{"title":"Get a member","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/members/users/{userId}","href":"/api-reference/members/get-a-member"},{"title":"Remove a member","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/members/users/{userId}","href":"/api-reference/members/remove-a-member"},{"title":"Set a member's role","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/members/users/{userId}/role","href":"/api-reference/members/set-a-members-role"}]},{"group":"Memory","pages":[{"title":"Read a memory file","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/memory/file","href":"/api-reference/memory/read-a-memory-file"},{"title":"Write a memory file","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/memory/file","href":"/api-reference/memory/write-a-memory-file"},{"title":"Delete a memory file","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/memory/file","href":"/api-reference/memory/delete-a-memory-file"},{"title":"List memory files","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/memory/files","href":"/api-reference/memory/list-memory-files"},{"title":"List memory history","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/memory/history","href":"/api-reference/memory/list-memory-history"},{"title":"Restore a memory revision","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/memory/restore","href":"/api-reference/memory/restore-a-memory-revision"},{"title":"Search memory","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/memory/search","href":"/api-reference/memory/search-memory"}]},{"group":"Metrics","pages":[{"title":"Get usage metrics","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/metrics/usage","href":"/api-reference/metrics/get-usage-metrics"},{"title":"Get queue status","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/queue","href":"/api-reference/metrics/get-queue-status"}]},{"group":"Network policy","pages":[{"title":"Retrieve workspace network policy","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/network-policy","href":"/api-reference/network-policy/retrieve-workspace-network-policy"},{"title":"Replace workspace network policy","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/network-policy","href":"/api-reference/network-policy/replace-workspace-network-policy"}]},{"group":"Onboarding","pages":[{"title":"Mark an approved local secret import complete","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/onboarding/import/complete","href":"/api-reference/onboarding/mark-an-approved-local-secret-import-complete"},{"title":"Poll the browser's local secret import decision","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/onboarding/import/decision","href":"/api-reference/onboarding/poll-the-browsers-local-secret-import-decision"},{"title":"Attach an existing CLI grant to a browser pairing","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/onboarding/import/pairing/claim-existing","href":"/api-reference/onboarding/attach-an-existing-cli-grant-to-a-browser-pairing"},{"title":"Report that a paired local scan could not finish","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/onboarding/import/pairing/failure","href":"/api-reference/onboarding/report-that-a-paired-local-scan-could-not-finish"},{"title":"Create a local onboarding import handoff","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/onboarding/import/summary","href":"/api-reference/onboarding/create-a-local-onboarding-import-handoff"}]},{"group":"Pages","pages":[{"title":"List pages","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/pages","href":"/api-reference/pages/list-pages"},{"title":"Create a page","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/pages","href":"/api-reference/pages/create-a-page"},{"title":"Retrieve a page","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/pages/{pageId}","href":"/api-reference/pages/retrieve-a-page"},{"title":"Delete a page","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/pages/{pageId}","href":"/api-reference/pages/delete-a-page"},{"title":"Update a page","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/pages/{pageId}","href":"/api-reference/pages/update-a-page"},{"title":"Share a page","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/pages/{pageId}/share","href":"/api-reference/pages/share-a-page"}]},{"group":"Plugins","pages":[{"title":"List plugins","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/plugins","href":"/api-reference/plugins/list-plugins"},{"title":"List plugin Reason allowances","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/plugins/reason-allowances","href":"/api-reference/plugins/list-plugin-reason-allowances"},{"title":"Get a plugin sign-in","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/plugins/sign-in/{signInId}","href":"/api-reference/plugins/get-a-plugin-sign-in"},{"title":"Cancel a plugin sign-in","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/plugins/sign-in/{signInId}","href":"/api-reference/plugins/cancel-a-plugin-sign-in"},{"title":"Get a plugin","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/plugins/{slug}","href":"/api-reference/plugins/get-a-plugin"},{"title":"Uninstall a plugin","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/plugins/{slug}","href":"/api-reference/plugins/uninstall-a-plugin"},{"title":"Install a plugin","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/plugins/{slug}/install","href":"/api-reference/plugins/install-a-plugin"},{"title":"Get per-Reason plugin settings","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/plugins/{slug}/reasons/{reasonId}","href":"/api-reference/plugins/get-per-reason-plugin-settings"},{"title":"Update per-Reason plugin settings","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/plugins/{slug}/reasons/{reasonId}","href":"/api-reference/plugins/update-per-reason-plugin-settings"},{"title":"Start a plugin sign-in","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/plugins/{slug}/sign-in/start","href":"/api-reference/plugins/start-a-plugin-sign-in"}]},{"group":"Change Request Reviews","pages":[{"title":"List change request reviews","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/pr-reviews","href":"/api-reference/change-request-reviews/list-change-request-reviews"},{"title":"Request a change request review","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/pr-reviews","href":"/api-reference/change-request-reviews/request-a-change-request-review"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/projects","href":"/api-reference/projects/list-projects"},{"title":"Create project","deprecated":true,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/projects","href":"/api-reference/projects/create-project"},{"title":"Retrieve a project","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/projects/{projectId}","href":"/api-reference/projects/retrieve-a-project"},{"title":"Update a project","deprecated":true,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/projects/{projectId}","href":"/api-reference/projects/update-a-project"},{"title":"Archive a project","deprecated":true,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/projects/{projectId}/archive","href":"/api-reference/projects/archive-a-project"},{"title":"Restore a project","deprecated":true,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/projects/{projectId}/unarchive","href":"/api-reference/projects/restore-a-project"}]},{"group":"Provider credentials","pages":[{"title":"List provider credentials","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/provider-credentials","href":"/api-reference/provider-credentials/list-provider-credentials"},{"title":"Connect an Anthropic subscription","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/provider-credentials/anthropic","href":"/api-reference/provider-credentials/connect-an-anthropic-subscription"},{"title":"List available providers","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/provider-credentials/catalog","href":"/api-reference/provider-credentials/list-available-providers"},{"title":"Discover pending provider sign-ins","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/provider-credentials/oauth/logins","href":"/api-reference/provider-credentials/discover-pending-provider-sign-ins"},{"title":"Read provider sign-in","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/provider-credentials/oauth/logins/{loginId}","href":"/api-reference/provider-credentials/read-provider-sign-in"},{"title":"Cancel provider sign-in","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/provider-credentials/oauth/logins/{loginId}","href":"/api-reference/provider-credentials/cancel-provider-sign-in"},{"title":"Answer provider sign-in prompt","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/provider-credentials/oauth/logins/{loginId}/respond","href":"/api-reference/provider-credentials/answer-provider-sign-in-prompt"},{"title":"Configure a provider credential","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/provider-credentials/{providerId}","href":"/api-reference/provider-credentials/configure-a-provider-credential"},{"title":"Delete a provider credential","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/provider-credentials/{providerId}","href":"/api-reference/provider-credentials/delete-a-provider-credential"},{"title":"Rename a provider account","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/provider-credentials/{providerId}/accounts/{accountKey}","href":"/api-reference/provider-credentials/rename-a-provider-account"},{"title":"Check a saved provider account","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/provider-credentials/{providerId}/accounts/{accountKey}/check","href":"/api-reference/provider-credentials/check-a-saved-provider-account"},{"title":"Read saved provider account usage","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/provider-credentials/{providerId}/accounts/{accountKey}/usage","href":"/api-reference/provider-credentials/read-saved-provider-account-usage"},{"title":"Start or recover provider sign-in","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/provider-credentials/{providerId}/oauth/login-requests","href":"/api-reference/provider-credentials/start-or-recover-provider-sign-in"},{"title":"Start provider sign-in","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/provider-credentials/{providerId}/oauth/logins","href":"/api-reference/provider-credentials/start-provider-sign-in"},{"title":"Validate a provider API key","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/provider-credentials/{providerId}/validate","href":"/api-reference/provider-credentials/validate-a-provider-api-key"}]},{"group":"Reasons","pages":[{"title":"List Reasons","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/reasons","href":"/api-reference/reasons/list-reasons"},{"title":"Create a Reason","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/reasons","href":"/api-reference/reasons/create-a-reason"},{"title":"Get a Reason","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/reasons/{reasonId}","href":"/api-reference/reasons/get-a-reason"},{"title":"Delete a Reason","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/reasons/{reasonId}","href":"/api-reference/reasons/delete-a-reason"},{"title":"Update a Reason","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/reasons/{reasonId}","href":"/api-reference/reasons/update-a-reason"},{"title":"Archive a Reason","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/reasons/{reasonId}/archive","href":"/api-reference/reasons/archive-a-reason"},{"title":"Create a cloud computer for a Reason","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/reasons/{reasonId}/computers","href":"/api-reference/reasons/create-a-cloud-computer-for-a-reason"},{"title":"Delete a Reason's cloud computer","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/reasons/{reasonId}/computers/{computerId}","href":"/api-reference/reasons/delete-a-reasons-cloud-computer"},{"title":"Open a Reason's conversation","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/reasons/{reasonId}/conversation","href":"/api-reference/reasons/open-a-reasons-conversation"},{"title":"Make a Reason the main one","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/reasons/{reasonId}/make-main","href":"/api-reference/reasons/make-a-reason-the-main-one"},{"title":"Merge a Reason into another","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/reasons/{reasonId}/merge","href":"/api-reference/reasons/merge-a-reason-into-another"},{"title":"List a Reason's messages","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/reasons/{reasonId}/messages","href":"/api-reference/reasons/list-a-reasons-messages"},{"title":"Message a Reason","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/reasons/{reasonId}/messages","href":"/api-reference/reasons/message-a-reason"}]},{"group":"Loops","pages":[{"title":"List a Reason's Loops","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/reasons/{reasonId}/loops","href":"/api-reference/loops/list-a-reasons-loops"},{"title":"Create a Loop","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/reasons/{reasonId}/loops","href":"/api-reference/loops/create-a-loop"},{"title":"Retrieve a Loop","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/reasons/{reasonId}/loops/{loopId}","href":"/api-reference/loops/retrieve-a-loop"},{"title":"Delete a Loop","description":"Deletes the Loop and everything that wakes it; its webhook's key stops working. Sessions it opened are kept.","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/reasons/{reasonId}/loops/{loopId}","href":"/api-reference/loops/delete-a-loop"},{"title":"Update a Loop","deprecated":null,"version":null,"openapi":"/openapi.docs.json patch /v3/organizations/{orgId}/reasons/{reasonId}/loops/{loopId}","href":"/api-reference/loops/update-a-loop"},{"title":"Run a Loop now","description":"Run a Loop now: the scheduler starts one run within a minute, with the same Session, billing and run record as a scheduled wake, then returns to its next slot.","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/reasons/{reasonId}/loops/{loopId}/run","href":"/api-reference/loops/run-a-loop-now"},{"title":"Send an event to a Loop","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /webhooks/automations/{publicToken}","href":"/api-reference/loops/send-an-event-to-a-loop"},{"title":"Send an event to a Loop (key in the URL)","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /webhooks/automations/{publicToken}/{key}","href":"/api-reference/loops/send-an-event-to-a-loop-key-in-the-url"}]},{"group":"Roles","pages":[{"title":"List role assignments (retired)","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/roles","href":"/api-reference/roles/list-role-assignments-retired"},{"title":"Set a role assignment (retired)","deprecated":true,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/roles","href":"/api-reference/roles/set-a-role-assignment-retired"},{"title":"Get the caller's roles","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/roles/me","href":"/api-reference/roles/get-the-callers-roles"},{"title":"Get a role assignment (retired)","deprecated":true,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/roles/{userId}","href":"/api-reference/roles/get-a-role-assignment-retired"}]},{"group":"Secrets","pages":[{"title":"List secret names","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/secrets","href":"/api-reference/secrets/list-secret-names"},{"title":"Create or update a secret","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/secrets","href":"/api-reference/secrets/create-or-update-a-secret"},{"title":"Create or update workspace secrets in a batch","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/secrets/bulk","href":"/api-reference/secrets/create-or-update-workspace-secrets-in-a-batch"},{"title":"Seal a value to propose later","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/secrets/seal","href":"/api-reference/secrets/seal-a-value-to-propose-later"},{"title":"Delete a secret","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/secrets/{secretId}","href":"/api-reference/secrets/delete-a-secret"}]},{"group":"Settings","pages":[{"title":"List organization settings","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/settings","href":"/api-reference/settings/list-organization-settings"},{"title":"Get a settings namespace","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/settings/{namespace}","href":"/api-reference/settings/get-a-settings-namespace"},{"title":"Update a settings namespace","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/settings/{namespace}","href":"/api-reference/settings/update-a-settings-namespace"}]},{"group":"Skills","pages":[{"title":"List skills","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/skills","href":"/api-reference/skills/list-skills"},{"title":"Create a skill","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/skills","href":"/api-reference/skills/create-a-skill"},{"title":"Retrieve a skill","deprecated":null,"version":null,"openapi":"/openapi.docs.json get /v3/organizations/{orgId}/skills/{skillId}","href":"/api-reference/skills/retrieve-a-skill"},{"title":"Update a skill","deprecated":null,"version":null,"openapi":"/openapi.docs.json put /v3/organizations/{orgId}/skills/{skillId}","href":"/api-reference/skills/update-a-skill"},{"title":"Delete a skill","deprecated":null,"version":null,"openapi":"/openapi.docs.json delete /v3/organizations/{orgId}/skills/{skillId}","href":"/api-reference/skills/delete-a-skill"}]},{"group":"Transcription","pages":[{"title":"Transcribe a recording","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/transcribe","href":"/api-reference/transcription/transcribe-a-recording"}]},{"group":"Direct web","pages":[{"title":"Fetch public web content","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/web/fetch","href":"/api-reference/direct-web/fetch-public-web-content"},{"title":"Search the public web","deprecated":null,"version":null,"openapi":"/openapi.docs.json post /v3/organizations/{orgId}/web/search","href":"/api-reference/direct-web/search-the-public-web"}]}]}]}]},"basePath":"","title":"Update a Loop - Reason Documentation","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BD9G1WMi.js","snippetPresets-Bcqr8I2u.js","utils-BrYn4XiY.js","style-to-object-BY3JEAdk.js","utils-CYrCnchl.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CNFO66BS.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BneVo7uA.js","_Uint8Array-n4RvRzp3.js","isObject-FP1Yky1u.js","ApiExamples-C1YMsTjy.js","usePlaygroundInputsStore-DayW4kZ9.js","shallow-DDCzdKmR.js","isEqual-CBVoazy8.js","CodeSnippets-CWandYY5.js","CodeSnippet-grFP6YU_.js","use-playground-group-access-BBqHUxQK.js","Page-DBPN_x5x.js","api-description-markdown-1J-AA_Kv.js","DynamicMarkdown-Dgh_e4rL.js","SectionHeading-BP6Np9Uh.js","MethodPill-4k_Ty_Xv.js","getPastedJson-CWUNKLcr.js","Check2Icon-Cs4FQb2J.js","axios-CsQoIw0U.js","Markdown-CR8c2fXT.js","AssistantPageLink-BBR7elHb.js","dist-DjFwSv8l.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}