Stops the agent’s current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn’t returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.
An opaque Omnara personal or organization bearer token.
Path Parameters
orgID
string
required
Organization ID (org_...).
Pattern: ^org_[a-z2-7]{26}$
projectID
string
required
Project ID (proj_...).
Pattern: ^proj_[a-z2-7]{26}$
agentID
string
required
Agent ID (agt_...).
Pattern: ^agt_[a-z2-7]{26}$
Body
application/json
actor
object
External actor to attribute this cancelation to, upserted by (provider_tenant_id, provider_user_id) atomically with the cancelation; a rejected request writes no actor. Only allowed for non-user principals; requests authenticated as a user must omit it and are attributed to the user's omnara actor.
Show child attributes
Response
Agent canceled.
event
object
required
Option 1
Option 2
Option 3
Option 4
Show child attributes
runtime_cancel_requested
boolean
required
Whether this request created or observed a durable runtime cancel request. Immediate delivery is best effort; runtime-lock renewal observes the durable request.
affected
boolean
required
Whether this request changed any cancelable work.
actor_id
string
Actor the cancelation was attributed to. Absent when the request had no actor attribution.
Pattern: ^actr_[a-z2-7]{26}$
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Omnara","colors":{"primary":"#4372cf","light":"#81a1df","dark":"#3162c2"},"logo":{"light":"https://mintcdn.com/omnara/n37k7gqYv1cBmVaT/logo/omnara-logo.svg?fit=max\u0026auto=format\u0026n=n37k7gqYv1cBmVaT\u0026q=85\u0026s=5daf8948f5a1eea8bcd0ee573f967d93","dark":"https://mintcdn.com/omnara/n37k7gqYv1cBmVaT/logo/omnara-logo.svg?fit=max\u0026auto=format\u0026n=n37k7gqYv1cBmVaT\u0026q=85\u0026s=5daf8948f5a1eea8bcd0ee573f967d93"},"favicon":"https://mintcdn.com/omnara/kLEoXaNFboi20nkD/favicon.ico?fit=max\u0026auto=format\u0026n=kLEoXaNFboi20nkD\u0026q=85\u0026s=17264def932025239855552d5c977340","appearance":{"default":"dark","strict":true},"background":{"decoration":"gradient","color":{"dark":"#0b0b0c"}},"navbar":{"links":[{"href":"/support","label":"Support"},{"href":"https://github.com/omnara-ai/omnara","label":"GitHub"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.omnara.com"}},"footer":{"socials":{"x":"https://twitter.com/omnaraai","linkedin":"https://linkedin.com/company/omnara","discord":"https://discord.gg/Dc46sYk6e3"}},"seo":{"metatags":{"canonical":"https://docs.omnara.com","og:site_name":"Omnara Docs","twitter:card":"summary_large_image"}},"fonts":{"heading":{"family":"Inter","weight":600},"body":{"family":"Inter","weight":400}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/Dc46sYk6e3"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"omnara","hasAudioNarration":false,"actualSubdomain":"omnara","customDomains":["docs.omnara.com"],"gitSource":{"type":"github","owner":"omnara-ai","repo":"omnara","deployBranch":"docs-production","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6affa9259cb9ecf566203d32","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API reference","count":189},{"language":"default","tag":"Endpoints","count":183},{"language":"default","tag":"Documentation","count":55},{"language":"default","tag":"Machines","count":30},{"language":"default","tag":"Integrations","count":22},{"language":"default","tag":"Agents","count":21},{"language":"default","tag":"Configs and Profiles","count":20},{"language":"default","tag":"Organizations and Projects","count":20},{"language":"default","tag":"Examples","count":16},{"language":"default","tag":"Models","count":16}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img[src*=\"/logo/providers/\"]{object-position:-9999px 0;-webkit-mask:var(--provider-logo) center / contain no-repeat;mask:var(--provider-logo) center / contain no-repeat}.dark img[src*=\"/logo/providers/\"]{background-color:rgb(var(--gray-500))}.dark a[aria-current=\"page\"] img[src*=\"/logo/providers/\"]{background-color:rgb(var(--primary-light))}img[src*=\"/logo/providers/agent37.\"]{--provider-logo: url(\"/logo/providers/agent37.svg\")}img[src*=\"/logo/providers/arker.\"]{--provider-logo: url(\"/logo/providers/arker.svg\")}img[src*=\"/logo/providers/blaxel.\"]{--provider-logo: url(\"/logo/providers/blaxel.svg\")}img[src*=\"/logo/providers/boxd.\"]{--provider-logo: url(\"/logo/providers/boxd.svg\")}img[src*=\"/logo/providers/createos.\"]{--provider-logo: url(\"/logo/providers/createos.svg\")}img[src*=\"/logo/providers/daytona.\"]{--provider-logo: url(\"/logo/providers/daytona.svg\")}img[src*=\"/logo/providers/e2b.\"]{--provider-logo: url(\"/logo/providers/e2b.svg\")}img[src*=\"/logo/providers/freestyle.\"]{--provider-logo: url(\"/logo/providers/freestyle.svg\")}img[src*=\"/logo/providers/modal.\"]{--provider-logo: url(\"/logo/providers/modal.svg\")}img[src*=\"/logo/providers/superserve.\"]{--provider-logo: url(\"/logo/providers/superserve.svg\")}img[src*=\"/logo/providers/tenki.\"]{--provider-logo: url(\"/logo/providers/tenki.png\")}img[src*=\"/logo/providers/unikraft.\"]{--provider-logo: url(\"/logo/providers/unikraft.png\")}"}]}
{"page":{"pagePath":"api-reference/endpoints/agents/cancel-agent","slug":"/api-reference/endpoints/agents/cancel-agent","pageMetadata":{"title":"Cancel agent","description":"Stops the agent's current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn't returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/cancel","href":"/api-reference/endpoints/agents/cancel-agent","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Stops the agent’s current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn’t returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Cancel agent","description":"Stops the agent's current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn't returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/cancel","href":"/api-reference/endpoints/agents/cancel-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"cancelAgent","tags":["Agents"],"summary":"Cancel agent","description":"Stops the agent's current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn't returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.","security":["388aaecc-77ec-4757-a59f-105dbdb98199","b76f60b2-d4d4-4cee-8264-94930645e695"],"requestBody":"2e9ea496-847d-437e-8bdd-16e241bb5ff6","responses":{"200":"d73d058e-64c2-4bdc-84c9-25ac6ee531af","400":"5f2154d2-dec2-47d1-92b8-f75b41ef936e","401":"e47d6a5c-97bf-40cb-98ce-c9fc66992ab2","403":"31df10f2-6876-4e3c-a7ab-5ed80e9f8142","404":"48de2c07-cb04-47b6-81f3-749d6bb21149","409":"b8239a36-3430-4ab8-903d-9d668324683e","503":"7a1dc44d-ca9f-453f-b30c-8690273a6d73","4XX":"151c03bc-3ef6-4a7e-8065-efab91179e0b","5XX":"80ba6ddb-82c2-4686-992f-62c5310aa135"},"method":"post","type":"path","servers":["5bfa43b9-33b6-499b-b645-caac7496ba04","295e8d33-4bfb-4d69-9dbb-cc3f37b19473"],"path":"/orgs/{orgID}/projects/{projectID}/agents/{agentID}/cancel","baseUrlOptions":["https://api.omnara.com/v1","/api/v1"],"title":"Cancel agent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9023ebfb-517b-4ec8-b2e5-a267255c244a":{"name":"orgID","in":"path","description":"Organization ID (org_...).","required":true,"schema":{"type":"string","pattern":"^org_[a-z2-7]{26}$","isRequired":true,"description":"Organization ID (org_...).","uniqueKey":"","typeLabel":"string"}},"356708d4-cb69-4ebe-b006-a7c559606691":{"name":"projectID","in":"path","description":"Project ID (proj_...).","required":true,"schema":{"type":"string","pattern":"^proj_[a-z2-7]{26}$","isRequired":true,"description":"Project ID (proj_...).","uniqueKey":"","typeLabel":"string"}},"2e935c93-c3f8-438b-92bd-5114955be3d7":{"name":"agentID","in":"path","description":"Agent ID (agt_...).","required":true,"schema":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"description":"Agent ID (agt_...).","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"actor":{"type":"object","description":"External actor to attribute this cancelation to, upserted by (provider_tenant_id, provider_user_id) atomically with the cancelation; a rejected request writes no actor. Only allowed for non-user principals; requests authenticated as a user must omit it and are attributed to the user's omnara actor.","additionalProperties":false,"required":["provider_user_id"],"properties":{"provider_user_id":{"description":"The user's ID in your system. With provider_tenant_id, identifies the actor.","type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"actor.provider_user_id","typeLabel":"string"},"provider_tenant_id":{"description":"Your tenant or namespace for the user. With provider_user_id, identifies the actor.","type":"string","minLength":1,"maxLength":128,"uniqueKey":"actor.provider_tenant_id","typeLabel":"string"},"display_name":{"description":"Display name for the actor.","type":"string","maxLength":256,"uniqueKey":"actor.display_name","typeLabel":"string"},"metadata":{"type":"object","description":"Key-value attributes for the actor. Replaces stored metadata when sent.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"actor.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"actor.metadata","typeLabel":"object"}},"uniqueKey":"actor","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"d73d058e-64c2-4bdc-84c9-25ac6ee531af":{"description":"Agent canceled.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["event","runtime_cancel_requested","affected"],"properties":{"event":{"oneOf":[{"type":"object","required":["id","org_id","project_id","agent_id","agent_profile_id","parent_agent_id","root_agent_id","turn_id","turn_sequence","is_opening_event","sequence","event_kind","agent_input_id","input_kind","content_blocks","created_at"],"properties":{"id":{"type":"string","pattern":"^evt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.0.id","typeLabel":"string"},"org_id":{"type":"string","pattern":"^org_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.0.org_id","typeLabel":"string"},"project_id":{"description":"Project ID (proj_...).","type":"string","pattern":"^proj_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.0.project_id","typeLabel":"string"},"agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.0.agent_id","typeLabel":"string"},"agent_profile_id":{"oneOf":[{"type":"string","description":"The emitting agent's own profile, or null when it has none. This is not the parent agent's or webhook subscription's profile.","pattern":"^aprf_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.0.agent_profile_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The emitting agent's own profile, or null when it has none. This is not the parent agent's or webhook subscription's profile.","isRequired":true,"uniqueKey":"event.oneOf.0.agent_profile_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"event.oneOf.0.agent_profile_id","typeLabel":"string | null"},"parent_agent_id":{"oneOf":[{"type":"string","description":"The emitting agent's immediate parent, or null for a top-level agent.","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.0.parent_agent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The emitting agent's immediate parent, or null for a top-level agent.","isRequired":true,"uniqueKey":"event.oneOf.0.parent_agent_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"event.oneOf.0.parent_agent_id","typeLabel":"string | null"},"root_agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","description":"The top-level agent in the emitting agent's tree. Equals agent_id for a top-level agent.","isRequired":true,"uniqueKey":"event.oneOf.0.root_agent_id","typeLabel":"string"},"turn_id":{"type":"string","pattern":"^trn_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.0.turn_id","typeLabel":"string"},"turn_sequence":{"description":"Positive per-agent event, turn, or live-frame sequence.","type":"integer","minimum":1,"maximum":9007199254740991,"x-go-type":"int64","isRequired":true,"uniqueKey":"event.oneOf.0.turn_sequence","typeLabel":"integer"},"is_opening_event":{"type":"boolean","isRequired":true,"uniqueKey":"event.oneOf.0.is_opening_event","typeLabel":"boolean"},"sequence":{"description":"Positive per-agent event, turn, or live-frame sequence.","type":"integer","minimum":1,"maximum":9007199254740991,"x-go-type":"int64","isRequired":true,"uniqueKey":"event.oneOf.0.sequence","typeLabel":"integer"},"event_kind":{"type":"string","enum":["agent_input"],"isRequired":true,"uniqueKey":"event.oneOf.0.event_kind","typeLabel":"enum\u003cstring>"},"agent_input_id":{"type":"string","pattern":"^ain_[a-z2-7]{26}$","description":"Matches the input that produced this event, allowing clients to correlate an input submission with its durable timeline admission.","isRequired":true,"uniqueKey":"event.oneOf.0.agent_input_id","typeLabel":"string"},"input_kind":{"type":"string","enum":["content","control","interaction_response","config_change"],"x-enum-varnames":["AgentInputKindContent","AgentInputKindControl","AgentInputKindInteractionResponse","AgentInputKindConfigChange"],"isRequired":true,"uniqueKey":"event.oneOf.0.input_kind","typeLabel":"enum\u003cstring>"},"content_blocks":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","text"],"properties":{"type":{"description":"text: a plain-text block.","type":"string","enum":["text"],"isRequired":true,"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"description":"Block text: the message in agent inputs, or text from the model or a tool in events.","type":"string","isRequired":true,"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.0.text","typeLabel":"string"},"metadata":{"type":"object","description":"Key-value metadata. omnara_ keys are reserved.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.0.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","artifact_id"],"properties":{"type":{"type":"string","enum":["media_ref"],"isRequired":true,"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"artifact_id":{"type":"string","pattern":"^art_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.1.artifact_id","typeLabel":"string"},"exclude_from_model_context":{"type":"boolean","description":"Whether the referenced artifact is excluded from later model context.","uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.1.exclude_from_model_context","typeLabel":"boolean"},"metadata":{"type":"object","description":"Arbitrary key-value labels. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.1.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.1.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"event.oneOf.0.content_blocks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"event.oneOf.0.content_blocks","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"event.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"actor_id":{"type":"string","pattern":"^actr_[a-z2-7]{26}$","description":"Actor attributed to the input. Resolve details through the project actors endpoints.","uniqueKey":"event.oneOf.0.actor_id","typeLabel":"string"},"input_idempotency_key":{"type":"string","description":"Echoes the Idempotency-Key of a content-input request so its sender can recognize the durable admission. Absent for other input kinds.","uniqueKey":"event.oneOf.0.input_idempotency_key","typeLabel":"string"},"control_type":{"type":"string","enum":["cancel_current"],"x-enum-varnames":["AgentControlTypeCancelCurrent"],"uniqueKey":"event.oneOf.0.control_type","typeLabel":"enum\u003cstring>"},"interaction_id":{"type":"string","pattern":"^int_[a-z2-7]{26}$","description":"Interaction answered by an interaction_response input.","uniqueKey":"event.oneOf.0.interaction_id","typeLabel":"string"},"agent_config_id":{"description":"Configuration selected by a config_change input.","type":"string","pattern":"^acfg_[a-z2-7]{26}$","uniqueKey":"event.oneOf.0.agent_config_id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"event.oneOf.0","typeLabel":"object"},{"type":"object","required":["id","org_id","project_id","agent_id","agent_profile_id","parent_agent_id","root_agent_id","turn_id","turn_sequence","is_opening_event","sequence","event_kind","model_call_context_id","stop_reason","content_blocks","created_at"],"properties":{"id":{"type":"string","pattern":"^evt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.id","typeLabel":"string"},"org_id":{"type":"string","pattern":"^org_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.org_id","typeLabel":"string"},"project_id":{"description":"Project ID (proj_...).","type":"string","pattern":"^proj_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.project_id","typeLabel":"string"},"agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.agent_id","typeLabel":"string"},"agent_profile_id":{"oneOf":[{"type":"string","description":"The emitting agent's own profile, or null when it has none. This is not the parent agent's or webhook subscription's profile.","pattern":"^aprf_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.agent_profile_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The emitting agent's own profile, or null when it has none. This is not the parent agent's or webhook subscription's profile.","isRequired":true,"uniqueKey":"event.oneOf.1.agent_profile_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"event.oneOf.1.agent_profile_id","typeLabel":"string | null"},"parent_agent_id":{"oneOf":[{"type":"string","description":"The emitting agent's immediate parent, or null for a top-level agent.","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.parent_agent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The emitting agent's immediate parent, or null for a top-level agent.","isRequired":true,"uniqueKey":"event.oneOf.1.parent_agent_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"event.oneOf.1.parent_agent_id","typeLabel":"string | null"},"root_agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","description":"The top-level agent in the emitting agent's tree. Equals agent_id for a top-level agent.","isRequired":true,"uniqueKey":"event.oneOf.1.root_agent_id","typeLabel":"string"},"turn_id":{"type":"string","pattern":"^trn_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.turn_id","typeLabel":"string"},"turn_sequence":{"description":"Positive per-agent event, turn, or live-frame sequence.","type":"integer","minimum":1,"maximum":9007199254740991,"x-go-type":"int64","isRequired":true,"uniqueKey":"event.oneOf.1.turn_sequence","typeLabel":"integer"},"is_opening_event":{"type":"boolean","enum":[false],"x-enum-varnames":["ModelOutputEventIsOpeningEventFalse"],"isRequired":true,"uniqueKey":"event.oneOf.1.is_opening_event","typeLabel":"enum\u003cboolean>"},"sequence":{"description":"Positive per-agent event, turn, or live-frame sequence.","type":"integer","minimum":1,"maximum":9007199254740991,"x-go-type":"int64","isRequired":true,"uniqueKey":"event.oneOf.1.sequence","typeLabel":"integer"},"event_kind":{"type":"string","enum":["model_output"],"isRequired":true,"uniqueKey":"event.oneOf.1.event_kind","typeLabel":"enum\u003cstring>"},"model_call_context_id":{"type":"string","pattern":"^mcc_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.model_call_context_id","typeLabel":"string"},"stop_reason":{"description":"Stop reasons admitted as durable model-output events.","type":"string","enum":["end_turn","tool_use","max_tokens","refusal","content_filter","error"],"x-enum-varnames":["ModelOutputStopReasonEndTurn","ModelOutputStopReasonToolUse","ModelOutputStopReasonMaxTokens","ModelOutputStopReasonRefusal","ModelOutputStopReasonContentFilter","ModelOutputStopReasonError"],"isRequired":true,"uniqueKey":"event.oneOf.1.stop_reason","typeLabel":"enum\u003cstring>"},"content_blocks":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","text"],"properties":{"type":{"description":"text: a plain-text block.","type":"string","enum":["text"],"isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"description":"Block text: the message in agent inputs, or text from the model or a tool in events.","type":"string","isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.0.text","typeLabel":"string"},"metadata":{"type":"object","description":"Key-value metadata. omnara_ keys are reserved.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.0.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","artifact_id"],"properties":{"type":{"type":"string","enum":["media_ref"],"isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"artifact_id":{"type":"string","pattern":"^art_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.1.artifact_id","typeLabel":"string"},"exclude_from_model_context":{"type":"boolean","description":"Whether the referenced artifact is excluded from later model context.","uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.1.exclude_from_model_context","typeLabel":"boolean"},"metadata":{"type":"object","description":"Arbitrary key-value labels. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.1.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.1.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["type","text"],"properties":{"type":{"type":"string","enum":["reasoning"],"isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.2.text","typeLabel":"string"},"metadata":{"type":"object","description":"Arbitrary key-value labels. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.2.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.2.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["type","tool_call_id","tool_type","name","input"],"properties":{"type":{"type":"string","enum":["tool_call"],"isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","pattern":"^tcl_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.3.tool_call_id","typeLabel":"string"},"tool_type":{"description":"Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.","type":"string","enum":["built_in","custom","mcp"],"x-enum-varnames":["ToolCallTypeBuiltIn","ToolCallTypeCustom","ToolCallTypeMCP"],"isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.3.tool_type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.3.name","typeLabel":"string"},"input":{"description":"Non-null JSON object containing the arguments emitted for a tool call.","type":"object","additionalProperties":true,"x-go-type":"json.RawMessage","x-go-type-skip-optional-pointer":true,"isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.3.input","typeLabel":"object"},"metadata":{"type":"object","description":"Arbitrary key-value labels. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.3.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.3.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","required":["type","text"],"properties":{"type":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.4.text","typeLabel":"string"},"metadata":{"type":"object","description":"Arbitrary key-value labels. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.4.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.4.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"event.oneOf.1.content_blocks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"event.oneOf.1.content_blocks","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"event.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"usage":{"type":"object","additionalProperties":false,"description":"Token counts the provider reported for one model call. Cache and reasoning counts are omitted when the provider reported none.","properties":{"input_tokens_total":{"type":"integer","minimum":0,"uniqueKey":"event.oneOf.1.usage.input_tokens_total","typeLabel":"integer"},"uncached_input_tokens":{"type":"integer","minimum":0,"uniqueKey":"event.oneOf.1.usage.uncached_input_tokens","typeLabel":"integer"},"output_tokens_total":{"type":"integer","minimum":0,"uniqueKey":"event.oneOf.1.usage.output_tokens_total","typeLabel":"integer"},"reasoning_output_tokens":{"type":"integer","minimum":0,"uniqueKey":"event.oneOf.1.usage.reasoning_output_tokens","typeLabel":"integer"},"cache_read_input_tokens":{"type":"integer","minimum":0,"uniqueKey":"event.oneOf.1.usage.cache_read_input_tokens","typeLabel":"integer"},"cache_write_input_tokens":{"type":"integer","minimum":0,"uniqueKey":"event.oneOf.1.usage.cache_write_input_tokens","typeLabel":"integer"}},"uniqueKey":"event.oneOf.1.usage","typeLabel":"object"},"provider_metadata":{"type":"object","description":"Facts the provider reported about this call, keyed by provider (for example `openrouter.provider` names the upstream that served an OpenRouter request). Present only when the provider reported something.","x-go-type":"json.RawMessage","x-go-type-skip-optional-pointer":true,"uniqueKey":"event.oneOf.1.provider_metadata","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"event.oneOf.1","typeLabel":"object"},{"type":"object","required":["id","org_id","project_id","agent_id","agent_profile_id","parent_agent_id","root_agent_id","turn_id","turn_sequence","is_opening_event","sequence","event_kind","tool_call_id","outcome","content_blocks","created_at"],"properties":{"id":{"type":"string","pattern":"^evt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.2.id","typeLabel":"string"},"org_id":{"type":"string","pattern":"^org_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.2.org_id","typeLabel":"string"},"project_id":{"description":"Project ID (proj_...).","type":"string","pattern":"^proj_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.2.project_id","typeLabel":"string"},"agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.2.agent_id","typeLabel":"string"},"agent_profile_id":{"oneOf":[{"type":"string","description":"The emitting agent's own profile, or null when it has none. This is not the parent agent's or webhook subscription's profile.","pattern":"^aprf_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.2.agent_profile_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The emitting agent's own profile, or null when it has none. This is not the parent agent's or webhook subscription's profile.","isRequired":true,"uniqueKey":"event.oneOf.2.agent_profile_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"event.oneOf.2.agent_profile_id","typeLabel":"string | null"},"parent_agent_id":{"oneOf":[{"type":"string","description":"The emitting agent's immediate parent, or null for a top-level agent.","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.2.parent_agent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The emitting agent's immediate parent, or null for a top-level agent.","isRequired":true,"uniqueKey":"event.oneOf.2.parent_agent_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"event.oneOf.2.parent_agent_id","typeLabel":"string | null"},"root_agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","description":"The top-level agent in the emitting agent's tree. Equals agent_id for a top-level agent.","isRequired":true,"uniqueKey":"event.oneOf.2.root_agent_id","typeLabel":"string"},"turn_id":{"type":"string","pattern":"^trn_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.2.turn_id","typeLabel":"string"},"turn_sequence":{"description":"Positive per-agent event, turn, or live-frame sequence.","type":"integer","minimum":1,"maximum":9007199254740991,"x-go-type":"int64","isRequired":true,"uniqueKey":"event.oneOf.2.turn_sequence","typeLabel":"integer"},"is_opening_event":{"type":"boolean","enum":[false],"x-enum-varnames":["ToolResultEventIsOpeningEventFalse"],"isRequired":true,"uniqueKey":"event.oneOf.2.is_opening_event","typeLabel":"enum\u003cboolean>"},"sequence":{"description":"Positive per-agent event, turn, or live-frame sequence.","type":"integer","minimum":1,"maximum":9007199254740991,"x-go-type":"int64","isRequired":true,"uniqueKey":"event.oneOf.2.sequence","typeLabel":"integer"},"event_kind":{"type":"string","enum":["tool_result"],"isRequired":true,"uniqueKey":"event.oneOf.2.event_kind","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","pattern":"^tcl_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.2.tool_call_id","typeLabel":"string"},"outcome":{"description":"Terminal outcome, present only when state is completed.","type":"string","enum":["succeeded","failed","denied","canceled"],"x-enum-varnames":["ToolCallOutcomeSucceeded","ToolCallOutcomeFailed","ToolCallOutcomeDenied","ToolCallOutcomeCanceled"],"isRequired":true,"uniqueKey":"event.oneOf.2.outcome","typeLabel":"enum\u003cstring>"},"content_blocks":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","text"],"properties":{"type":{"description":"text: a plain-text block.","type":"string","enum":["text"],"isRequired":true,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"description":"Block text: the message in agent inputs, or text from the model or a tool in events.","type":"string","isRequired":true,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.0.text","typeLabel":"string"},"metadata":{"type":"object","description":"Key-value metadata. omnara_ keys are reserved.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.0.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","artifact_id"],"properties":{"type":{"type":"string","enum":["media_ref"],"isRequired":true,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"artifact_id":{"type":"string","pattern":"^art_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.1.artifact_id","typeLabel":"string"},"exclude_from_model_context":{"type":"boolean","description":"Whether the referenced artifact is excluded from later model context.","uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.1.exclude_from_model_context","typeLabel":"boolean"},"metadata":{"type":"object","description":"Arbitrary key-value labels. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.1.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.1.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["structured_data"],"isRequired":true,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"value":{"description":"Public JSON payload whose shape is determined by the event or interaction kind.","isRequired":true,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.2.value","typeLabel":"any"},"metadata":{"type":"object","description":"Arbitrary key-value labels. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.2.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.2.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"event.oneOf.2.content_blocks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"event.oneOf.2.content_blocks","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"event.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"event.oneOf.2","typeLabel":"object"},{"type":"object","required":["id","org_id","project_id","agent_id","agent_profile_id","parent_agent_id","root_agent_id","turn_id","turn_sequence","is_opening_event","sequence","event_kind","context_checkpoint_id","summarized_through_event_sequence","summary","created_at"],"properties":{"id":{"type":"string","pattern":"^evt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.3.id","typeLabel":"string"},"org_id":{"type":"string","pattern":"^org_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.3.org_id","typeLabel":"string"},"project_id":{"description":"Project ID (proj_...).","type":"string","pattern":"^proj_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.3.project_id","typeLabel":"string"},"agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.3.agent_id","typeLabel":"string"},"agent_profile_id":{"oneOf":[{"type":"string","description":"The emitting agent's own profile, or null when it has none. This is not the parent agent's or webhook subscription's profile.","pattern":"^aprf_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.3.agent_profile_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The emitting agent's own profile, or null when it has none. This is not the parent agent's or webhook subscription's profile.","isRequired":true,"uniqueKey":"event.oneOf.3.agent_profile_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"event.oneOf.3.agent_profile_id","typeLabel":"string | null"},"parent_agent_id":{"oneOf":[{"type":"string","description":"The emitting agent's immediate parent, or null for a top-level agent.","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.3.parent_agent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The emitting agent's immediate parent, or null for a top-level agent.","isRequired":true,"uniqueKey":"event.oneOf.3.parent_agent_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"event.oneOf.3.parent_agent_id","typeLabel":"string | null"},"root_agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","description":"The top-level agent in the emitting agent's tree. Equals agent_id for a top-level agent.","isRequired":true,"uniqueKey":"event.oneOf.3.root_agent_id","typeLabel":"string"},"turn_id":{"type":"string","pattern":"^trn_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.3.turn_id","typeLabel":"string"},"turn_sequence":{"description":"Positive per-agent event, turn, or live-frame sequence.","type":"integer","minimum":1,"maximum":9007199254740991,"x-go-type":"int64","isRequired":true,"uniqueKey":"event.oneOf.3.turn_sequence","typeLabel":"integer"},"is_opening_event":{"type":"boolean","enum":[false],"x-enum-varnames":["ContextCheckpointEventIsOpeningEventFalse"],"isRequired":true,"uniqueKey":"event.oneOf.3.is_opening_event","typeLabel":"enum\u003cboolean>"},"sequence":{"description":"Positive per-agent event, turn, or live-frame sequence.","type":"integer","minimum":1,"maximum":9007199254740991,"x-go-type":"int64","isRequired":true,"uniqueKey":"event.oneOf.3.sequence","typeLabel":"integer"},"event_kind":{"type":"string","enum":["context_checkpoint"],"isRequired":true,"uniqueKey":"event.oneOf.3.event_kind","typeLabel":"enum\u003cstring>"},"context_checkpoint_id":{"type":"string","pattern":"^ccp_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"event.oneOf.3.context_checkpoint_id","typeLabel":"string"},"summarized_through_event_sequence":{"description":"Positive per-agent event, turn, or live-frame sequence.","type":"integer","minimum":1,"maximum":9007199254740991,"x-go-type":"int64","isRequired":true,"uniqueKey":"event.oneOf.3.summarized_through_event_sequence","typeLabel":"integer"},"summary":{"type":"string","isRequired":true,"uniqueKey":"event.oneOf.3.summary","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"event.oneOf.3.created_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"event.oneOf.3","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"event.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"event","typeLabel":"object · object · object · object · null"},"runtime_cancel_requested":{"type":"boolean","description":"Whether this request created or observed a durable runtime cancel request. Immediate delivery is best effort; runtime-lock renewal observes the durable request.","isRequired":true,"uniqueKey":"runtime_cancel_requested","typeLabel":"boolean"},"affected":{"type":"boolean","description":"Whether this request changed any cancelable work.","isRequired":true,"uniqueKey":"affected","typeLabel":"boolean"},"actor_id":{"type":"string","pattern":"^actr_[a-z2-7]{26}$","description":"Actor the cancelation was attributed to. Absent when the request had no actor attribution.","uniqueKey":"actor_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"event":{"id":"\u003cstring>","org_id":"\u003cstring>","project_id":"\u003cstring>","agent_id":"\u003cstring>","agent_profile_id":"\u003cstring>","parent_agent_id":"\u003cstring>","root_agent_id":"\u003cstring>","turn_id":"\u003cstring>","turn_sequence":4503599627370496,"is_opening_event":true,"sequence":4503599627370496,"event_kind":"agent_input","agent_input_id":"\u003cstring>","input_kind":"content","content_blocks":[{"type":"text","text":"\u003cstring>","metadata":{}}],"created_at":"2023-11-07T05:31:56Z","actor_id":"\u003cstring>","input_idempotency_key":"\u003cstring>","control_type":"cancel_current","interaction_id":"\u003cstring>","agent_config_id":"\u003cstring>"},"runtime_cancel_requested":true,"affected":true,"actor_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5f2154d2-dec2-47d1-92b8-f75b41ef936e":{"description":"The request was invalid.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message. Do not match on it programmatically.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable error code for programmatic handling.","x-go-type":"ErrorCode","x-extensible-enum":["invalid_request","unauthorized","forbidden","not_found","conflict","file_content_conflict","file_read_only","expected_digest_required","not_a_file","path_not_found","gone","request_too_large","unsupported_media_type","unprocessable","upstream_unavailable","rate_limited","internal_error","service_unavailable","idempotency_key_conflict","agent_backlog_full","state_transition_conflict","tool_call_already_completed","managed_work_admission_denied","pending_work","not_wake_capable","daemon_runtime_unregistered","validation_failed","csrf_check_failed","authentication_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"current_digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","description":"Current file digest for file_content_conflict or expected_digest_required; absent if the file no longer exists. A replacement must be confirmed before retrying with this digest.","uniqueKey":"current_digest","typeLabel":"string"},"issues":{"type":"array","description":"Field-level problems when a submitted document (such as an agent config source) failed validation. Absent for errors that are not about a specific field.","items":{"type":"object","additionalProperties":false,"required":["path","message"],"properties":{"path":{"type":"string","description":"JSON Pointer (RFC 6901) to the offending field in the submitted document. An empty string refers to the whole document.","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the problem with this field.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"line":{"type":"integer","minimum":1,"description":"1-based line of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].line","typeLabel":"integer"},"column":{"type":"integer","minimum":1,"description":"1-based column of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].column","typeLabel":"integer"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","current_digest":"\u003cstring>","issues":[{"path":"\u003cstring>","message":"\u003cstring>","line":2,"column":2}]}}},"exampleType":"generated"}},"exampleType":"generated"},"e47d6a5c-97bf-40cb-98ce-c9fc66992ab2":{"description":"Authentication is required or invalid.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message. Do not match on it programmatically.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable error code for programmatic handling.","x-go-type":"ErrorCode","x-extensible-enum":["invalid_request","unauthorized","forbidden","not_found","conflict","file_content_conflict","file_read_only","expected_digest_required","not_a_file","path_not_found","gone","request_too_large","unsupported_media_type","unprocessable","upstream_unavailable","rate_limited","internal_error","service_unavailable","idempotency_key_conflict","agent_backlog_full","state_transition_conflict","tool_call_already_completed","managed_work_admission_denied","pending_work","not_wake_capable","daemon_runtime_unregistered","validation_failed","csrf_check_failed","authentication_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"current_digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","description":"Current file digest for file_content_conflict or expected_digest_required; absent if the file no longer exists. A replacement must be confirmed before retrying with this digest.","uniqueKey":"current_digest","typeLabel":"string"},"issues":{"type":"array","description":"Field-level problems when a submitted document (such as an agent config source) failed validation. Absent for errors that are not about a specific field.","items":{"type":"object","additionalProperties":false,"required":["path","message"],"properties":{"path":{"type":"string","description":"JSON Pointer (RFC 6901) to the offending field in the submitted document. An empty string refers to the whole document.","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the problem with this field.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"line":{"type":"integer","minimum":1,"description":"1-based line of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].line","typeLabel":"integer"},"column":{"type":"integer","minimum":1,"description":"1-based column of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].column","typeLabel":"integer"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","current_digest":"\u003cstring>","issues":[{"path":"\u003cstring>","message":"\u003cstring>","line":2,"column":2}]}}},"exampleType":"generated"}},"exampleType":"generated"},"31df10f2-6876-4e3c-a7ab-5ed80e9f8142":{"description":"The authenticated principal is not authorized.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message. Do not match on it programmatically.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable error code for programmatic handling.","x-go-type":"ErrorCode","x-extensible-enum":["invalid_request","unauthorized","forbidden","not_found","conflict","file_content_conflict","file_read_only","expected_digest_required","not_a_file","path_not_found","gone","request_too_large","unsupported_media_type","unprocessable","upstream_unavailable","rate_limited","internal_error","service_unavailable","idempotency_key_conflict","agent_backlog_full","state_transition_conflict","tool_call_already_completed","managed_work_admission_denied","pending_work","not_wake_capable","daemon_runtime_unregistered","validation_failed","csrf_check_failed","authentication_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"current_digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","description":"Current file digest for file_content_conflict or expected_digest_required; absent if the file no longer exists. A replacement must be confirmed before retrying with this digest.","uniqueKey":"current_digest","typeLabel":"string"},"issues":{"type":"array","description":"Field-level problems when a submitted document (such as an agent config source) failed validation. Absent for errors that are not about a specific field.","items":{"type":"object","additionalProperties":false,"required":["path","message"],"properties":{"path":{"type":"string","description":"JSON Pointer (RFC 6901) to the offending field in the submitted document. An empty string refers to the whole document.","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the problem with this field.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"line":{"type":"integer","minimum":1,"description":"1-based line of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].line","typeLabel":"integer"},"column":{"type":"integer","minimum":1,"description":"1-based column of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].column","typeLabel":"integer"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","current_digest":"\u003cstring>","issues":[{"path":"\u003cstring>","message":"\u003cstring>","line":2,"column":2}]}}},"exampleType":"generated"}},"exampleType":"generated"},"48de2c07-cb04-47b6-81f3-749d6bb21149":{"description":"The requested resource was not found or is not visible.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message. Do not match on it programmatically.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable error code for programmatic handling.","x-go-type":"ErrorCode","x-extensible-enum":["invalid_request","unauthorized","forbidden","not_found","conflict","file_content_conflict","file_read_only","expected_digest_required","not_a_file","path_not_found","gone","request_too_large","unsupported_media_type","unprocessable","upstream_unavailable","rate_limited","internal_error","service_unavailable","idempotency_key_conflict","agent_backlog_full","state_transition_conflict","tool_call_already_completed","managed_work_admission_denied","pending_work","not_wake_capable","daemon_runtime_unregistered","validation_failed","csrf_check_failed","authentication_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"current_digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","description":"Current file digest for file_content_conflict or expected_digest_required; absent if the file no longer exists. A replacement must be confirmed before retrying with this digest.","uniqueKey":"current_digest","typeLabel":"string"},"issues":{"type":"array","description":"Field-level problems when a submitted document (such as an agent config source) failed validation. Absent for errors that are not about a specific field.","items":{"type":"object","additionalProperties":false,"required":["path","message"],"properties":{"path":{"type":"string","description":"JSON Pointer (RFC 6901) to the offending field in the submitted document. An empty string refers to the whole document.","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the problem with this field.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"line":{"type":"integer","minimum":1,"description":"1-based line of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].line","typeLabel":"integer"},"column":{"type":"integer","minimum":1,"description":"1-based column of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].column","typeLabel":"integer"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","current_digest":"\u003cstring>","issues":[{"path":"\u003cstring>","message":"\u003cstring>","line":2,"column":2}]}}},"exampleType":"generated"}},"exampleType":"generated"},"b8239a36-3430-4ab8-903d-9d668324683e":{"description":"The request conflicts with current resource state or idempotency history.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message. Do not match on it programmatically.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable error code for programmatic handling.","x-go-type":"ErrorCode","x-extensible-enum":["invalid_request","unauthorized","forbidden","not_found","conflict","file_content_conflict","file_read_only","expected_digest_required","not_a_file","path_not_found","gone","request_too_large","unsupported_media_type","unprocessable","upstream_unavailable","rate_limited","internal_error","service_unavailable","idempotency_key_conflict","agent_backlog_full","state_transition_conflict","tool_call_already_completed","managed_work_admission_denied","pending_work","not_wake_capable","daemon_runtime_unregistered","validation_failed","csrf_check_failed","authentication_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"current_digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","description":"Current file digest for file_content_conflict or expected_digest_required; absent if the file no longer exists. A replacement must be confirmed before retrying with this digest.","uniqueKey":"current_digest","typeLabel":"string"},"issues":{"type":"array","description":"Field-level problems when a submitted document (such as an agent config source) failed validation. Absent for errors that are not about a specific field.","items":{"type":"object","additionalProperties":false,"required":["path","message"],"properties":{"path":{"type":"string","description":"JSON Pointer (RFC 6901) to the offending field in the submitted document. An empty string refers to the whole document.","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the problem with this field.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"line":{"type":"integer","minimum":1,"description":"1-based line of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].line","typeLabel":"integer"},"column":{"type":"integer","minimum":1,"description":"1-based column of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].column","typeLabel":"integer"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","current_digest":"\u003cstring>","issues":[{"path":"\u003cstring>","message":"\u003cstring>","line":2,"column":2}]}}},"exampleType":"generated"}},"exampleType":"generated"},"7a1dc44d-ca9f-453f-b30c-8690273a6d73":{"description":"The service dependency required to satisfy the request is unavailable.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message. Do not match on it programmatically.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable error code for programmatic handling.","x-go-type":"ErrorCode","x-extensible-enum":["invalid_request","unauthorized","forbidden","not_found","conflict","file_content_conflict","file_read_only","expected_digest_required","not_a_file","path_not_found","gone","request_too_large","unsupported_media_type","unprocessable","upstream_unavailable","rate_limited","internal_error","service_unavailable","idempotency_key_conflict","agent_backlog_full","state_transition_conflict","tool_call_already_completed","managed_work_admission_denied","pending_work","not_wake_capable","daemon_runtime_unregistered","validation_failed","csrf_check_failed","authentication_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"current_digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","description":"Current file digest for file_content_conflict or expected_digest_required; absent if the file no longer exists. A replacement must be confirmed before retrying with this digest.","uniqueKey":"current_digest","typeLabel":"string"},"issues":{"type":"array","description":"Field-level problems when a submitted document (such as an agent config source) failed validation. Absent for errors that are not about a specific field.","items":{"type":"object","additionalProperties":false,"required":["path","message"],"properties":{"path":{"type":"string","description":"JSON Pointer (RFC 6901) to the offending field in the submitted document. An empty string refers to the whole document.","isRequired":true,"uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description of the problem with this field.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"line":{"type":"integer","minimum":1,"description":"1-based line of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].line","typeLabel":"integer"},"column":{"type":"integer","minimum":1,"description":"1-based column of the offending field in the submitted source, when it can be located.","uniqueKey":"issues.items.[INDEX].column","typeLabel":"integer"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","current_digest":"\u003cstring>","issues":[{"path":"\u003cstring>","message":"\u003cstring>","line":2,"column":2}]}}},"exampleType":"generated"}},"exampleType":"generated"},"151c03bc-3ef6-4a7e-8065-efab91179e0b":{"description":"Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message. Do not match on it programmatically.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.","x-extensible-enum":["invalid_request","validation_failed","unauthorized","forbidden","csrf_check_failed","not_found","conflict","file_content_conflict","file_read_only","expected_digest_required","not_a_file","path_not_found","idempotency_key_conflict","agent_backlog_full","state_transition_conflict","tool_call_already_completed","pending_work","not_wake_capable","gone","daemon_runtime_unregistered","request_too_large","unsupported_media_type","unprocessable","upstream_unavailable","rate_limited"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"80ba6ddb-82c2-4686-992f-62c5310aa135":{"description":"Any other server error. The body carries the shared Error envelope restricted to server error codes.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message. Do not match on it programmatically.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.","x-extensible-enum":["internal_error","service_unavailable","authentication_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"388aaecc-77ec-4757-a59f-105dbdb98199":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"Omnara personal or organization access token","description":"An opaque Omnara personal or organization bearer token.","scopes":[],"schemeName":"bearerAuth"}},"b76f60b2-d4d4-4cee-8264-94930645e695":{"browserSessionCookie":{"type":"apiKey","in":"cookie","name":"__Host-omnara_session","description":"Browser session cookie. HTTPS deployments use __Host-omnara_session; local HTTP development uses omnara_session.","scopes":[],"schemeName":"browserSessionCookie"},"csrfHeader":{"type":"apiKey","in":"header","name":"X-Omnara-Csrf","description":"CSRF token header required for browser-session mutations. The value must match the session's CSRF cookie.","scopes":[],"schemeName":"csrfHeader"}}},"servers":{"5bfa43b9-33b6-499b-b645-caac7496ba04":{"url":"https://api.omnara.com/v1","description":"Hosted Omnara"},"295e8d33-4bfb-4d69-9dbb-cc3f37b19473":{"url":"/api/v1","description":"Self-hosted Omnara, relative to the deployment origin"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"Omnara personal or organization access token","description":"An opaque Omnara personal or organization bearer token.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An opaque Omnara personal or organization bearer token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"cookie","name":"__Host-omnara_session","description":"Browser session cookie. HTTPS deployments use __Host-omnara_session; local HTTP development uses omnara_session.","scopes":[],"schemeName":"browserSessionCookie"},"schema":{"title":"__Host-omnara_session","type":"string","description":"Browser session cookie. HTTPS deployments use __Host-omnara_session; local HTTP development uses omnara_session.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"browserSessionCookie","name":"__Host-omnara_session"},{"scheme":{"type":"apiKey","in":"header","name":"X-Omnara-Csrf","description":"CSRF token header required for browser-session mutations. The value must match the session's CSRF cookie.","scopes":[],"schemeName":"csrfHeader"},"schema":{"title":"X-Omnara-Csrf","type":"string","description":"CSRF token header required for browser-session mutations. The value must match the session's CSRF cookie.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"csrfHeader","name":"X-Omnara-Csrf"}],"title":"browserSessionCookie \u0026 csrfHeader"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"omnara","siteName":"Omnara","title":"Cancel agent - Omnara","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T01:58:05.690Z","originalFileLocation":"api-reference/endpoints/agents/cancel-agent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Stops the agent\u0026#x27;s current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn\u0026#x27;t returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Omnara\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omnara/4SAu5j-ZzC-39B56/_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/omnara/4SAu5j-ZzC-39B56/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omnara/4SAu5j-ZzC-39B56/_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/omnara/4SAu5j-ZzC-39B56/_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/omnara/4SAu5j-ZzC-39B56/_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/omnara/4SAu5j-ZzC-39B56/_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/omnara/4SAu5j-ZzC-39B56/_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/omnara/4SAu5j-ZzC-39B56/_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/omnara/4SAu5j-ZzC-39B56/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cancel agent - Omnara\">\u003cmeta data-mint-head property=\"og:description\" content=\"Stops the agent\u0026#x27;s current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn\u0026#x27;t returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Omnara Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://omnara.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Cancel+agent\u0026amp;description=Stops+the+agent%27s+current+turn%3A+cancels+its+unfinished+tool+calls+and+open+interactions%2C+stops+processes+whose+run_command+hasn%27t+returned+yet%2C+and+discards+pen\u0026amp;theme=73ce439f50e9a6c9eef25f3f\u0026amp;signature=8dce5b01e31b864912ae2533000bc3810bf5493c630c438a780d96038a1a4919\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Cancel agent - Omnara\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Stops the agent\u0026#x27;s current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn\u0026#x27;t returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://omnara.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Cancel+agent\u0026amp;description=Stops+the+agent%27s+current+turn%3A+cancels+its+unfinished+tool+calls+and+open+interactions%2C+stops+processes+whose+run_command+hasn%27t+returned+yet%2C+and+discards+pen\u0026amp;theme=73ce439f50e9a6c9eef25f3f\u0026amp;signature=8dce5b01e31b864912ae2533000bc3810bf5493c630c438a780d96038a1a4919\">\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/omnara/4SAu5j-ZzC-39B56/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Omnara\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4372cf\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/agents/cancel-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.omnara.com/#organization\",\"name\":\"Omnara\",\"url\":\"https://docs.omnara.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/omnara/n37k7gqYv1cBmVaT/logo/omnara-logo.svg?fit=max\u0026auto=format\u0026n=n37k7gqYv1cBmVaT\u0026q=85\u0026s=5daf8948f5a1eea8bcd0ee573f967d93\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.omnara.com#website\",\"name\":\"Omnara\",\"url\":\"https://docs.omnara.com\",\"publisher\":{\"@id\":\"https://docs.omnara.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent#webpage\",\"url\":\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent\",\"name\":\"Cancel agent\",\"description\":\"Stops the agent's current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn't returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.\",\"dateModified\":\"2026-11-20T01:58:05.690Z\",\"isPartOf\":{\"@id\":\"https://docs.omnara.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.omnara.com/api-reference/endpoints/events/list-event-webhooks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents\",\"item\":\"https://docs.omnara.com/api-reference/endpoints/agents/list-agents-across-projects\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cancel agent\",\"item\":\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent#apireference\",\"headline\":\"Cancel agent\",\"name\":\"Cancel agent\",\"description\":\"Stops the agent's current turn: cancels its unfinished tool calls and open interactions, stops processes whose run_command hasn't returned yet, and discards pending steering messages. The agent stays active and keeps its queued messages, and processes whose run_command already returned keep running. Returns affected false and changes nothing when no turn is in progress.\",\"url\":\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.omnara.com/api-reference/endpoints/agents/cancel-agent#webpage\"},\"dateModified\":\"2026-11-20T01:58:05.690Z\",\"publisher\":{\"@id\":\"https://docs.omnara.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.omnara.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Omnara\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Omnara\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoints/agents/cancel-agent.md","siteName":"Omnara","nav":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/Dc46sYk6e3"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"API overview","icon":"code","href":"/api/overview"},{"title":"Authentication","icon":"key","href":"/api/authentication"},{"title":"Custom integrations","href":"/integrations/custom-integrations"}]},{"group":"Endpoints","pages":[{"group":"Events","pages":[{"title":"List event webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/event-webhooks","href":"/api-reference/endpoints/events/list-event-webhooks"},{"title":"Create an event webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/event-webhooks","href":"/api-reference/endpoints/events/create-an-event-webhook"},{"title":"Get event webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/event-webhooks/{webhookID}","href":"/api-reference/endpoints/events/get-event-webhook"},{"title":"Delete an event webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/event-webhooks/{webhookID}","href":"/api-reference/endpoints/events/delete-an-event-webhook"},{"title":"Update event webhook settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/projects/{projectID}/event-webhooks/{webhookID}","href":"/api-reference/endpoints/events/update-event-webhook-settings"},{"title":"List turns","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/turns","href":"/api-reference/endpoints/events/list-turns"},{"title":"List turn events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/turns/{turnID}/events","href":"/api-reference/endpoints/events/list-turn-events"},{"title":"List events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/events","href":"/api-reference/endpoints/events/list-events"},{"title":"Stream events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/events/stream","href":"/api-reference/endpoints/events/stream-events"},{"title":"Get artifact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/artifacts/{artifactID}","href":"/api-reference/endpoints/events/get-artifact"},{"title":"Get artifact content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/artifacts/{artifactID}/content","href":"/api-reference/endpoints/events/get-artifact-content"}]},{"group":"Users and API Keys","pages":[{"title":"List the authenticated user's personal access tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /personal-access-tokens","href":"/api-reference/endpoints/users-and-api-keys/list-the-authenticated-users-personal-access-tokens"},{"title":"Create personal access token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /personal-access-tokens","href":"/api-reference/endpoints/users-and-api-keys/create-personal-access-token"},{"title":"Revoke a personal access token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /personal-access-tokens/{tokenID}/revoke","href":"/api-reference/endpoints/users-and-api-keys/revoke-a-personal-access-token"},{"title":"Get the authenticated user and their organizations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /me","href":"/api-reference/endpoints/users-and-api-keys/get-the-authenticated-user-and-their-organizations"},{"title":"Delete the authenticated user's account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /me","href":"/api-reference/endpoints/users-and-api-keys/delete-the-authenticated-users-account"},{"title":"List pending invitations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /invitations","href":"/api-reference/endpoints/users-and-api-keys/list-pending-invitations"},{"title":"Accept invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /invitations/{invitationID}/accept","href":"/api-reference/endpoints/users-and-api-keys/accept-invitation"},{"title":"Decline invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /invitations/{invitationID}/decline","href":"/api-reference/endpoints/users-and-api-keys/decline-invitation"},{"title":"List org API keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/api-keys","href":"/api-reference/endpoints/users-and-api-keys/list-org-api-keys"},{"title":"Create org API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/api-keys","href":"/api-reference/endpoints/users-and-api-keys/create-org-api-key"},{"title":"Get an org API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/api-keys/{keyID}","href":"/api-reference/endpoints/users-and-api-keys/get-an-org-api-key"},{"title":"Update an org API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/api-keys/{keyID}","href":"/api-reference/endpoints/users-and-api-keys/update-an-org-api-key"},{"title":"Revoke an org API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/api-keys/{keyID}/revoke","href":"/api-reference/endpoints/users-and-api-keys/revoke-an-org-api-key"},{"title":"List an org API key's explicit project role grants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/api-keys/{keyID}/projects","href":"/api-reference/endpoints/users-and-api-keys/list-an-org-api-keys-explicit-project-role-grants"},{"title":"Set an org API key's role on a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orgs/{orgID}/api-keys/{keyID}/projects/{projectID}","href":"/api-reference/endpoints/users-and-api-keys/set-an-org-api-keys-role-on-a-project"},{"title":"Remove an org API key's project role grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/api-keys/{keyID}/projects/{projectID}","href":"/api-reference/endpoints/users-and-api-keys/remove-an-org-api-keys-project-role-grant"}]},{"group":"Machine Daemon","pages":[]},{"group":"Organizations and Projects","pages":[{"title":"List the authenticated principal's organizations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs","href":"/api-reference/endpoints/organizations-and-projects/list-the-authenticated-principals-organizations"},{"title":"Create organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs","href":"/api-reference/endpoints/organizations-and-projects/create-organization"},{"title":"Delete organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}","href":"/api-reference/endpoints/organizations-and-projects/delete-organization"},{"title":"Get org usage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/usage","href":"/api-reference/endpoints/organizations-and-projects/get-org-usage"},{"title":"Get usage timeseries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/usage/timeseries","href":"/api-reference/endpoints/organizations-and-projects/get-usage-timeseries"},{"title":"List visible projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects","href":"/api-reference/endpoints/organizations-and-projects/list-visible-projects"},{"title":"Create project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects","href":"/api-reference/endpoints/organizations-and-projects/create-project"},{"title":"Get project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}","href":"/api-reference/endpoints/organizations-and-projects/get-project"},{"title":"Delete project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}","href":"/api-reference/endpoints/organizations-and-projects/delete-project"},{"title":"Update project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/projects/{projectID}","href":"/api-reference/endpoints/organizations-and-projects/update-project"},{"title":"Get project usage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/usage","href":"/api-reference/endpoints/organizations-and-projects/get-project-usage"},{"title":"List organization members","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/members","href":"/api-reference/endpoints/organizations-and-projects/list-organization-members"},{"title":"Remove org member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/members/{userID}","href":"/api-reference/endpoints/organizations-and-projects/remove-org-member"},{"title":"Update org member role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/members/{userID}","href":"/api-reference/endpoints/organizations-and-projects/update-org-member-role"},{"title":"List a member's explicit project role grants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/members/{userID}/projects","href":"/api-reference/endpoints/organizations-and-projects/list-a-members-explicit-project-role-grants"},{"title":"Set a member's role on a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orgs/{orgID}/members/{userID}/projects/{projectID}","href":"/api-reference/endpoints/organizations-and-projects/set-a-members-role-on-a-project"},{"title":"Remove a member's project role grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/members/{userID}/projects/{projectID}","href":"/api-reference/endpoints/organizations-and-projects/remove-a-members-project-role-grant"},{"title":"List org invitations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/invitations","href":"/api-reference/endpoints/organizations-and-projects/list-org-invitations"},{"title":"Create org invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/invitations","href":"/api-reference/endpoints/organizations-and-projects/create-org-invitation"},{"title":"Delete org invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/invitations/{invitationID}","href":"/api-reference/endpoints/organizations-and-projects/delete-org-invitation"}]},{"group":"Agents","pages":[{"title":"List agents across projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/agents","href":"/api-reference/endpoints/agents/list-agents-across-projects"},{"title":"List agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents","href":"/api-reference/endpoints/agents/list-agents"},{"title":"Create agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents","href":"/api-reference/endpoints/agents/create-agent"},{"title":"Get agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}","href":"/api-reference/endpoints/agents/get-agent"},{"title":"Get agent usage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/usage","href":"/api-reference/endpoints/agents/get-agent-usage"},{"title":"Archive agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/archive","href":"/api-reference/endpoints/agents/archive-agent"},{"title":"Update agent config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/config","href":"/api-reference/endpoints/agents/update-agent-config"},{"title":"Create agent input","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs","href":"/api-reference/endpoints/agents/create-agent-input"},{"title":"List unfinished tool calls across agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/tool-calls","href":"/api-reference/endpoints/agents/list-unfinished-tool-calls-across-agents"},{"title":"List tool calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls","href":"/api-reference/endpoints/agents/list-tool-calls"},{"title":"Get a tool call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls/{toolCallID}","href":"/api-reference/endpoints/agents/get-a-tool-call"},{"title":"Submit a result for a ready custom tool call","description":"Only ready custom tool calls accept externally supplied results. The first accepted result completes the call. A later submission returns 409 with code tool_call_already_completed; a result for a call that isn't ready, or for a non-custom tool call, returns 409. If the first response is lost, a safe retry can return tool_call_already_completed even when the original submission succeeded. This confirms that the call is terminal, not which submission completed it.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls/{toolCallID}/result","href":"/api-reference/endpoints/agents/submit-a-result-for-a-ready-custom-tool-call"},{"title":"Cancel agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/cancel","href":"/api-reference/endpoints/agents/cancel-agent"},{"title":"List waiting backlog inputs","description":"Steering inputs are listed first, followed by queued inputs. Each group is ordered by input rank, queued_at ascending, then id ascending. Scheduled inputs (state scheduled) follow, ordered by scheduled_for ascending, then id ascending.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/backlog","href":"/api-reference/endpoints/agents/list-waiting-backlog-inputs"},{"title":"Cancel queued backlog input","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/cancel","href":"/api-reference/endpoints/agents/cancel-queued-backlog-input"},{"title":"Move queued backlog input","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/move","href":"/api-reference/endpoints/agents/move-queued-backlog-input"},{"title":"Promote queued input to steering","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/promote_to_steering","href":"/api-reference/endpoints/agents/promote-queued-input-to-steering"},{"title":"Demote steering input to queued","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/demote_to_queued","href":"/api-reference/endpoints/agents/demote-steering-input-to-queued"}]},{"group":"Configs and Profiles","pages":[{"title":"List agent profiles across projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/agent-profiles","href":"/api-reference/endpoints/configs-and-profiles/list-agent-profiles-across-projects"},{"title":"Resolve agent config tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agent-configs/tools","href":"/api-reference/endpoints/configs-and-profiles/resolve-agent-config-tools"},{"title":"Create agent config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agent-configs","href":"/api-reference/endpoints/configs-and-profiles/create-agent-config"},{"title":"Get tool catalog","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /tool-catalog","href":"/api-reference/endpoints/configs-and-profiles/get-tool-catalog"},{"title":"Search the MCP server registry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /mcp-servers","href":"/api-reference/endpoints/configs-and-profiles/search-the-mcp-server-registry"},{"title":"List an MCP server's tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/mcp-servers/tools","href":"/api-reference/endpoints/configs-and-profiles/list-an-mcp-servers-tools"},{"title":"Get agent config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agent-configs/{agentConfigID}","href":"/api-reference/endpoints/configs-and-profiles/get-agent-config"},{"title":"Get generated agent config source","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agent-configs/{agentConfigID}/generated-source","href":"/api-reference/endpoints/configs-and-profiles/get-generated-agent-config-source"},{"title":"List agent profiles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agent-profiles","href":"/api-reference/endpoints/configs-and-profiles/list-agent-profiles"},{"title":"Create agent profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agent-profiles","href":"/api-reference/endpoints/configs-and-profiles/create-agent-profile"},{"title":"Get agent profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}","href":"/api-reference/endpoints/configs-and-profiles/get-agent-profile"},{"title":"Delete agent profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}","href":"/api-reference/endpoints/configs-and-profiles/delete-agent-profile"},{"title":"Rename agent profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}","href":"/api-reference/endpoints/configs-and-profiles/rename-agent-profile"},{"title":"Get agent profile usage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}/usage","href":"/api-reference/endpoints/configs-and-profiles/get-agent-profile-usage"},{"title":"Update agent profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}/config","href":"/api-reference/endpoints/configs-and-profiles/update-agent-profile"},{"title":"List cron triggers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/cron-triggers","href":"/api-reference/endpoints/configs-and-profiles/list-cron-triggers"},{"title":"Create cron trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/cron-triggers","href":"/api-reference/endpoints/configs-and-profiles/create-cron-trigger"},{"title":"Get cron trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/cron-triggers/{cronTriggerID}","href":"/api-reference/endpoints/configs-and-profiles/get-cron-trigger"},{"title":"Delete cron trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/cron-triggers/{cronTriggerID}","href":"/api-reference/endpoints/configs-and-profiles/delete-cron-trigger"},{"title":"Update cron trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/projects/{projectID}/cron-triggers/{cronTriggerID}","href":"/api-reference/endpoints/configs-and-profiles/update-cron-trigger"}]},{"group":"Skills","pages":[{"title":"List skills visible through ownership authority","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/skills","href":"/api-reference/endpoints/skills/list-skills-visible-through-ownership-authority"},{"title":"Create skill","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/skills","href":"/api-reference/endpoints/skills/create-skill"},{"title":"Get skill through ownership authority","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/skills/{skillID}","href":"/api-reference/endpoints/skills/get-skill-through-ownership-authority"},{"title":"Update skill by uploading a new revision","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/skills/{skillID}","href":"/api-reference/endpoints/skills/update-skill-by-uploading-a-new-revision"},{"title":"Delete skill","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/skills/{skillID}","href":"/api-reference/endpoints/skills/delete-skill"},{"title":"List skill grants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/skills/{skillID}/grants","href":"/api-reference/endpoints/skills/list-skill-grants"},{"title":"Create skill grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/skills/{skillID}/grants","href":"/api-reference/endpoints/skills/create-skill-grant"},{"title":"Get skill grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/skills/{skillID}/grants/{grantID}","href":"/api-reference/endpoints/skills/get-skill-grant"},{"title":"Delete skill grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/skills/{skillID}/grants/{grantID}","href":"/api-reference/endpoints/skills/delete-skill-grant"},{"title":"List skills available to project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/skills","href":"/api-reference/endpoints/skills/list-skills-available-to-project"}]},{"group":"Memory Stores","pages":[{"title":"List memory stores across projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/memory-stores","href":"/api-reference/endpoints/memory-stores/list-memory-stores-across-projects"},{"title":"List memory stores","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/memory-stores","href":"/api-reference/endpoints/memory-stores/list-memory-stores"},{"title":"Create memory store","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/memory-stores","href":"/api-reference/endpoints/memory-stores/create-memory-store"},{"title":"Get memory store","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/memory-stores/{memoryStoreID}","href":"/api-reference/endpoints/memory-stores/get-memory-store"},{"title":"Delete memory store","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/memory-stores/{memoryStoreID}","href":"/api-reference/endpoints/memory-stores/delete-memory-store"},{"title":"Update memory store","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/projects/{projectID}/memory-stores/{memoryStoreID}","href":"/api-reference/endpoints/memory-stores/update-memory-store"},{"title":"List memory files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/memory-stores/{memoryStoreID}/files","href":"/api-reference/endpoints/memory-stores/list-memory-files"},{"title":"Download memory file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/memory-stores/{memoryStoreID}/file","href":"/api-reference/endpoints/memory-stores/download-memory-file"},{"title":"Write memory file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orgs/{orgID}/projects/{projectID}/memory-stores/{memoryStoreID}/file","href":"/api-reference/endpoints/memory-stores/write-memory-file"},{"title":"Delete memory file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/memory-stores/{memoryStoreID}/file","href":"/api-reference/endpoints/memory-stores/delete-memory-file"}]},{"group":"Secrets","pages":[{"title":"List secrets visible through ownership authority","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/secrets","href":"/api-reference/endpoints/secrets/list-secrets-visible-through-ownership-authority"},{"title":"Create secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/secrets","href":"/api-reference/endpoints/secrets/create-secret"},{"title":"Start MCP OAuth for a new secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/secrets/mcp-oauth","href":"/api-reference/endpoints/secrets/start-mcp-oauth-for-a-new-secret"},{"title":"Get secret through ownership authority","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/secrets/{secretID}","href":"/api-reference/endpoints/secrets/get-secret-through-ownership-authority"},{"title":"Delete secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/secrets/{secretID}","href":"/api-reference/endpoints/secrets/delete-secret"},{"title":"Update secret metadata","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/secrets/{secretID}","href":"/api-reference/endpoints/secrets/update-secret-metadata"},{"title":"Create secret version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/secrets/{secretID}/versions","href":"/api-reference/endpoints/secrets/create-secret-version"},{"title":"List secret grants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/secrets/{secretID}/grants","href":"/api-reference/endpoints/secrets/list-secret-grants"},{"title":"Create secret grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/secrets/{secretID}/grants","href":"/api-reference/endpoints/secrets/create-secret-grant"},{"title":"Get secret grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/secrets/{secretID}/grants/{grantID}","href":"/api-reference/endpoints/secrets/get-secret-grant"},{"title":"Delete secret grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/secrets/{secretID}/grants/{grantID}","href":"/api-reference/endpoints/secrets/delete-secret-grant"},{"title":"List secrets available to project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/secrets","href":"/api-reference/endpoints/secrets/list-secrets-available-to-project"},{"title":"Get secret available to project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/secrets/{secretID}","href":"/api-reference/endpoints/secrets/get-secret-available-to-project"}]},{"group":"Integrations","pages":[{"title":"Connect an integration through OAuth","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/oauth/setup","href":"/api-reference/endpoints/integrations/connect-an-integration-through-oauth"},{"title":"Create a Slack provider app and connect it to an Omnara integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/slack-setup","href":"/api-reference/endpoints/integrations/create-a-slack-provider-app-and-connect-it-to-an-omnara-integration"},{"title":"Start registration of a customer-owned GitHub App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup","href":"/api-reference/endpoints/integrations/start-registration-of-a-customer-owned-github-app"},{"title":"Inspect installations of a customer-owned GitHub App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations","href":"/api-reference/endpoints/integrations/inspect-installations-of-a-customer-owned-github-app"},{"title":"List integrations across projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/integrations","href":"/api-reference/endpoints/integrations/list-integrations-across-projects"},{"title":"List project integrations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/integrations","href":"/api-reference/endpoints/integrations/list-project-integrations"},{"title":"Create an integration and optional launcher","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/integrations","href":"/api-reference/endpoints/integrations/create-an-integration-and-optional-launcher"},{"title":"Get project integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}","href":"/api-reference/endpoints/integrations/get-project-integration"},{"title":"Update integration settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}","href":"/api-reference/endpoints/integrations/update-integration-settings"},{"title":"Delete integration setup and revoke its capabilities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}","href":"/api-reference/endpoints/integrations/delete-integration-setup-and-revoke-its-capabilities"},{"title":"List integration conversation subscriptions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/subscriptions","href":"/api-reference/endpoints/integrations/list-integration-conversation-subscriptions"},{"title":"Attach an agent to an integration conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/subscriptions","href":"/api-reference/endpoints/integrations/attach-an-agent-to-an-integration-conversation"},{"title":"Get integration conversation subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/subscriptions/{subscriptionID}","href":"/api-reference/endpoints/integrations/get-integration-conversation-subscription"},{"title":"Stop forwarding an integration conversation to an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/subscriptions/{subscriptionID}","href":"/api-reference/endpoints/integrations/stop-forwarding-an-integration-conversation-to-an-agent"},{"title":"Verify and configure integration credentials","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/setup","href":"/api-reference/endpoints/integrations/verify-and-configure-integration-credentials"},{"title":"Disconnect this integration without deleting its configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/disconnect","href":"/api-reference/endpoints/integrations/disconnect-this-integration-without-deleting-its-configuration"},{"title":"List repositories a GitHub integration can access","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-repositories","href":"/api-reference/endpoints/integrations/list-repositories-a-github-integration-can-access"},{"title":"List installed integration implementations and their capabilities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/integration-definitions","href":"/api-reference/endpoints/integrations/list-installed-integration-implementations-and-their-capabilities"}]},{"group":"Interactions","pages":[{"title":"List open interactions across agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/interactions","href":"/api-reference/endpoints/interactions/list-open-interactions-across-agents"},{"title":"List agent interactions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/agents/{agentID}/interactions","href":"/api-reference/endpoints/interactions/list-agent-interactions"},{"title":"Resolve agent interaction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents/{agentID}/interactions/{interactionID}/resolve","href":"/api-reference/endpoints/interactions/resolve-agent-interaction"}]},{"group":"Machines","pages":[{"title":"List visible project machines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/machines","href":"/api-reference/endpoints/machines/list-visible-project-machines"},{"title":"List project machine grants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/machine-grants","href":"/api-reference/endpoints/machines/list-project-machine-grants"},{"title":"Create project machine grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/machine-grants","href":"/api-reference/endpoints/machines/create-project-machine-grant"},{"title":"Get project machine grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/machine-grants/{grantID}","href":"/api-reference/endpoints/machines/get-project-machine-grant"},{"title":"Delete project machine grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/machine-grants/{grantID}","href":"/api-reference/endpoints/machines/delete-project-machine-grant"},{"title":"List visible machines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/machines","href":"/api-reference/endpoints/machines/list-visible-machines"},{"title":"Create machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/machines","href":"/api-reference/endpoints/machines/create-machine"},{"title":"Connect a BYO machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/machines/connect","href":"/api-reference/endpoints/machines/connect-a-byo-machine"},{"title":"Get machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/machines/{machineID}","href":"/api-reference/endpoints/machines/get-machine"},{"title":"Delete machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/machines/{machineID}","href":"/api-reference/endpoints/machines/delete-machine"},{"title":"Update machine execution defaults","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/machines/{machineID}","href":"/api-reference/endpoints/machines/update-machine-execution-defaults"},{"title":"List byo machine daemon tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/machines/{machineID}/daemon-tokens","href":"/api-reference/endpoints/machines/list-byo-machine-daemon-tokens"},{"title":"Create byo machine daemon token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/machines/{machineID}/daemon-tokens","href":"/api-reference/endpoints/machines/create-byo-machine-daemon-token"},{"title":"Revoke machine daemon token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/machines/{machineID}/daemon-tokens/{tokenID}/revoke","href":"/api-reference/endpoints/machines/revoke-machine-daemon-token"}]},{"group":"Actors","pages":[{"title":"List project actors","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/actors","href":"/api-reference/endpoints/actors/list-project-actors"},{"title":"Upsert an external actor","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orgs/{orgID}/projects/{projectID}/actors","href":"/api-reference/endpoints/actors/upsert-an-external-actor"},{"title":"Get a project actor","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/actors/{actorID}","href":"/api-reference/endpoints/actors/get-a-project-actor"}]},{"group":"Models","pages":[{"title":"List model provider configs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/model-provider-configs","href":"/api-reference/endpoints/models/list-model-provider-configs"},{"title":"Create model provider config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/model-provider-configs","href":"/api-reference/endpoints/models/create-model-provider-config"},{"title":"Get model provider config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}","href":"/api-reference/endpoints/models/get-model-provider-config"},{"title":"Update model provider config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}","href":"/api-reference/endpoints/models/update-model-provider-config"},{"title":"Delete model provider config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}","href":"/api-reference/endpoints/models/delete-model-provider-config"},{"title":"Get model catalog","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/model-catalog","href":"/api-reference/endpoints/models/get-model-catalog"},{"title":"List configured models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models","href":"/api-reference/endpoints/models/list-configured-models"},{"title":"Create configured model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models","href":"/api-reference/endpoints/models/create-configured-model"},{"title":"Get configured model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models/{configuredModelID}","href":"/api-reference/endpoints/models/get-configured-model"},{"title":"Update configured model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models/{configuredModelID}","href":"/api-reference/endpoints/models/update-configured-model"},{"title":"Delete configured model","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models/{configuredModelID}","href":"/api-reference/endpoints/models/delete-configured-model"},{"title":"List project model grants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/model-grants","href":"/api-reference/endpoints/models/list-project-model-grants"},{"title":"Create project model grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/model-grants","href":"/api-reference/endpoints/models/create-project-model-grant"},{"title":"Get project model grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/model-grants/{modelGrantID}","href":"/api-reference/endpoints/models/get-project-model-grant"},{"title":"Delete project model grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/model-grants/{modelGrantID}","href":"/api-reference/endpoints/models/delete-project-model-grant"},{"title":"Update project model grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/projects/{projectID}/model-grants/{modelGrantID}","href":"/api-reference/endpoints/models/update-project-model-grant"}]},{"group":"Machine Pools","pages":[{"title":"List machine pools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/machine-pools","href":"/api-reference/endpoints/machine-pools/list-machine-pools"},{"title":"Create machine pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/machine-pools","href":"/api-reference/endpoints/machine-pools/create-machine-pool"},{"title":"Check machine pool connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/machine-pools/check-connection","href":"/api-reference/endpoints/machine-pools/check-machine-pool-connection"},{"title":"Get machine pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/machine-pools/{poolID}","href":"/api-reference/endpoints/machine-pools/get-machine-pool"},{"title":"Update machine pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /orgs/{orgID}/machine-pools/{poolID}","href":"/api-reference/endpoints/machine-pools/update-machine-pool"},{"title":"Delete machine pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/machine-pools/{poolID}","href":"/api-reference/endpoints/machine-pools/delete-machine-pool"},{"title":"List project machine pool grants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/machine-pool-grants","href":"/api-reference/endpoints/machine-pools/list-project-machine-pool-grants"},{"title":"Create project machine pool grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/machine-pool-grants","href":"/api-reference/endpoints/machine-pools/create-project-machine-pool-grant"},{"title":"Get project machine pool grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /orgs/{orgID}/projects/{projectID}/machine-pool-grants/{poolGrantID}","href":"/api-reference/endpoints/machine-pools/get-project-machine-pool-grant"},{"title":"Delete project machine pool grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /orgs/{orgID}/projects/{projectID}/machine-pool-grants/{poolGrantID}","href":"/api-reference/endpoints/machine-pools/delete-project-machine-pool-grant"},{"title":"Update project machine pool grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /orgs/{orgID}/projects/{projectID}/machine-pool-grants/{poolGrantID}","href":"/api-reference/endpoints/machine-pools/update-project-machine-pool-grant"}]}]}]},{"tab":"Changelog","icon":"list","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Cancel agent - Omnara","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js","Markdown-CYkmN8yk.js","AssistantPageLink-BZUrxqjy.js","dist-C-58LlaB.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}