Seconds to wait for trigger events to stop before running once with the latest payload. GitHub and GitLab events debounce per pull or merge request. null or 0 disables debouncing.
Set or clear the GitHub check names this automation reports its verdict on. A non-empty list requires a pull_request.opened or pull_request.synchronize trigger. Pass an empty array to stop creating checks.
New compute size for every workspace this automation fires off. small (2 vCPU, 8 GB memory), large (4 vCPU, 16 GB memory), or ultra (8 vCPU, 32 GB memory); see Billing for per-size rates.
Set to org to move a personal automation to the organization so teammates can see and edit it. Requires a shared environment and Automations write access. Cannot be undone.
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Replicas Docs","colors":{"primary":"#1c6a49","light":"#3eeba3","dark":"#16865b"},"logo":{"light":"https://mintcdn.com/replicas/PCNWUrW07f_UGjWs/logo/R-logo-light.svg?fit=max\u0026auto=format\u0026n=PCNWUrW07f_UGjWs\u0026q=85\u0026s=04a073003bfe1531044b6915b6b16746","dark":"https://mintcdn.com/replicas/PCNWUrW07f_UGjWs/logo/R-logo-dark.svg?fit=max\u0026auto=format\u0026n=PCNWUrW07f_UGjWs\u0026q=85\u0026s=677b1ccffaec8a7580cc7366ea752ada"},"favicon":"https://mintcdn.com/replicas/PCNWUrW07f_UGjWs/favicon.svg?fit=max\u0026auto=format\u0026n=PCNWUrW07f_UGjWs\u0026q=85\u0026s=e7fb59cfcee65ba62d7c57cb76eecb8d","navbar":{"links":[{"href":"mailto:founders@replicas.dev","label":"Support"}],"primary":{"type":"button","label":"Open Replicas","href":"https://app.replicas.dev"}},"footer":{"socials":{"x":"https://x.com/usereplicas"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","vscode"],"display":"header"},"styling":{"latex":true},"background":{"color":{"light":"#f8fbfa","dark":"#0b1010"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"replicas","hasAudioNarration":false,"actualSubdomain":"replicas","customDomains":["docs.replicas.dev"],"gitSource":{"type":"github","owner":"replicas-group","repo":"replicas","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af0bfcf2cd4551135848833","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":144},{"language":"default","tag":"Documentation","count":50},{"language":"default","tag":"Replica","count":16},{"language":"default","tag":"Environments","count":13},{"language":"default","tag":"Workspaces","count":12},{"language":"default","tag":"Chats","count":11},{"language":"default","tag":"Admin","count":9},{"language":"default","tag":"Build and automate","count":9},{"language":"default","tag":"Agent credentials","count":9},{"language":"default","tag":"Automations","count":9}]},"assistantConfig":{"enableStarterQuestions":false},"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--radius: 0px;--radius-xs: 0px;--radius-sm: 0px;--radius-md: 0px;--radius-lg: 0px;--radius-xl: 0px}[class*=\"rounded\"]{border-radius:0!important}a img:is([src$=\"/logo/claude.svg\"],[src$=\"/logo/codex.svg\"],[src$=\"/logo/cursor.svg\"],[src$=\"/logo/doppler.svg\"],[src$=\"/logo/infisical.svg\"],[src$=\"/logo/opencode.svg\"],[src$=\"/logo/sentry.svg\"]){display:none}a div:has(>img:is([src$=\"/logo/claude.svg\"],[src$=\"/logo/codex.svg\"],[src$=\"/logo/cursor.svg\"],[src$=\"/logo/doppler.svg\"],[src$=\"/logo/infisical.svg\"],[src$=\"/logo/opencode.svg\"],[src$=\"/logo/sentry.svg\"]))::before{content:\"\";display:block;width:1rem;height:1rem;background-color:rgb(156 163 175);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;mask-repeat:no-repeat;mask-position:center;mask-size:contain}a div:has(>img[src$=\"/logo/claude.svg\"])::before{-webkit-mask-image:url(\"/logo/claude.svg\");mask-image:url(\"/logo/claude.svg\")}a div:has(>img[src$=\"/logo/codex.svg\"])::before{-webkit-mask-image:url(\"/logo/codex.svg\");mask-image:url(\"/logo/codex.svg\")}a div:has(>img[src$=\"/logo/cursor.svg\"])::before{-webkit-mask-image:url(\"/logo/cursor.svg\");mask-image:url(\"/logo/cursor.svg\")}a div:has(>img[src$=\"/logo/doppler.svg\"])::before{-webkit-mask-image:url(\"/logo/doppler.svg\");mask-image:url(\"/logo/doppler.svg\")}a div:has(>img[src$=\"/logo/infisical.svg\"])::before{-webkit-mask-image:url(\"/logo/infisical.svg\");mask-image:url(\"/logo/infisical.svg\")}a div:has(>img[src$=\"/logo/opencode.svg\"])::before{-webkit-mask-image:url(\"/logo/opencode.svg\");mask-image:url(\"/logo/opencode.svg\")}a div:has(>img[src$=\"/logo/sentry.svg\"])::before{-webkit-mask-image:url(\"/logo/sentry.svg\");mask-image:url(\"/logo/sentry.svg\")}.dark a div:has(>img:is([src$=\"/logo/claude.svg\"],[src$=\"/logo/codex.svg\"],[src$=\"/logo/cursor.svg\"],[src$=\"/logo/doppler.svg\"],[src$=\"/logo/infisical.svg\"],[src$=\"/logo/opencode.svg\"],[src$=\"/logo/sentry.svg\"]))::before{background-color:rgb(107 114 128)}a.text-primary div:has(>img:is([src$=\"/logo/claude.svg\"],[src$=\"/logo/codex.svg\"],[src$=\"/logo/cursor.svg\"],[src$=\"/logo/doppler.svg\"],[src$=\"/logo/infisical.svg\"],[src$=\"/logo/opencode.svg\"],[src$=\"/logo/sentry.svg\"]))::before{background-color:var(--color-primary, #3eeba3)}.dark a.text-primary div:has(>img:is([src$=\"/logo/claude.svg\"],[src$=\"/logo/codex.svg\"],[src$=\"/logo/cursor.svg\"],[src$=\"/logo/doppler.svg\"],[src$=\"/logo/infisical.svg\"],[src$=\"/logo/opencode.svg\"],[src$=\"/logo/sentry.svg\"]))::before{background-color:var(--color-primary-light, #3eeba3)}#sidebar-group>li>ul{max-height:22rem;overflow-y:auto;scrollbar-width:thin}#sidebar-group>li>ul::-webkit-scrollbar{width:6px}#sidebar-group>li>ul::-webkit-scrollbar-thumb{background-color:rgb(0 0 0 / 0.15);border-radius:3px}.dark #sidebar-group>li>ul::-webkit-scrollbar-thumb{background-color:rgb(255 255 255 / 0.15)}"}],"page":{"pagePath":"api-reference/automations/update-automation","slug":"/api-reference/automations/update-automation","pageMetadata":{"title":"Update automation","description":"Updates only the fields you send. `triggers` replaces all triggers.","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/automations/{id}","href":"/api-reference/automations/update-automation","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Updates only the fields you send. \", _jsx(_components.code, {\n children: \"triggers\"\n }), \" replaces all triggers.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update automation","description":"Updates only the fields you send. `triggers` replaces all triggers.","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/automations/{id}","href":"/api-reference/automations/update-automation","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateAutomation","summary":"Update automation","description":"Updates only the fields you send. `triggers` replaces all triggers.","tags":["Automations"],"parameters":["d358b48c-ecd6-4483-aee9-1c38e8dde4c9","0f868825-bf3b-4c25-a574-38034d993a64"],"requestBody":"cfcc90e6-c74e-4d0c-8a1f-a96dd97d92b6","responses":{"200":"de0e5b5a-8003-44db-9580-71cc0c7cd5ad","400":"3ec8c6c0-00e4-4262-873f-2aa0c1368102","401":"fb86e896-9caa-42e3-a649-b2e076accd95","404":"a64a5c1a-b71e-4554-a17f-fe2c20215af0","500":"87bdf027-605d-4bef-9c91-dd55a493f9a3"},"method":"patch","type":"path","servers":["c9e5da3f-a2a2-4151-a4c8-4d3120b8ca5f"],"security":["3f0e4527-d69e-4dda-a47b-6c09ed3dec29"],"path":"/v1/automations/{id}","baseUrlOptions":["https://api.replicas.dev"],"title":"Update automation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d358b48c-ecd6-4483-aee9-1c38e8dde4c9":{"name":"id","in":"path","description":"The unique identifier of the automation","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The unique identifier of the automation","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"0f868825-bf3b-4c25-a574-38034d993a64":{"name":"X-Replicas-Api-Version","in":"header","description":"API version. `2026-10-07` returns `snake_case` responses. See [versioning](/features/api#versioning).","required":false,"schema":{"type":"string","enum":["2026-10-07"],"isRequired":false,"description":"API version. `2026-10-07` returns `snake_case` responses. See [versioning](/features/api#versioning).","uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Request body for updating an automation. Only provided fields are updated.","properties":{"name":{"type":"string","description":"New name","uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","description":"New description","uniqueKey":"description","typeLabel":"string"},"triggers":{"type":"array","items":{"type":"object","description":"A trigger that determines when an automation fires","properties":{"type":{"type":"string","description":"The trigger type","enum":["cron","github","gitlab","slack","sentry","custom"],"isRequired":true,"uniqueKey":"triggers.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"config":{"oneOf":[{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["schedule"],"properties":{"schedule":{"type":"string","description":"Cron expression (e.g. \"0 9 * * 1-5\" for weekdays at 9am UTC)","example":"0 9 * * 1-5","isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.0.schedule","typeLabel":"string"},"timezone":{"type":"string","description":"IANA timezone for the schedule (defaults to UTC)","default":"UTC","example":"America/New_York","uniqueKey":"triggers.items.[INDEX].config.oneOf.0.timezone","typeLabel":"string"}},"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.0","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["event"],"properties":{"event":{"type":"string","description":"The GitHub event to listen for","enum":["pull_request.opened","pull_request.synchronize","pull_request.ready_for_review","pull_request.merged","pull_request.closed","pull_request.command"],"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.1.event","typeLabel":"enum\u003cstring>"},"repository_ids":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"triggers.items.[INDEX].config.oneOf.1.repository_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Optional filter: only fire for events from these repositories. If omitted, fires for all repositories.","uniqueKey":"triggers.items.[INDEX].config.oneOf.1.repository_ids","typeLabel":"string\u003cuuid>[]"},"group_pr_events":{"type":"boolean","description":"Send later opened, synchronize, ready for review, and command events for the same pull request to the existing workspace instead of creating a new one.","uniqueKey":"triggers.items.[INDEX].config.oneOf.1.group_pr_events","typeLabel":"boolean"},"excluded_actors":{"type":"array","items":{"type":"string","uniqueKey":"triggers.items.[INDEX].config.oneOf.1.excluded_actors.items.[INDEX]","typeLabel":"string"},"description":"Optional exclusion list: events sent by these GitHub usernames never fire the automation (e.g. `dependabot[bot]`). Matching is case-insensitive and ignores a leading `@`.","uniqueKey":"triggers.items.[INDEX].config.oneOf.1.excluded_actors","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.1","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["event"],"properties":{"event":{"type":"string","description":"The GitLab event to listen for","enum":["merge_request.opened","merge_request.updated","merge_request.merged","merge_request.closed"],"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.2.event","typeLabel":"enum\u003cstring>"},"repository_ids":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"triggers.items.[INDEX].config.oneOf.2.repository_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Optional filter: only fire for events from these GitLab projects. If omitted, fires for all projects.","uniqueKey":"triggers.items.[INDEX].config.oneOf.2.repository_ids","typeLabel":"string\u003cuuid>[]"},"group_pr_events":{"type":"boolean","description":"Send later opened and updated events for the same merge request to the existing workspace instead of creating a new one.","uniqueKey":"triggers.items.[INDEX].config.oneOf.2.group_pr_events","typeLabel":"boolean"},"excluded_actors":{"type":"array","items":{"type":"string","uniqueKey":"triggers.items.[INDEX].config.oneOf.2.excluded_actors.items.[INDEX]","typeLabel":"string"},"description":"Optional exclusion list: events sent by these GitLab usernames never fire the automation. Matching is case-insensitive and ignores a leading `@`.","uniqueKey":"triggers.items.[INDEX].config.oneOf.2.excluded_actors","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.2","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["event"],"properties":{"event":{"type":"string","description":"The Slack event to listen for","enum":["message"],"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.3.event","typeLabel":"enum\u003cstring>"},"channel_ids":{"type":"array","items":{"type":"string","uniqueKey":"triggers.items.[INDEX].config.oneOf.3.channel_ids.items.[INDEX]","typeLabel":"string"},"description":"Optional filter: only fire for events from these Slack channels. If omitted, fires for all channels.","uniqueKey":"triggers.items.[INDEX].config.oneOf.3.channel_ids","typeLabel":"string[]"},"group_thread_replies":{"type":"boolean","description":"When true (default), thread replies flow to the same workspace as the root message instead of spawning new ones.","default":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.3.group_thread_replies","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.3","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["event"],"properties":{"event":{"type":"string","description":"The Sentry event to listen for","enum":["event_alert.triggered","issue.created","error.created"],"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.4.event","typeLabel":"enum\u003cstring>"},"project_slugs":{"type":"array","items":{"type":"string","uniqueKey":"triggers.items.[INDEX].config.oneOf.4.project_slugs.items.[INDEX]","typeLabel":"string"},"description":"Optional filter: only fire for events from these Sentry project slugs. If omitted, fires for all projects.","uniqueKey":"triggers.items.[INDEX].config.oneOf.4.project_slugs","typeLabel":"string[]"},"min_level":{"type":"string","description":"Optional minimum severity level (inclusive). If omitted, fires for all levels.","enum":["debug","info","warning","error","fatal"],"uniqueKey":"triggers.items.[INDEX].config.oneOf.4.min_level","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.4","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","properties":{},"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config.oneOf.5","typeLabel":"object"}],"isRequired":true,"uniqueKey":"triggers.items.[INDEX].config","typeLabel":"object"}},"required":["type","config"],"uniqueKey":"triggers.items.[INDEX]","typeLabel":"object"},"description":"Replaces all triggers. At most one cron trigger and one trigger per event.","uniqueKey":"triggers","typeLabel":"object[]"},"prompt":{"type":"string","description":"New prompt","uniqueKey":"prompt","typeLabel":"string"},"debounce_seconds":{"oneOf":[{"type":"integer","minimum":0,"maximum":86400,"description":"Seconds to wait for trigger events to stop before running once with the latest payload. GitHub and GitLab events debounce per pull or merge request. `null` or `0` disables debouncing.","uniqueKey":"debounce_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":86400,"description":"Seconds to wait for trigger events to stop before running once with the latest payload. GitHub and GitLab events debounce per pull or merge request. `null` or `0` disables debouncing.","uniqueKey":"debounce_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"debounce_seconds","typeLabel":"integer | null"},"github_check_names":{"type":"array","items":{"type":"string","maxLength":100,"uniqueKey":"github_check_names.items.[INDEX]","typeLabel":"string"},"maxItems":10,"description":"Set or clear the GitHub check names this automation reports its verdict on. A non-empty list requires a pull_request.opened or pull_request.synchronize trigger. Pass an empty array to stop creating checks.","uniqueKey":"github_check_names","typeLabel":"string[]"},"environment_id":{"type":"string","format":"uuid","description":"Move this automation to a different environment.","uniqueKey":"environment_id","typeLabel":"string\u003cuuid>"},"enabled":{"type":"boolean","description":"Enable or disable the automation","uniqueKey":"enabled","typeLabel":"boolean"},"workspace_lifecycle_policy":{"type":"string","description":"New lifecycle policy","enum":["default","archive_when_done","sleep_when_done","delete_when_done"],"uniqueKey":"workspace_lifecycle_policy","typeLabel":"enum\u003cstring>"},"workspace_auto_stop_minutes":{"oneOf":[{"type":"integer","description":"New inactivity timeout in minutes for the default keep-alive policy (set to null to clear)","minimum":3,"maximum":1440,"uniqueKey":"workspace_auto_stop_minutes.oneOf.0","typeLabel":"integer"},{"type":"null","description":"New inactivity timeout in minutes for the default keep-alive policy (set to null to clear)","minimum":3,"maximum":1440,"uniqueKey":"workspace_auto_stop_minutes.oneOf.1","typeLabel":"null"}],"uniqueKey":"workspace_auto_stop_minutes","typeLabel":"integer | null"},"workspace_size":{"type":"string","description":"New compute size for every workspace this automation fires off. `small` (2 vCPU, 8 GB memory), `large` (4 vCPU, 16 GB memory), or `ultra` (8 vCPU, 32 GB memory); see [Billing](https://docs.replicas.dev/admin/billing#rates) for per-size rates.","enum":["small","large","ultra"],"uniqueKey":"workspace_size","typeLabel":"enum\u003cstring>"},"config":{"type":"object","description":"Workspace behavior configuration. Defaults depend on the workspace source; see each setting.","properties":{"memoryRetentionEnabled":{"type":"boolean","description":"Whether sessions are added to session history when the workspace sleeps. Defaults to false for API and automation workspaces.","uniqueKey":"config.memoryRetentionEnabled","typeLabel":"boolean"},"capabilities":{"type":"object","description":"Actions this workspace is allowed to perform. Automations snapshot this config onto each workspace they create; API-created workspaces can set it at creation time.","properties":{"pr_followups":{"type":"boolean","description":"Whether matching pull requests can receive Replicas follow-up actions. Only applies to workspaces created from an automation, where it defaults to false; other workspaces always receive follow-ups. When enabled, later CI and review-comment replies can route back to this workspace.","uniqueKey":"config.capabilities.pr_followups","typeLabel":"boolean"},"read_only_contents":{"type":"boolean","description":"Whether the workspace GitHub token is restricted to read-only repository contents, keeping write access for pull request comments, issues, and checks. Defaults to false, so the workspace can push branches and open pull requests.","uniqueKey":"config.capabilities.read_only_contents","typeLabel":"boolean"}},"additionalProperties":true,"uniqueKey":"config.capabilities","typeLabel":"object"},"preferences":{"type":"object","description":"Workspace behavior preferences that do not grant new action permissions.","properties":{"keep_open_on_pr_merge":{"type":"boolean","description":"Whether the workspace should remain open after its last tracked PR is merged. Defaults to false.","default":false,"uniqueKey":"config.preferences.keep_open_on_pr_merge","typeLabel":"boolean"},"keep_open_on_pr_close":{"type":"boolean","description":"Whether the workspace should remain open after its last tracked PR is closed without merging. Defaults to false.","default":false,"uniqueKey":"config.preferences.keep_open_on_pr_close","typeLabel":"boolean"}},"additionalProperties":true,"uniqueKey":"config.preferences","typeLabel":"object"},"provisioning_error":{"type":"object","description":"Setup/provisioning or wake/resume failure captured when the workspace remains queryable in `error` status. Some wake/resume failures can be retried; the `error` status can also represent an unrecoverable sandbox failure.","properties":{"message":{"type":"string","description":"Underlying setup failure message, such as repository clone/auth errors.","uniqueKey":"config.provisioning_error.message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"config.provisioning_error","typeLabel":"object"}},"additionalProperties":true,"uniqueKey":"config","typeLabel":"object"},"agent_provider":{"oneOf":[{"type":"string","description":"New coding agent override. Null inherits the organization default.","enum":["claude","codex","cursor","muse","opencode","pi",null],"uniqueKey":"agent_provider.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"New coding agent override. Null inherits the organization default.","enum":["claude","codex","cursor","muse","opencode","pi",null],"uniqueKey":"agent_provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_provider","typeLabel":"enum\u003cstring> | null"},"model":{"oneOf":[{"type":"string","description":"New model override. Requires `agent_provider` when set. Must be a model your organization allows for that agent; hidden models are rejected with 400.","uniqueKey":"model.oneOf.0","typeLabel":"string"},{"type":"null","description":"New model override. Requires `agent_provider` when set. Must be a model your organization allows for that agent; hidden models are rejected with 400.","uniqueKey":"model.oneOf.1","typeLabel":"null"}],"uniqueKey":"model","typeLabel":"string | null"},"thinking_level":{"oneOf":[{"type":"string","description":"New thinking/reasoning level override. `ultra` is available for Codex and Muse Code; `ultracode` is Claude Code-only.","enum":["low","medium","high","xhigh","max","ultra","ultracode",null],"uniqueKey":"thinking_level.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"New thinking/reasoning level override. `ultra` is available for Codex and Muse Code; `ultracode` is Claude Code-only.","enum":["low","medium","high","xhigh","max","ultra","ultracode",null],"uniqueKey":"thinking_level.oneOf.1","typeLabel":"null"}],"uniqueKey":"thinking_level","typeLabel":"enum\u003cstring> | null"},"plan_mode":{"type":"boolean","description":"Enable or disable plan mode for automation messages.","uniqueKey":"plan_mode","typeLabel":"boolean"},"goal_mode":{"oneOf":[{"type":"boolean","description":"Enable or disable goal mode for automation messages. Null inherits the resolved agent default; false explicitly disables it.","uniqueKey":"goal_mode.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Enable or disable goal mode for automation messages. Null inherits the resolved agent default; false explicitly disables it.","uniqueKey":"goal_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"goal_mode","typeLabel":"boolean | null"},"fast_mode":{"oneOf":[{"type":"boolean","description":"Enable or disable fast mode for automation messages. Null inherits the resolved agent default; false explicitly disables it.","uniqueKey":"fast_mode.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Enable or disable fast mode for automation messages. Null inherits the resolved agent default; false explicitly disables it.","uniqueKey":"fast_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"fast_mode","typeLabel":"boolean | null"},"scope":{"type":"string","enum":["org"],"description":"Set to `org` to move a personal automation to the organization so teammates can see and edit it. Requires a shared environment and Automations write access. Cannot be undone.","uniqueKey":"scope","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","description":"\u003cstring>","triggers":[{"config":{"schedule":"0 9 * * 1-5","timezone":"America/New_York"}}],"prompt":"\u003cstring>","debounce_seconds":43200,"github_check_names":["\u003cstring>"],"environment_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","enabled":true,"workspace_auto_stop_minutes":721,"config":{"memoryRetentionEnabled":true,"capabilities":{"pr_followups":true,"read_only_contents":true},"preferences":{"keep_open_on_pr_merge":false,"keep_open_on_pr_close":false},"provisioning_error":{"message":"\u003cstring>"}},"model":"\u003cstring>","plan_mode":true,"goal_mode":true,"fast_mode":true,"scope":"org"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"de0e5b5a-8003-44db-9580-71cc0c7cd5ad":{"description":"Automation updated successfully","content":{"application/json":{"schema":{"type":"object","description":"Response containing a single automation","properties":{"automation":{"type":"object","description":"An automation record","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the automation","isRequired":true,"uniqueKey":"automation.id","typeLabel":"string\u003cuuid>"},"organization_id":{"type":"string","format":"uuid","description":"Organization that owns this automation","isRequired":true,"uniqueKey":"automation.organization_id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Human-readable name for the automation","isRequired":true,"uniqueKey":"automation.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Optional description","isRequired":true,"uniqueKey":"automation.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional description","isRequired":true,"uniqueKey":"automation.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.description","typeLabel":"string | null"},"triggers":{"type":"array","items":{"type":"object","description":"A trigger that determines when an automation fires","properties":{"type":{"type":"string","description":"The trigger type","enum":["cron","github","gitlab","slack","sentry","custom"],"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"config":{"oneOf":[{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["schedule"],"properties":{"schedule":{"type":"string","description":"Cron expression (e.g. \"0 9 * * 1-5\" for weekdays at 9am UTC)","example":"0 9 * * 1-5","isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.0.schedule","typeLabel":"string"},"timezone":{"type":"string","description":"IANA timezone for the schedule (defaults to UTC)","default":"UTC","example":"America/New_York","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.0.timezone","typeLabel":"string"}},"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.0","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["event"],"properties":{"event":{"type":"string","description":"The GitHub event to listen for","enum":["pull_request.opened","pull_request.synchronize","pull_request.ready_for_review","pull_request.merged","pull_request.closed","pull_request.command"],"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.1.event","typeLabel":"enum\u003cstring>"},"repository_ids":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.1.repository_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Optional filter: only fire for events from these repositories. If omitted, fires for all repositories.","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.1.repository_ids","typeLabel":"string\u003cuuid>[]"},"group_pr_events":{"type":"boolean","description":"Send later opened, synchronize, ready for review, and command events for the same pull request to the existing workspace instead of creating a new one.","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.1.group_pr_events","typeLabel":"boolean"},"excluded_actors":{"type":"array","items":{"type":"string","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.1.excluded_actors.items.[INDEX]","typeLabel":"string"},"description":"Optional exclusion list: events sent by these GitHub usernames never fire the automation (e.g. `dependabot[bot]`). Matching is case-insensitive and ignores a leading `@`.","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.1.excluded_actors","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.1","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["event"],"properties":{"event":{"type":"string","description":"The GitLab event to listen for","enum":["merge_request.opened","merge_request.updated","merge_request.merged","merge_request.closed"],"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.2.event","typeLabel":"enum\u003cstring>"},"repository_ids":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.2.repository_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Optional filter: only fire for events from these GitLab projects. If omitted, fires for all projects.","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.2.repository_ids","typeLabel":"string\u003cuuid>[]"},"group_pr_events":{"type":"boolean","description":"Send later opened and updated events for the same merge request to the existing workspace instead of creating a new one.","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.2.group_pr_events","typeLabel":"boolean"},"excluded_actors":{"type":"array","items":{"type":"string","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.2.excluded_actors.items.[INDEX]","typeLabel":"string"},"description":"Optional exclusion list: events sent by these GitLab usernames never fire the automation. Matching is case-insensitive and ignores a leading `@`.","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.2.excluded_actors","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.2","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["event"],"properties":{"event":{"type":"string","description":"The Slack event to listen for","enum":["message"],"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.3.event","typeLabel":"enum\u003cstring>"},"channel_ids":{"type":"array","items":{"type":"string","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.3.channel_ids.items.[INDEX]","typeLabel":"string"},"description":"Optional filter: only fire for events from these Slack channels. If omitted, fires for all channels.","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.3.channel_ids","typeLabel":"string[]"},"group_thread_replies":{"type":"boolean","description":"When true (default), thread replies flow to the same workspace as the root message instead of spawning new ones.","default":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.3.group_thread_replies","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.3","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","required":["event"],"properties":{"event":{"type":"string","description":"The Sentry event to listen for","enum":["event_alert.triggered","issue.created","error.created"],"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.4.event","typeLabel":"enum\u003cstring>"},"project_slugs":{"type":"array","items":{"type":"string","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.4.project_slugs.items.[INDEX]","typeLabel":"string"},"description":"Optional filter: only fire for events from these Sentry project slugs. If omitted, fires for all projects.","uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.4.project_slugs","typeLabel":"string[]"},"min_level":{"type":"string","description":"Optional minimum severity level (inclusive). If omitted, fires for all levels.","enum":["debug","info","warning","error","fatal"],"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.4.min_level","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.4","typeLabel":"object"},{"type":"object","description":"Trigger configuration. Its schema depends on `type`: `CronTriggerConfig`, `GitHubTriggerConfig`, `GitLabTriggerConfig`, `SlackTriggerConfig`, `SentryTriggerConfig`, or an empty object for `custom`.","properties":{},"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config.oneOf.5","typeLabel":"object"}],"isRequired":true,"uniqueKey":"automation.triggers.items.[INDEX].config","typeLabel":"object"}},"required":["type","config"],"uniqueKey":"automation.triggers.items.[INDEX]","typeLabel":"object"},"description":"Triggers that fire this automation","isRequired":true,"uniqueKey":"automation.triggers","typeLabel":"object[]"},"prompt":{"type":"string","description":"The instruction sent to the coding agent when the automation fires","isRequired":true,"uniqueKey":"automation.prompt","typeLabel":"string"},"debounce_seconds":{"oneOf":[{"type":"integer","minimum":0,"maximum":86400,"description":"Seconds to wait for trigger events to stop before running once with the latest payload. GitHub and GitLab events debounce per pull or merge request. `null` or `0` disables debouncing.","isRequired":true,"uniqueKey":"automation.debounce_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":86400,"description":"Seconds to wait for trigger events to stop before running once with the latest payload. GitHub and GitLab events debounce per pull or merge request. `null` or `0` disables debouncing.","isRequired":true,"uniqueKey":"automation.debounce_seconds.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.debounce_seconds","typeLabel":"integer | null"},"github_check_names":{"type":"array","items":{"type":"string","maxLength":100,"uniqueKey":"automation.github_check_names.items.[INDEX]","typeLabel":"string"},"maxItems":10,"description":"GitHub check names the automation reports a verdict on.","isRequired":true,"uniqueKey":"automation.github_check_names","typeLabel":"string[]"},"environment_id":{"type":"string","format":"uuid","description":"ID of the environment this automation runs in. The environment supplies env vars / MCPs / skills layered on top of the environments it builds on and decides which repositories are cloned.","isRequired":true,"uniqueKey":"automation.environment_id","typeLabel":"string\u003cuuid>"},"enabled":{"type":"boolean","description":"Whether the automation is active","isRequired":true,"uniqueKey":"automation.enabled","typeLabel":"boolean"},"auto_paused_at":{"oneOf":[{"type":"string","format":"date-time","description":"When Replicas paused the automation after it failed every run for 7 days. Null once it's enabled again.","isRequired":true,"uniqueKey":"automation.auto_paused_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When Replicas paused the automation after it failed every run for 7 days. Null once it's enabled again.","isRequired":true,"uniqueKey":"automation.auto_paused_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.auto_paused_at","typeLabel":"string\u003cdate-time> | null"},"failing_cause":{"oneOf":[{"type":"string","description":"Error from the latest failed run while every run since its last completed one has failed. Null once a run completes.","isRequired":true,"uniqueKey":"automation.failing_cause.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error from the latest failed run while every run since its last completed one has failed. Null once a run completes.","isRequired":true,"uniqueKey":"automation.failing_cause.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.failing_cause","typeLabel":"string | null"},"webhook_token":{"oneOf":[{"type":"string","description":"Token for the `custom` trigger URL, `POST /v1/automations/webhook/{webhook_token}`. Anyone with the URL can run the automation, so keep it secret.","isRequired":true,"uniqueKey":"automation.webhook_token.oneOf.0","typeLabel":"string"},{"type":"null","description":"Token for the `custom` trigger URL, `POST /v1/automations/webhook/{webhook_token}`. Anyone with the URL can run the automation, so keep it secret.","isRequired":true,"uniqueKey":"automation.webhook_token.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.webhook_token","typeLabel":"string | null"},"cron_next_fire_at":{"oneOf":[{"type":"string","format":"date-time","description":"Next scheduled fire time for cron automations","isRequired":true,"uniqueKey":"automation.cron_next_fire_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Next scheduled fire time for cron automations","isRequired":true,"uniqueKey":"automation.cron_next_fire_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.cron_next_fire_at","typeLabel":"string\u003cdate-time> | null"},"user_id":{"oneOf":[{"type":"string","format":"uuid","description":"User ID for personal automations, null for org-owned automations","isRequired":true,"uniqueKey":"automation.user_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"User ID for personal automations, null for org-owned automations","isRequired":true,"uniqueKey":"automation.user_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.user_id","typeLabel":"string\u003cuuid> | null"},"created_by":{"oneOf":[{"type":"string","format":"uuid","description":"User who created the automation","isRequired":true,"uniqueKey":"automation.created_by.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"User who created the automation","isRequired":true,"uniqueKey":"automation.created_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.created_by","typeLabel":"string\u003cuuid> | null"},"workspace_lifecycle_policy":{"type":"string","description":"Lifecycle policy for workspaces created by this automation","enum":["default","archive_when_done","sleep_when_done","delete_when_done","delete_after_inactivity"],"isRequired":true,"uniqueKey":"automation.workspace_lifecycle_policy","typeLabel":"enum\u003cstring>"},"workspace_auto_stop_minutes":{"oneOf":[{"type":"integer","description":"Inactivity timeout in minutes (3-1440) for the default keep-alive policy","minimum":3,"maximum":1440,"isRequired":true,"uniqueKey":"automation.workspace_auto_stop_minutes.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Inactivity timeout in minutes (3-1440) for the default keep-alive policy","minimum":3,"maximum":1440,"isRequired":true,"uniqueKey":"automation.workspace_auto_stop_minutes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.workspace_auto_stop_minutes","typeLabel":"integer | null"},"workspace_size":{"oneOf":[{"type":"string","description":"Compute size for workspaces fired off by this automation. Defaults to `small` when omitted.","enum":["small","large","ultra",null],"isRequired":true,"uniqueKey":"automation.workspace_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Compute size for workspaces fired off by this automation. Defaults to `small` when omitted.","enum":["small","large","ultra",null],"isRequired":true,"uniqueKey":"automation.workspace_size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.workspace_size","typeLabel":"enum\u003cstring> | null"},"config":{"type":"object","description":"Workspace behavior configuration. Defaults depend on the workspace source; see each setting.","properties":{"memoryRetentionEnabled":{"type":"boolean","description":"Whether sessions are added to session history when the workspace sleeps. Defaults to false for API and automation workspaces.","uniqueKey":"automation.config.memoryRetentionEnabled","typeLabel":"boolean"},"capabilities":{"type":"object","description":"Actions this workspace is allowed to perform. Automations snapshot this config onto each workspace they create; API-created workspaces can set it at creation time.","properties":{"pr_followups":{"type":"boolean","description":"Whether matching pull requests can receive Replicas follow-up actions. Only applies to workspaces created from an automation, where it defaults to false; other workspaces always receive follow-ups. When enabled, later CI and review-comment replies can route back to this workspace.","uniqueKey":"automation.config.capabilities.pr_followups","typeLabel":"boolean"},"read_only_contents":{"type":"boolean","description":"Whether the workspace GitHub token is restricted to read-only repository contents, keeping write access for pull request comments, issues, and checks. Defaults to false, so the workspace can push branches and open pull requests.","uniqueKey":"automation.config.capabilities.read_only_contents","typeLabel":"boolean"}},"additionalProperties":true,"uniqueKey":"automation.config.capabilities","typeLabel":"object"},"preferences":{"type":"object","description":"Workspace behavior preferences that do not grant new action permissions.","properties":{"keep_open_on_pr_merge":{"type":"boolean","description":"Whether the workspace should remain open after its last tracked PR is merged. Defaults to false.","default":false,"uniqueKey":"automation.config.preferences.keep_open_on_pr_merge","typeLabel":"boolean"},"keep_open_on_pr_close":{"type":"boolean","description":"Whether the workspace should remain open after its last tracked PR is closed without merging. Defaults to false.","default":false,"uniqueKey":"automation.config.preferences.keep_open_on_pr_close","typeLabel":"boolean"}},"additionalProperties":true,"uniqueKey":"automation.config.preferences","typeLabel":"object"},"provisioning_error":{"type":"object","description":"Setup/provisioning or wake/resume failure captured when the workspace remains queryable in `error` status. Some wake/resume failures can be retried; the `error` status can also represent an unrecoverable sandbox failure.","properties":{"message":{"type":"string","description":"Underlying setup failure message, such as repository clone/auth errors.","uniqueKey":"automation.config.provisioning_error.message","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"automation.config.provisioning_error","typeLabel":"object"}},"additionalProperties":true,"isRequired":true,"uniqueKey":"automation.config","typeLabel":"object"},"agent_provider":{"oneOf":[{"type":"string","description":"Coding agent override for this automation. Null inherits the organization default.","enum":["claude","codex","cursor","muse","opencode","pi",null],"isRequired":true,"uniqueKey":"automation.agent_provider.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Coding agent override for this automation. Null inherits the organization default.","enum":["claude","codex","cursor","muse","opencode","pi",null],"isRequired":true,"uniqueKey":"automation.agent_provider.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.agent_provider","typeLabel":"enum\u003cstring> | null"},"model":{"oneOf":[{"type":"string","description":"Model override for this automation. Null uses the agent default.","isRequired":true,"uniqueKey":"automation.model.oneOf.0","typeLabel":"string"},{"type":"null","description":"Model override for this automation. Null uses the agent default.","isRequired":true,"uniqueKey":"automation.model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.model","typeLabel":"string | null"},"thinking_level":{"oneOf":[{"type":"string","description":"Thinking/reasoning level override for this automation. `ultra` is available for Codex and Muse Code; `ultracode` is Claude Code-only.","enum":["low","medium","high","xhigh","max","ultra","ultracode",null],"isRequired":true,"uniqueKey":"automation.thinking_level.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Thinking/reasoning level override for this automation. `ultra` is available for Codex and Muse Code; `ultracode` is Claude Code-only.","enum":["low","medium","high","xhigh","max","ultra","ultracode",null],"isRequired":true,"uniqueKey":"automation.thinking_level.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.thinking_level","typeLabel":"enum\u003cstring> | null"},"plan_mode":{"type":"boolean","description":"Whether automation messages run in plan mode.","isRequired":true,"uniqueKey":"automation.plan_mode","typeLabel":"boolean"},"goal_mode":{"oneOf":[{"type":"boolean","description":"Whether automation messages are set as goals. Null inherits the resolved agent default; false explicitly disables it. Only applies when the resolved agent is Claude Code or Codex.","isRequired":true,"uniqueKey":"automation.goal_mode.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether automation messages are set as goals. Null inherits the resolved agent default; false explicitly disables it. Only applies when the resolved agent is Claude Code or Codex.","isRequired":true,"uniqueKey":"automation.goal_mode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.goal_mode","typeLabel":"boolean | null"},"fast_mode":{"oneOf":[{"type":"boolean","description":"Whether automation messages run in fast mode. Null inherits the resolved agent default; false explicitly disables it.","isRequired":true,"uniqueKey":"automation.fast_mode.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether automation messages run in fast mode. Null inherits the resolved agent default; false explicitly disables it.","isRequired":true,"uniqueKey":"automation.fast_mode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation.fast_mode","typeLabel":"boolean | null"},"created_at":{"type":"string","format":"date-time","description":"When the automation was created","isRequired":true,"uniqueKey":"automation.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the automation was last updated","isRequired":true,"uniqueKey":"automation.updated_at","typeLabel":"string\u003cdate-time>"},"access":{"type":"object","description":"The caller's effective permissions on this automation.","properties":{"can_write":{"type":"boolean","isRequired":true,"uniqueKey":"automation.access.can_write","typeLabel":"boolean"},"can_read":{"type":"boolean","isRequired":true,"uniqueKey":"automation.access.can_read","typeLabel":"boolean"}},"required":["can_read","can_write"],"uniqueKey":"automation.access","typeLabel":"object"},"my_alert_level":{"type":"string","enum":["muted","normal","every"],"description":"Which phone pushes the signed-in person gets from this automation: `muted` (none), `normal` (when it needs them or stops working) or `every` (each result too). Defaults to `normal` for whoever made it and `muted` for everyone else. Absent when no person is signed in, as with an organization API key.","uniqueKey":"automation.my_alert_level","typeLabel":"enum\u003cstring>"}},"required":["id","organization_id","name","description","triggers","prompt","debounce_seconds","github_check_names","environment_id","enabled","auto_paused_at","failing_cause","user_id","webhook_token","cron_next_fire_at","created_by","workspace_lifecycle_policy","workspace_auto_stop_minutes","workspace_size","config","agent_provider","model","thinking_level","plan_mode","goal_mode","fast_mode","created_at","updated_at"],"isRequired":true,"uniqueKey":"automation","typeLabel":"object"}},"required":["automation"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"automation":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","organization_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","description":"\u003cstring>","triggers":[{"type":"cron","config":{"schedule":"0 9 * * 1-5","timezone":"America/New_York"}}],"prompt":"\u003cstring>","debounce_seconds":43200,"github_check_names":["\u003cstring>"],"environment_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","enabled":true,"auto_paused_at":"2023-11-07T05:31:56Z","failing_cause":"\u003cstring>","webhook_token":"\u003cstring>","cron_next_fire_at":"2023-11-07T05:31:56Z","user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created_by":"3c90c3cc-0d44-4b50-8888-8dd25736052a","workspace_lifecycle_policy":"default","workspace_auto_stop_minutes":721,"workspace_size":"small","config":{"memoryRetentionEnabled":true,"capabilities":{"pr_followups":true,"read_only_contents":true},"preferences":{"keep_open_on_pr_merge":false,"keep_open_on_pr_close":false},"provisioning_error":{"message":"\u003cstring>"}},"agent_provider":"claude","model":"\u003cstring>","thinking_level":"low","plan_mode":true,"goal_mode":true,"fast_mode":true,"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","access":{"can_write":true,"can_read":true},"my_alert_level":"muted"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3ec8c6c0-00e4-4262-873f-2aa0c1368102":{"description":"Bad request - Missing or invalid parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Additional error details","uniqueKey":"details.oneOf.0","typeLabel":"string"},{"type":"null","description":"Additional error details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"string | null"},"code":{"type":"string","description":"Machine-readable error code when available","uniqueKey":"code","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","details":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"fb86e896-9caa-42e3-a649-b2e076accd95":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Additional error details","uniqueKey":"details.oneOf.0","typeLabel":"string"},{"type":"null","description":"Additional error details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"string | null"},"code":{"type":"string","description":"Machine-readable error code when available","uniqueKey":"code","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","details":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a64a5c1a-b71e-4554-a17f-fe2c20215af0":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Additional error details","uniqueKey":"details.oneOf.0","typeLabel":"string"},{"type":"null","description":"Additional error details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"string | null"},"code":{"type":"string","description":"Machine-readable error code when available","uniqueKey":"code","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","details":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"87bdf027-605d-4bef-9c91-dd55a493f9a3":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"oneOf":[{"type":"string","description":"Additional error details","uniqueKey":"details.oneOf.0","typeLabel":"string"},{"type":"null","description":"Additional error details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"string | null"},"code":{"type":"string","description":"Machine-readable error code when available","uniqueKey":"code","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","details":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3f0e4527-d69e-4dda-a47b-6c09ed3dec29":{"apiKey":{"type":"http","scheme":"bearer","description":"Organization or personal API key from **Settings → API Keys**.","scopes":[],"schemeName":"apiKey"}}},"servers":{"c9e5da3f-a2a2-4151-a4c8-4d3120b8ca5f":{"url":"https://api.replicas.dev","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Organization or personal API key from **Settings → API Keys**.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Organization or personal API key from **Settings → API Keys**.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"replicas","siteName":"Replicas Docs","title":"Update automation - Replicas Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-08T05:32:40.418Z","originalFileLocation":"api-reference/automations/update-automation.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=\"Updates only the fields you send. triggers replaces all triggers.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Replicas Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update automation - Replicas Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates only the fields you send. triggers replaces all triggers.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Replicas Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.replicas.dev/api-reference/automations/update-automation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://replicas.mintlify.site/_mintlify/api/og/v2?division=Automations\u0026amp;title=Update+automation\u0026amp;description=Updates+only+the+fields+you+send.+%60triggers%60+replaces+all+triggers.\u0026amp;theme=68bdbda72179db93a84d0711\u0026amp;signature=b26ea282be39ea0180169d9e387abedb6e7e4201b15d5ef6fc8c4137cf2b5986\">\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 automation - Replicas Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates only the fields you send. triggers replaces all triggers.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://replicas.mintlify.site/_mintlify/api/og/v2?division=Automations\u0026amp;title=Update+automation\u0026amp;description=Updates+only+the+fields+you+send.+%60triggers%60+replaces+all+triggers.\u0026amp;theme=68bdbda72179db93a84d0711\u0026amp;signature=b26ea282be39ea0180169d9e387abedb6e7e4201b15d5ef6fc8c4137cf2b5986\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/replicas/Xl41Pb3xogvv0S7U/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Replicas Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1c6a49\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.replicas.dev/api-reference/automations/update-automation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/automations/update-automation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.replicas.dev/#organization\",\"name\":\"Replicas Docs\",\"url\":\"https://docs.replicas.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/replicas/PCNWUrW07f_UGjWs/logo/R-logo-light.svg?fit=max\u0026auto=format\u0026n=PCNWUrW07f_UGjWs\u0026q=85\u0026s=04a073003bfe1531044b6915b6b16746\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.replicas.dev#website\",\"name\":\"Replicas Docs\",\"url\":\"https://docs.replicas.dev\",\"publisher\":{\"@id\":\"https://docs.replicas.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.replicas.dev/api-reference/automations/update-automation#webpage\",\"url\":\"https://docs.replicas.dev/api-reference/automations/update-automation\",\"name\":\"Update automation\",\"description\":\"Updates only the fields you send. triggers replaces all triggers.\",\"dateModified\":\"2026-11-08T05:32:40.418Z\",\"isPartOf\":{\"@id\":\"https://docs.replicas.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.replicas.dev/api-reference/automations/update-automation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.replicas.dev/api-reference/automations/update-automation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Automations\",\"item\":\"https://docs.replicas.dev/api-reference/automations/list-automations\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update automation\",\"item\":\"https://docs.replicas.dev/api-reference/automations/update-automation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.replicas.dev/api-reference/automations/update-automation#apireference\",\"headline\":\"Update automation\",\"name\":\"Update automation\",\"description\":\"Updates only the fields you send. triggers replaces all triggers.\",\"url\":\"https://docs.replicas.dev/api-reference/automations/update-automation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.replicas.dev/api-reference/automations/update-automation#webpage\"},\"dateModified\":\"2026-11-08T05:32:40.418Z\",\"publisher\":{\"@id\":\"https://docs.replicas.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.replicas.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Replicas Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Replicas Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Replica","pages":[{"title":"List organization conversations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/conversations","href":"/api-reference/replica/list-organization-conversations"},{"title":"List replicas","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica","href":"/api-reference/replica/list-replicas"},{"title":"Create replica","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica","href":"/api-reference/replica/create-replica"},{"title":"Get replica","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}","href":"/api-reference/replica/get-replica"},{"title":"Delete replica","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/replica/{id}","href":"/api-reference/replica/delete-replica"},{"title":"Rename replica","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/replica/{id}","href":"/api-reference/replica/rename-replica"},{"title":"Send message","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/messages","href":"/api-reference/replica/send-message"},{"title":"Read history","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/history","href":"/api-reference/replica/read-history"},{"title":"Get hook logs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/hooks","href":"/api-reference/replica/get-hook-logs"},{"title":"Stream events","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/events","href":"/api-reference/replica/stream-events"},{"title":"Wake replica","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/wake","href":"/api-reference/replica/wake-replica"},{"title":"Sleep replica","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/sleep","href":"/api-reference/replica/sleep-replica"},{"title":"Archive replica","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/archive","href":"/api-reference/replica/archive-replica"},{"title":"Make replica a Mothership","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/mothership","href":"/api-reference/replica/make-replica-a-mothership"},{"title":"List replica media","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/media","href":"/api-reference/replica/list-replica-media"},{"title":"Wait for replica","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/wait","href":"/api-reference/replica/wait-for-replica"}]},{"group":"Chats","pages":[{"title":"List chats","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/chats","href":"/api-reference/chats/list-chats"},{"title":"Create chat","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/chats","href":"/api-reference/chats/create-chat"},{"title":"Delete chat","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/replica/{id}/chats/{chat_id}","href":"/api-reference/chats/delete-chat"},{"title":"Rename chat","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/replica/{id}/chats/{chat_id}","href":"/api-reference/chats/rename-chat"},{"title":"List slash commands","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/chats/{chat_id}/slash-commands","href":"/api-reference/chats/list-slash-commands"},{"title":"Restore chat","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/chats/{chat_id}/restore","href":"/api-reference/chats/restore-chat"},{"title":"Interrupt chat","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/chats/{chat_id}/interrupt","href":"/api-reference/chats/interrupt-chat"},{"title":"Update chat goal","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/replica/{id}/chats/{chat_id}/goal","href":"/api-reference/chats/update-chat-goal"},{"title":"Clear chat goal","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/chats/{chat_id}/goal/clear","href":"/api-reference/chats/clear-chat-goal"},{"title":"Answer agent question","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/chats/{chat_id}/tool-input","href":"/api-reference/chats/answer-agent-question"},{"title":"Fork chat","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/chats/{chat_id}/fork","href":"/api-reference/chats/fork-chat"}]},{"group":"Message queue","pages":[{"title":"Get queue","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/chats/{chat_id}/queue","href":"/api-reference/message-queue/get-queue"},{"title":"Clear queue","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/replica/{id}/chats/{chat_id}/queue","href":"/api-reference/message-queue/clear-queue"},{"title":"Reorder queued message","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/replica/{id}/chats/{chat_id}/queue/reorder","href":"/api-reference/message-queue/reorder-queued-message"},{"title":"Remove queued message","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/replica/{id}/chats/{chat_id}/queue/{message_id}","href":"/api-reference/message-queue/remove-queued-message"},{"title":"Edit queued message","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/replica/{id}/chats/{chat_id}/queue/{message_id}","href":"/api-reference/message-queue/edit-queued-message"},{"title":"Steer with queued message","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/chats/{chat_id}/queue/{message_id}/steer","href":"/api-reference/message-queue/steer-with-queued-message"},{"title":"Send queued message now","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/chats/{chat_id}/queue/{message_id}/send-now","href":"/api-reference/message-queue/send-queued-message-now"}]},{"group":"Commands and terminals","pages":[{"title":"Run command","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/exec","href":"/api-reference/commands-and-terminals/run-command"},{"title":"List terminal sessions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/terminal/sessions","href":"/api-reference/commands-and-terminals/list-terminal-sessions"},{"title":"Create terminal session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/terminal/sessions","href":"/api-reference/commands-and-terminals/create-terminal-session"},{"title":"Send terminal input","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/terminal/sessions/{session_id}/input","href":"/api-reference/commands-and-terminals/send-terminal-input"},{"title":"Resize terminal","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/terminal/sessions/{session_id}/resize","href":"/api-reference/commands-and-terminals/resize-terminal"},{"title":"Stream terminal output","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/terminal/sessions/{session_id}/stream","href":"/api-reference/commands-and-terminals/stream-terminal-output"},{"title":"Close terminal session","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/replica/{id}/terminal/sessions/{session_id}","href":"/api-reference/commands-and-terminals/close-terminal-session"},{"title":"Get SSH access","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/ssh-token","href":"/api-reference/commands-and-terminals/get-ssh-access"}]},{"group":"Pull requests","pages":[{"title":"Get pull requests","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/pull-requests/details","href":"/api-reference/pull-requests/get-pull-requests"},{"title":"Merge pull request","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/pull-requests/merge","href":"/api-reference/pull-requests/merge-pull-request"},{"title":"Update pull request","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/pull-requests/update","href":"/api-reference/pull-requests/update-pull-request"}]},{"group":"Previews","pages":[{"title":"List previews","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/previews","href":"/api-reference/previews/list-previews"},{"title":"Create preview","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/previews","href":"/api-reference/previews/create-preview"},{"title":"Delete preview","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/replica/{id}/previews/{port}","href":"/api-reference/previews/delete-preview"}]},{"group":"Canvas","pages":[{"title":"List Canvas files","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/canvas","href":"/api-reference/canvas/list-canvas-files"},{"title":"Download Canvas file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/canvas-files/{filename}","href":"/api-reference/canvas/download-canvas-file"},{"title":"Read Canvas file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/canvas/{filename}","href":"/api-reference/canvas/read-canvas-file"},{"title":"Write Canvas file","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/replica/{id}/canvas/{filename}","href":"/api-reference/canvas/write-canvas-file"}]},{"group":"Sharing","pages":[{"title":"List shares","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/{id}/shares","href":"/api-reference/sharing/list-shares"},{"title":"Share replica","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/replica/{id}/share","href":"/api-reference/sharing/share-replica"},{"title":"Unshare replica","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/replica/{id}/share/{user_id}","href":"/api-reference/sharing/unshare-replica"}]},{"group":"Environments","pages":[{"title":"List environments","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments","href":"/api-reference/environments/list-environments"},{"title":"Create environment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments","href":"/api-reference/environments/create-environment"},{"title":"Get environment","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{id}","href":"/api-reference/environments/get-environment"},{"title":"Delete environment","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/environments/{id}","href":"/api-reference/environments/delete-environment"},{"title":"Update environment","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/environments/{id}","href":"/api-reference/environments/update-environment"},{"title":"Fork environment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{id}/fork","href":"/api-reference/environments/fork-environment"},{"title":"Detach fork","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{id}/detach","href":"/api-reference/environments/detach-fork"},{"title":"Restore an earlier setup","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/restore","href":"/api-reference/environments/restore-an-earlier-setup"},{"title":"List hook runs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/hook-runs","href":"/api-reference/environments/list-hook-runs"},{"title":"Get hook run log","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/hook-runs/{run_id}","href":"/api-reference/environments/get-hook-run-log"},{"title":"Get effective environment","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/effective","href":"/api-reference/environments/get-effective-environment"},{"title":"Exclude inherited item","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/exclusions","href":"/api-reference/environments/exclude-inherited-item"},{"title":"Reset to inherited","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/reset-inherited","href":"/api-reference/environments/reset-to-inherited"}]},{"group":"Environment variables","pages":[{"title":"List environment variables","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/variables","href":"/api-reference/environment-variables/list-environment-variables"},{"title":"Create environment variable","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/variables","href":"/api-reference/environment-variables/create-environment-variable"},{"title":"Create environment variables","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/variables/bulk","href":"/api-reference/environment-variables/create-environment-variables"},{"title":"Delete environment variable","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/environments/{environment_id}/variables/{id}","href":"/api-reference/environment-variables/delete-environment-variable"},{"title":"Update environment variable","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/environments/{environment_id}/variables/{id}","href":"/api-reference/environment-variables/update-environment-variable"}]},{"group":"Environment files","pages":[{"title":"List environment files","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/files","href":"/api-reference/environment-files/list-environment-files"},{"title":"Create environment file","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/files","href":"/api-reference/environment-files/create-environment-file"},{"title":"Delete environment file","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/environments/{environment_id}/files/{id}","href":"/api-reference/environment-files/delete-environment-file"},{"title":"Update environment file","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/environments/{environment_id}/files/{id}","href":"/api-reference/environment-files/update-environment-file"}]},{"group":"Environment skills","pages":[{"title":"List environment skills","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/skills","href":"/api-reference/environment-skills/list-environment-skills"},{"title":"Enable environment skill","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/skills","href":"/api-reference/environment-skills/enable-environment-skill"},{"title":"Disable environment skill","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/environments/{environment_id}/skills/{id}","href":"/api-reference/environment-skills/disable-environment-skill"},{"title":"List skill registries","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/skills-registries","href":"/api-reference/environment-skills/list-skill-registries"},{"title":"Add skill registry","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/skills-registries","href":"/api-reference/environment-skills/add-skill-registry"},{"title":"Remove skill registry","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/environments/{environment_id}/skills-registries/{skills_registry_id}","href":"/api-reference/environment-skills/remove-skill-registry"},{"title":"List repository skills","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/repo-skills","href":"/api-reference/environment-skills/list-repository-skills"},{"title":"Search skill catalog","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environment-skills/search","href":"/api-reference/environment-skills/search-skill-catalog"}]},{"group":"Environment MCPs","pages":[{"title":"List environment MCPs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/mcps","href":"/api-reference/environment-mcps/list-environment-mcps"},{"title":"Create environment MCP","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/mcps","href":"/api-reference/environment-mcps/create-environment-mcp"},{"title":"Delete environment MCP","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/environments/{environment_id}/mcps/{id}","href":"/api-reference/environment-mcps/delete-environment-mcp"},{"title":"Update environment MCP","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/environments/{environment_id}/mcps/{id}","href":"/api-reference/environment-mcps/update-environment-mcp"}]},{"group":"Hooks","pages":[{"title":"Get warm hook","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/warm-hooks","href":"/api-reference/hooks/get-warm-hook"},{"title":"Save warm hook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/warm-hooks/save","href":"/api-reference/hooks/save-warm-hook"},{"title":"Save and test warm hook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/warm-hooks/save-test","href":"/api-reference/hooks/save-and-test-warm-hook"},{"title":"Test warm hook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/warm-hooks/test","href":"/api-reference/hooks/test-warm-hook"},{"title":"Get start hook","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/start-hooks","href":"/api-reference/hooks/get-start-hook"},{"title":"Save start hook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/start-hooks/save","href":"/api-reference/hooks/save-start-hook"},{"title":"Test start hook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/start-hooks/test","href":"/api-reference/hooks/test-start-hook"},{"title":"Test start hook (streaming)","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/start-hooks/test/stream","href":"/api-reference/hooks/test-start-hook-streaming"}]},{"group":"Warm pools","pages":[{"title":"Enable or disable warm pool","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/environments/{environment_id}/warm-pools","href":"/api-reference/warm-pools/enable-or-disable-warm-pool"},{"title":"Refresh warm pool","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/warm-pools/refresh","href":"/api-reference/warm-pools/refresh-warm-pool"},{"title":"Start queued warm pool build","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/warm-pools/build-now","href":"/api-reference/warm-pools/start-queued-warm-pool-build"},{"title":"Restore warm pool snapshot","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/warm-pool-snapshots/{snapshot_id}/restore","href":"/api-reference/warm-pools/restore-warm-pool-snapshot"},{"title":"List warm pool workspaces","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/warm-pools/{config_id}/workspaces","href":"/api-reference/warm-pools/list-warm-pool-workspaces"},{"title":"Stream warm pool workspace updates","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/warm-pool-workspaces/{workspace_id}/stream","href":"/api-reference/warm-pools/stream-warm-pool-workspace-updates"}]},{"group":"Automations","pages":[{"title":"List automations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automations","href":"/api-reference/automations/list-automations"},{"title":"Create automation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automations","href":"/api-reference/automations/create-automation"},{"title":"List all executions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automations/executions","href":"/api-reference/automations/list-all-executions"},{"title":"Get automation","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automations/{id}","href":"/api-reference/automations/get-automation"},{"title":"Delete automation","description":"Also deletes its run history.","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/automations/{id}","href":"/api-reference/automations/delete-automation"},{"title":"Update automation","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/automations/{id}","href":"/api-reference/automations/update-automation"},{"title":"Trigger automation","description":"Runs the automation now in a new workspace. For a `pull_request.command` trigger, pass `pr` to choose the pull request.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automations/{id}/trigger","href":"/api-reference/automations/trigger-automation"},{"title":"List automation executions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automations/{id}/executions","href":"/api-reference/automations/list-automation-executions"},{"title":"Retry automation execution","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automations/{id}/executions/{execution_id}/retry","href":"/api-reference/automations/retry-automation-execution"}]},{"group":"Repositories","pages":[{"title":"List repositories","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/replica/repositories","href":"/api-reference/repositories/list-repositories"},{"title":"List repository branches","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/repositories/{id}/branches","href":"/api-reference/repositories/list-repository-branches"},{"title":"List connectable GitHub repositories","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/github/repositories","href":"/api-reference/repositories/list-connectable-github-repositories"},{"title":"Add repository","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/repositories","href":"/api-reference/repositories/add-repository"},{"title":"Remove repository","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/repositories/{id}","href":"/api-reference/repositories/remove-repository"},{"title":"Update repository","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/repositories/{id}","href":"/api-reference/repositories/update-repository"}]},{"group":"Learnings","pages":[{"title":"List learnings","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/learned-skills","href":"/api-reference/learnings/list-learnings"},{"title":"Create learning","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/learned-skills","href":"/api-reference/learnings/create-learning"},{"title":"Update learning","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/learned-skills/{id}","href":"/api-reference/learnings/update-learning"},{"title":"Delete learning","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/learned-skills/{id}","href":"/api-reference/learnings/delete-learning"}]},{"group":"Agent credentials","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents/{agent}/models","href":"/api-reference/agent-credentials/list-models"},{"title":"Get organization credential","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/{provider}/credentials","href":"/api-reference/agent-credentials/get-organization-credential"},{"title":"Set organization credential","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/{provider}/credentials","href":"/api-reference/agent-credentials/set-organization-credential"},{"title":"Delete organization credential","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/{provider}/credentials","href":"/api-reference/agent-credentials/delete-organization-credential"},{"title":"Get personal credential","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/{provider}/user/credentials","href":"/api-reference/agent-credentials/get-personal-credential"},{"title":"Set personal credential","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/{provider}/user/credentials","href":"/api-reference/agent-credentials/set-personal-credential"},{"title":"Delete personal credential","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/{provider}/user/credentials","href":"/api-reference/agent-credentials/delete-personal-credential"},{"title":"List credentials for an agent","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents/{agent}/credentials","href":"/api-reference/agent-credentials/list-credentials-for-an-agent"},{"title":"Get subscription usage","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents/subscription-usage","href":"/api-reference/agent-credentials/get-subscription-usage"}]},{"group":"Plugins","pages":[{"title":"List plugins","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/plugins/connections","href":"/api-reference/plugins/list-plugins"},{"title":"Connect plugin","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/plugins/{plugin_id}/connect","href":"/api-reference/plugins/connect-plugin"},{"title":"Start plugin OAuth","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/environments/{environment_id}/plugins/{plugin_id}/oauth/start","href":"/api-reference/plugins/start-plugin-oauth"},{"title":"Disconnect plugin","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/environments/{environment_id}/plugins/{plugin_id}","href":"/api-reference/plugins/disconnect-plugin"}]},{"group":"Organization","pages":[{"title":"Get current identity","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/whoami","href":"/api-reference/organization/get-current-identity"},{"title":"List members","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/organization/members","href":"/api-reference/organization/list-members"}]},{"group":"Media","pages":[{"title":"Get a media download URL","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/media/{id}/url","href":"/api-reference/media/get-a-media-download-url"},{"title":"Get a media preview URL","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/media/{id}/preview-url","href":"/api-reference/media/get-a-media-preview-url"},{"title":"Get media metadata","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/media/{id}/metadata","href":"/api-reference/media/get-media-metadata"}]},{"group":"Slack","pages":[{"title":"Attach Slack thread","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/slack/threads/attach","href":"/api-reference/slack/attach-slack-thread"}]},{"group":"Workspace identity","pages":[{"title":"Get workspace identity discovery document","deprecated":null,"version":null,"openapi":"/openapi.json get /.well-known/openid-configuration","href":"/api-reference/workspace-identity/get-workspace-identity-discovery-document"},{"title":"Get workspace identity signing keys","deprecated":null,"version":null,"openapi":"/openapi.json get /.well-known/jwks.json","href":"/api-reference/workspace-identity/get-workspace-identity-signing-keys"},{"title":"Get workspace identity configuration","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environments/{environment_id}/workload-identity","href":"/api-reference/workspace-identity/get-workspace-identity-configuration"}]}]}]},"basePath":"","title":"Update automation - Replicas Docs","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}