Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.
An opaque Omnara personal or organization bearer token.
Headers
Idempotency-Key
string
Idempotency key for replay-safe mutating requests.
Required string length: 1 - 255
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}$
Body
application/json
Option 1
Option 2
Option 3
Send at least one of profile, config, or config_source, and not both config and config_source. With only profile, the agent runs the profile's current config. With profile and config or config_source, the agent is attributed to the profile but runs the given config, which need not be one of the profile's versions. config_source is compiled and saved as a new config during the launch.
profile
string
required
Agent profile to launch. Runs its current config unless config or config_source is set.
Pattern: ^aprf_[a-z2-7]{26}$
config
string
Agent config ID (acfg_...).
Pattern: ^acfg_[a-z2-7]{26}$
config_source
object
An agent config to compile. The source, YAML or JSON, as text or as a JSON object, is stored exactly as sent, so comments and formatting survive. Configs whose sources compile to the same definition share it, however their sources are formatted.
Show child attributes
name
string
Optional agent name. Omit to inherit the profile name when present; send an empty string to leave the agent unnamed.
Maximum string length: 64
message
string
Optional initial text message. Mutually exclusive with initial_input.
tools
object
Additional integration tool entries (int____) and optional list_interaction_handlers or set_interaction_handler tools for this agent. Other tool names are not accepted here. Existing config entries win unchanged. Requires project management permission. The derived config is created atomically with the agent and initial input; the profile is unchanged.
Show child attributes
subscriptions
object[]
Integration-owned conversation subscriptions attached atomically with launch and initial input. Requires project management permission. Subscriptions alone preserve the pinned config. Launch replay never adds or restores subscriptions.
Maximum array length: 100
Show child attributes
interaction_handlers
object
Additional integration interaction handlers, keyed by immutable integration name with empty object values. Slack and Discord handlers require an assigned conversation and accept empty runtime args. Adding a handler does not assign a conversation. Existing entries win unchanged. Requires project management permission.
Show child attributes
initial_input
object
Initial queued text input, committed atomically with the agent and any derived config. Mutually exclusive with message. Initial inline media is not supported; upload it through the agent input endpoint after launch.
Show child attributes
Response
Current state of the previously created agent.
agent
object
required
Show child attributes
{"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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/create-agent","slug":"/api-reference/endpoints/agents/create-agent","pageMetadata":{"title":"Create agent","description":"Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents","href":"/api-reference/endpoints/agents/create-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: \"Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.\"\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":"Create agent","description":"Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /orgs/{orgID}/projects/{projectID}/agents","href":"/api-reference/endpoints/agents/create-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createAgent","tags":["Agents"],"summary":"Create agent","description":"Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.","security":["5c7e7630-9840-4955-882f-397a84574e10","3611bd56-5848-406a-a467-b811e0be82ed"],"parameters":["fa0aabdf-6e04-4ab6-b184-4ab85110ba3a"],"requestBody":"3397ef94-9d5d-4a66-b748-e4cb4ca9855c","responses":{"200":"5b121c4d-6dfe-4ca9-9044-e753c04629a6","201":"9d4f81ea-e452-4bd1-a01a-4705e5fbf26b","400":"4a686cf7-cb27-4f2a-bd81-06d812b9c525","401":"39f26351-d229-4dfc-bd3a-d5e3f9a5c2dc","403":"538d608a-729d-476c-bdf0-3311427a93a4","404":"638bb831-f99a-4216-97cd-88fc02e75f12","409":"cd451e02-1415-4d1b-ae76-30085de6bcab","503":"1f21d200-bc93-46f9-8728-eb44f81152fe","4XX":"e00767af-a145-477c-b7a8-513858cc9bde","5XX":"95990be2-646e-45b7-8763-269210baa9be"},"method":"post","type":"path","servers":["5bfa43b9-33b6-499b-b645-caac7496ba04","295e8d33-4bfb-4d69-9dbb-cc3f37b19473"],"path":"/orgs/{orgID}/projects/{projectID}/agents","baseUrlOptions":["https://api.omnara.com/v1","/api/v1"],"title":"Create agent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fa0aabdf-6e04-4ab6-b184-4ab85110ba3a":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":false,"description":"Idempotency key for replay-safe mutating requests.","uniqueKey":"","typeLabel":"string"},"description":"Idempotency key for replay-safe mutating requests."},"f9a2b652-feab-404a-82b3-a00d3c450072":{"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"}},"3af99673-17c8-4fe3-ab87-8b8f3d0ccbea":{"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"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Send at least one of profile, config, or config_source, and not both config and config_source. With only profile, the agent runs the profile's current config. With profile and config or config_source, the agent is attributed to the profile but runs the given config, which need not be one of the profile's versions. config_source is compiled and saved as a new config during the launch.","required":["profile"],"properties":{"profile":{"type":"string","description":"Agent profile to launch. Runs its current config unless config or config_source is set.","pattern":"^aprf_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"oneOf.0.profile","typeLabel":"string"},"config":{"description":"Agent config ID (acfg_...).","type":"string","pattern":"^acfg_[a-z2-7]{26}$","uniqueKey":"oneOf.0.config","typeLabel":"string"},"config_source":{"description":"An agent config to compile. The source, YAML or JSON, as text or as a JSON object, is stored exactly as sent, so comments and formatting survive. Configs whose sources compile to the same definition share it, however their sources are formatted.","type":"object","additionalProperties":false,"required":["source","source_format"],"properties":{"source":{"oneOf":[{"type":"string","description":"Config to compile: YAML or JSON text, or a JSON object when source_format is json.","minLength":1,"x-go-type":"json.RawMessage","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.0","typeLabel":"string"},{"type":"object","description":"Config to compile: YAML or JSON text, or a JSON object when source_format is json.","required":["instruction","model"],"x-go-type":"json.RawMessage","properties":{"instruction":{"description":"System prompt: the agent's job, boundaries, and when to ask a human.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.instruction","typeLabel":"string"},"model":{"type":"object","additionalProperties":false,"required":["provider_config","name"],"properties":{"name":{"description":"Configured model name under provider_config.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.model.name","typeLabel":"string"},"provider_config":{"description":"Name of the organization's model provider.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.model.provider_config","typeLabel":"string"},"cache_retention":{"description":"Prompt caching: none, short (provider default), or long (extended where available). Unset uses the model's default.","enum":["none","short","long"],"type":"string","uniqueKey":"oneOf.0.config_source.source.oneOf.1.model.cache_retention","typeLabel":"enum\u003cstring>"},"context_window_tokens":{"type":"integer","minimum":2,"maximum":2147483647,"description":"Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.model.context_window_tokens","typeLabel":"integer"},"default_max_output_tokens":{"description":"Default output allowance per request. Overrides the model's default; max_output_tokens is the cap.","type":"integer","minimum":1,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.model.default_max_output_tokens","typeLabel":"integer"},"reasoning":{"description":"Reasoning effort, such as low, medium, or high, for models that support it.","type":"object","additionalProperties":false,"required":["effort"],"properties":{"effort":{"description":"Reasoning effort, such as low, medium, or high.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.model.reasoning.effort","typeLabel":"string"}},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.model.reasoning","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Model the agent runs on, with optional overrides of its defaults.","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.model","typeLabel":"object"},"git_credentials":{"description":"GitHub integration whose credentials the agent's machine processes use for Git and gh. Not passed to subagents.","type":"object","additionalProperties":false,"required":["integration"],"properties":{"integration":{"description":"Name of a GitHub integration in the project.","type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9-]{0,31}$","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.git_credentials.integration","typeLabel":"string"},"repository_ids":{"description":"GitHub repository IDs the credentials can access. Defaults to every repository the installation can access.","type":"array","minItems":1,"maxItems":500,"uniqueItems":true,"items":{"type":"integer","minimum":1,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.git_credentials.repository_ids.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.git_credentials.repository_ids","typeLabel":"integer[]"},"read_only":{"description":"Prevents pushing and opening or approving pull requests, even if the integration allows it.","type":"boolean","uniqueKey":"oneOf.0.config_source.source.oneOf.1.git_credentials.read_only","typeLabel":"boolean"}},"x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.git_credentials","typeLabel":"object"},"interaction_handlers":{"oneOf":[{"type":"object","description":"Integrations that show the agent's questions and approvals outside the dashboard, keyed by integration name. Not passed to subagents.","x-go-type":"json.RawMessage","additionalProperties":{"description":"Enables an integration's interaction handler. Takes no settings.","type":"object","additionalProperties":false,"x-go-type":"agentconfig.AgentConfigIntegrationCapabilitySource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.interaction_handlers.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.interaction_handlers.oneOf.0","typeLabel":"object"},{"type":"null","description":"Integrations that show the agent's questions and approvals outside the dashboard, keyed by integration name. Not passed to subagents.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.interaction_handlers.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.interaction_handlers","typeLabel":"object | null"},"machine_sources":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","required":["machine_name"],"x-go-type":"json.RawMessage","properties":{"machine_name":{"description":"Name of a BYO machine granted to the project. Set this or machine_pool_name.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_name","typeLabel":"string"},"cwd":{"description":"Working directory for the agent's processes. Overrides the machine or pool default.","type":"string","maxLength":4096,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.cwd","typeLabel":"string"},"delete_after_idle_minutes":{"oneOf":[{"description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","const":0,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes.oneOf.0","typeLabel":"any"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes.oneOf.1","typeLabel":"integer"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes","typeLabel":"any | integer"},"description":{"description":"Describes this source to the agent.","type":"string","maxLength":4096,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.description","typeLabel":"string"},"env_overlay":{"oneOf":[{"type":"object","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay","typeLabel":"object | null"},"initial_num_machines":{"description":"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines.","type":"integer","minimum":0,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.initial_num_machines","typeLabel":"integer"},"machine_cpu":{"description":"Pools only. vCPUs for new machines, within pool and project limits.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_cpu","typeLabel":"integer"},"machine_memory_mb":{"description":"Pools only. Memory in MB for new machines, within pool and project limits.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_memory_mb","typeLabel":"integer"},"machine_pool_name":{"description":"Name of a machine pool granted to the project. Set this or machine_name.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_pool_name","typeLabel":"string"},"machine_provider_options_overlay":{"oneOf":[{"type":"object","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_provider_options_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_provider_options_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_provider_options_overlay","typeLabel":"object | null"},"max_machines":{"description":"Pools only. Most machines the agent can hold from this pool. Defaults to 1.","type":"integer","minimum":0,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.max_machines","typeLabel":"integer"},"secret_env_overlay":{"oneOf":[{"type":"object","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["machine_pool_name"],"x-go-type":"json.RawMessage","properties":{"machine_pool_name":{"description":"Name of a machine pool granted to the project. Set this or machine_name.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_pool_name","typeLabel":"string"},"cwd":{"description":"Working directory for the agent's processes. Overrides the machine or pool default.","type":"string","maxLength":4096,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.cwd","typeLabel":"string"},"delete_after_idle_minutes":{"oneOf":[{"description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","const":0,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes.oneOf.0","typeLabel":"any"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes.oneOf.1","typeLabel":"integer"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes","typeLabel":"any | integer"},"description":{"description":"Describes this source to the agent.","type":"string","maxLength":4096,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.description","typeLabel":"string"},"env_overlay":{"oneOf":[{"type":"object","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay","typeLabel":"object | null"},"initial_num_machines":{"description":"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines.","type":"integer","minimum":0,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.initial_num_machines","typeLabel":"integer"},"machine_cpu":{"description":"Pools only. vCPUs for new machines, within pool and project limits.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_cpu","typeLabel":"integer"},"machine_memory_mb":{"description":"Pools only. Memory in MB for new machines, within pool and project limits.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_memory_mb","typeLabel":"integer"},"machine_name":{"description":"Name of a BYO machine granted to the project. Set this or machine_pool_name.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_name","typeLabel":"string"},"machine_provider_options_overlay":{"oneOf":[{"type":"object","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_provider_options_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_provider_options_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_provider_options_overlay","typeLabel":"object | null"},"max_machines":{"description":"Pools only. Most machines the agent can hold from this pool. Defaults to 1.","type":"integer","minimum":0,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.max_machines","typeLabel":"integer"},"secret_env_overlay":{"oneOf":[{"type":"object","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"BYO machines and machine pools the agent can run commands on.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"BYO machines and machine pools the agent can run commands on.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.machine_sources","typeLabel":"object[] | null"},"max_depth":{"description":"Maximum subagent nesting depth. Defaults to 1, so subagents cannot spawn their own.","type":"integer","minimum":1,"maximum":8,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.max_depth","typeLabel":"integer"},"max_subagents":{"description":"Maximum active subagents across all keys. Unset means no overall limit.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.max_subagents","typeLabel":"integer"},"mcp":{"oneOf":[{"type":"object","description":"MCP servers the agent can use, keyed by server name. Their tools are named mcp__{server}__{tool}.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"description":"HTTPS URL of the server's MCP endpoint.","type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.url","typeLabel":"string"},"auth":{"type":"object","additionalProperties":false,"required":["type","secret_id"],"properties":{"secret_id":{"description":"Secret holding the credential: generic for bearer, oauth_token_set for oauth, aws_credentials for sigv4.","type":"string","minLength":1,"pattern":"^sec_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.secret_id","typeLabel":"string"},"type":{"description":"bearer sends a static token, oauth uses tokens from Omnara's MCP OAuth flow, and sigv4 signs requests with AWS SigV4.","enum":["bearer","oauth","sigv4"],"type":"string","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.type","typeLabel":"enum\u003cstring>"},"region":{"description":"AWS region to sign for. Required for sigv4 only.","type":"string","minLength":1,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.region","typeLabel":"string"},"service":{"description":"AWS service to sign for, such as aws-mcp. Required for sigv4 only.","type":"string","minLength":1,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.service","typeLabel":"string"}},"x-go-type":"json.RawMessage","description":"How to authenticate to the server. Omit if it needs none.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth","typeLabel":"object"},"default_enabled":{"oneOf":[{"type":"boolean","description":"Whether tools are enabled unless overridden in tools. Defaults to true.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.default_enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether tools are enabled unless overridden in tools. Defaults to true.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.default_enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.default_enabled","typeLabel":"boolean | null"},"deferred":{"description":"Keep the server's tools out of context until tool_search loads them. Defaults to false.","type":"boolean","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.deferred","typeLabel":"boolean"},"permission":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"description":"always_allow, always_ask (wait for human approval), or always_deny.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Mode-specific settings. Current modes take none.","type":"object","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Default permission for the server's tools. Defaults to always_ask.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.permission","typeLabel":"object"},"tools":{"description":"Per-tool overrides, keyed by the tool's name on the server.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"deferred":{"oneOf":[{"type":"boolean","description":"Overrides the server's deferred setting. Null inherits it.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.deferred.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Overrides the server's deferred setting. Null inherits it.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.deferred.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.deferred","typeLabel":"boolean | null"},"enabled":{"oneOf":[{"type":"boolean","description":"Enables or hides the tool. Null follows the server's default_enabled.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Enables or hides the tool. Null follows the server's default_enabled.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.enabled","typeLabel":"boolean | null"},"permission":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"description":"always_allow, always_ask (wait for human approval), or always_deny.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Mode-specific settings. Current modes take none.","type":"object","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Overrides the server's permission for this tool.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.permission","typeLabel":"object"}},"x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties","typeLabel":"object"},"propertyNames":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools","typeLabel":"object"}},"x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.0","typeLabel":"object"},{"type":"null","description":"MCP servers the agent can use, keyed by server name. Their tools are named mcp__{server}__{tool}.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.mcp","typeLabel":"object | null"},"memory_stores":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name","access"],"properties":{"name":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Name of a memory store in the project.","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.memory_stores.oneOf.0.items.[INDEX].name","typeLabel":"string"},"access":{"description":"read, or read_write if the store also allows agent writes.","type":"string","enum":["read","read_write"],"isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.memory_stores.oneOf.0.items.[INDEX].access","typeLabel":"enum\u003cstring>"}},"x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.memory_stores.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Project memory stores the agent can access at /memory/{name}/.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.memory_stores.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Project memory stores the agent can access at /memory/{name}/.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.memory_stores.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.memory_stores","typeLabel":"object[] | null"},"skills":{"oneOf":[{"type":"array","items":{"type":"string","pattern":"^skl_[a-z2-7]{26}$","uniqueKey":"oneOf.0.config_source.source.oneOf.1.skills.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Skills the agent can load. The project must own or be granted each one.","uniqueItems":true,"x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.skills.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Skills the agent can load. The project must own or be granted each one.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.skills.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.skills","typeLabel":"string[] | null"},"subagents":{"oneOf":[{"type":"object","description":"Subagents the agent can spawn, keyed by name.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"description":"profile launches from a profile's current config; self copies this agent's config.","enum":["profile","self"],"type":"string","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.type","typeLabel":"enum\u003cstring>"},"archive_after_idle_minutes":{"description":"Archive these subagents after this many idle minutes. Unset never archives them for being idle.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.archive_after_idle_minutes","typeLabel":"integer"},"description":{"description":"Tells the model when to spawn this subagent.","type":"string","uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.description","typeLabel":"string"},"instruction":{"type":"object","additionalProperties":false,"properties":{"append":{"description":"Text appended to the base instruction.","type":"string","uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.instruction.append","typeLabel":"string"}},"x-go-type":"json.RawMessage","description":"Changes to the subagent's instruction.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.instruction","typeLabel":"object"},"max_instances":{"description":"Maximum active subagents from this key. Unset means no per-key limit.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.max_instances","typeLabel":"integer"},"model":{"type":"object","additionalProperties":false,"properties":{"cache_retention":{"description":"Overrides the base model's prompt caching.","enum":["none","short","long"],"type":"string","uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.cache_retention","typeLabel":"enum\u003cstring>"},"context_window_tokens":{"type":"integer","minimum":2,"maximum":2147483647,"description":"Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.context_window_tokens","typeLabel":"integer"},"default_max_output_tokens":{"description":"Overrides the base model's default output allowance.","type":"integer","minimum":1,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.default_max_output_tokens","typeLabel":"integer"},"name":{"description":"Configured model name. Set with provider_config to switch models.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","conditionalRequirements":[{"when":[[{"property":"provider_config"}]]}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.name","typeLabel":"string"},"provider_config":{"description":"Model provider name. Set with name to switch models.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","conditionalRequirements":[{"when":[[{"property":"name"}]]}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.provider_config","typeLabel":"string"},"reasoning":{"description":"Overrides the base model's reasoning effort.","type":"object","additionalProperties":false,"required":["effort"],"properties":{"effort":{"description":"Reasoning effort, such as low, medium, or high.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.reasoning.effort","typeLabel":"string"}},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.reasoning","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Model overrides. Omit provider_config and name to keep the base model.","conditionallyRequiredProperties":{"provider_config":[{"when":[[{"property":"name"}]]}],"name":[{"when":[[{"property":"provider_config"}]]}]},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model","typeLabel":"object"},"profile":{"description":"Agent profile to launch from. Required when type is profile.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","conditionalRequirements":[{"when":[[{"property":"type","values":["profile"]}]]}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.profile","typeLabel":"string"}},"x-go-type":"json.RawMessage","conditionallyRequiredProperties":{"profile":[{"when":[[{"property":"type","values":["profile"]}]]}]},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.0","typeLabel":"object"},{"type":"null","description":"Subagents the agent can spawn, keyed by name.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.subagents","typeLabel":"object | null"},"tools":{"oneOf":[{"type":"object","description":"Built-in and custom tools, keyed by tool name. {} enables a tool with its defaults.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"deferred":{"description":"Keep the tool out of context until tool_search loads it. Defaults to false.","type":"boolean","uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.deferred","typeLabel":"boolean"},"description":{"description":"Custom tools only. Tells the model what the tool does.","type":"string","minLength":1,"conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.description","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.enabled","typeLabel":"boolean | null"},"input_schema":{"description":"Custom tools only. JSON Schema for the tool's arguments.","type":"object","additionalProperties":true,"required":["type"],"properties":{"type":{"description":"Root type of the argument schema.","const":"object","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.type","typeLabel":"any"},"properties":{"description":"Arguments, keyed by name, as JSON Schemas.","type":"object","additionalProperties":{"type":"object","uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.properties.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.properties","typeLabel":"object"},"required":{"description":"Names of required arguments.","type":"array","items":{"type":"string","minLength":1,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.required","typeLabel":"string[]"}},"x-go-type":"json.RawMessage","conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema","typeLabel":"object"},"permission":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"description":"always_allow, always_ask (wait for human approval), or always_deny.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Mode-specific settings. Current modes take none.","type":"object","uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Overrides the tool's default permission. GET /tool-catalog lists defaults and modes.","uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.permission","typeLabel":"object"},"type":{"description":"built_in for an Omnara tool, custom for a tool your system runs.","enum":["built_in","custom"],"type":"string","uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.type","typeLabel":"enum\u003cstring>"}},"x-go-type":"agentconfig.AgentConfigToolSource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"conditionallyRequiredProperties":{"description":[{"when":[[{"property":"type","values":["custom"]}]]}],"input_schema":[{"when":[[{"property":"type","values":["custom"]}]]}]},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.0","typeLabel":"object"},{"type":"null","description":"Built-in and custom tools, keyed by tool name. {} enables a tool with its defaults.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config_source.source.oneOf.1.tools","typeLabel":"object | null"},"version":{"description":"Config format version. Optional; set it to pin the format.","enum":["v1"],"type":"string","uniqueKey":"oneOf.0.config_source.source.oneOf.1.version","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.config_source.source.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.0.config_source.source","typeLabel":"string | object"},"source_format":{"description":"Encoding of source.","type":"string","enum":["yaml","json"],"isRequired":true,"uniqueKey":"oneOf.0.config_source.source_format","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.config_source","typeLabel":"object"},"name":{"type":"string","maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Optional agent name. Omit to inherit the profile name when present; send an empty string to leave the agent unnamed.","uniqueKey":"oneOf.0.name","typeLabel":"string"},"message":{"type":"string","description":"Optional initial text message. Mutually exclusive with initial_input.","uniqueKey":"oneOf.0.message","typeLabel":"string"},"tools":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"deferred":{"description":"Keep the tool out of context until tool_search loads it. Defaults to false.","type":"boolean","uniqueKey":"oneOf.0.tools.additionalProperties.deferred","typeLabel":"boolean"},"description":{"description":"Custom tools only. Tells the model what the tool does.","type":"string","minLength":1,"conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.0.tools.additionalProperties.description","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.0.tools.additionalProperties.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.0.tools.additionalProperties.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.tools.additionalProperties.enabled","typeLabel":"boolean | null"},"input_schema":{"description":"Custom tools only. JSON Schema for the tool's arguments.","type":"object","additionalProperties":true,"required":["type"],"properties":{"type":{"description":"Root type of the argument schema.","const":"object","isRequired":true,"uniqueKey":"oneOf.0.tools.additionalProperties.input_schema.type","typeLabel":"any"},"properties":{"description":"Arguments, keyed by name, as JSON Schemas.","type":"object","additionalProperties":{"type":"object","uniqueKey":"oneOf.0.tools.additionalProperties.input_schema.properties.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.0.tools.additionalProperties.input_schema.properties","typeLabel":"object"},"required":{"description":"Names of required arguments.","type":"array","items":{"type":"string","minLength":1,"uniqueKey":"oneOf.0.tools.additionalProperties.input_schema.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.tools.additionalProperties.input_schema.required","typeLabel":"string[]"}},"x-go-type":"json.RawMessage","conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.0.tools.additionalProperties.input_schema","typeLabel":"object"},"permission":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"description":"always_allow, always_ask (wait for human approval), or always_deny.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.0.tools.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Mode-specific settings. Current modes take none.","type":"object","uniqueKey":"oneOf.0.tools.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Overrides the tool's default permission. GET /tool-catalog lists defaults and modes.","uniqueKey":"oneOf.0.tools.additionalProperties.permission","typeLabel":"object"},"type":{"description":"built_in for an Omnara tool, custom for a tool your system runs.","enum":["built_in","custom"],"type":"string","uniqueKey":"oneOf.0.tools.additionalProperties.type","typeLabel":"enum\u003cstring>"}},"x-go-type":"agentconfig.AgentConfigToolSource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"conditionallyRequiredProperties":{"description":[{"when":[[{"property":"type","values":["custom"]}]]}],"input_schema":[{"when":[[{"property":"type","values":["custom"]}]]}]},"uniqueKey":"oneOf.0.tools.additionalProperties","typeLabel":"object"},"description":"Additional integration tool entries (int__\u003cintegration-name>__\u003coperation>) and optional list_interaction_handlers or set_interaction_handler tools for this agent. Other tool names are not accepted here. Existing config entries win unchanged. Requires project management permission. The derived config is created atomically with the agent and initial input; the profile is unchanged.","uniqueKey":"oneOf.0.tools","typeLabel":"object"},"subscriptions":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["integration_id","conversation"],"properties":{"integration_id":{"type":"string","pattern":"^itg_[a-z2-7]{26}$","description":"Integration that forwards the conversation's activity.","isRequired":true,"uniqueKey":"oneOf.0.subscriptions.items.[INDEX].integration_id","typeLabel":"string"},"conversation":{"type":"object","additionalProperties":true,"x-go-type":"json.RawMessage","x-go-type-skip-optional-pointer":true,"description":"Provider conversation to subscribe the agent to, such as a Slack channel.","isRequired":true,"uniqueKey":"oneOf.0.subscriptions.items.[INDEX].conversation","typeLabel":"object"}},"uniqueKey":"oneOf.0.subscriptions.items.[INDEX]","typeLabel":"object"},"description":"Integration-owned conversation subscriptions attached atomically with launch and initial input. Requires project management permission. Subscriptions alone preserve the pinned config. Launch replay never adds or restores subscriptions.","uniqueKey":"oneOf.0.subscriptions","typeLabel":"object[]"},"interaction_handlers":{"type":"object","additionalProperties":{"description":"Enables an integration's interaction handler. Takes no settings.","type":"object","additionalProperties":false,"x-go-type":"agentconfig.AgentConfigIntegrationCapabilitySource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"uniqueKey":"oneOf.0.interaction_handlers.additionalProperties","typeLabel":"object"},"description":"Additional integration interaction handlers, keyed by immutable integration name with empty object values. Slack and Discord handlers require an assigned conversation and accept empty runtime args. Adding a handler does not assign a conversation. Existing entries win unchanged. Requires project management permission.","uniqueKey":"oneOf.0.interaction_handlers","typeLabel":"object"},"initial_input":{"type":"object","additionalProperties":false,"required":["content_blocks"],"description":"Initial queued text input, committed atomically with the agent and any derived config. Mutually exclusive with message. Initial inline media is not supported; upload it through the agent input endpoint after launch.","properties":{"content_blocks":{"description":"Text blocks that make up the agent's first message.","type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["type","text"],"properties":{"type":{"description":"text: a plain-text block.","type":"string","enum":["text"],"isRequired":true,"uniqueKey":"oneOf.0.initial_input.content_blocks.items.[INDEX].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":"oneOf.0.initial_input.content_blocks.items.[INDEX].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":"oneOf.0.initial_input.content_blocks.items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.0.initial_input.content_blocks.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"oneOf.0.initial_input.content_blocks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.initial_input.content_blocks","typeLabel":"object[]"},"actor":{"type":"object","description":"Optional external actor for API key authentication. User-authenticated requests must omit this field. Without it, the authenticated user or API key is the 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":"oneOf.0.initial_input.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":"oneOf.0.initial_input.actor.provider_tenant_id","typeLabel":"string"},"display_name":{"description":"Display name for the actor.","type":"string","maxLength":256,"uniqueKey":"oneOf.0.initial_input.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":"oneOf.0.initial_input.actor.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.0.initial_input.actor.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.0.initial_input.actor","typeLabel":"object"}},"uniqueKey":"oneOf.0.initial_input","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Send at least one of profile, config, or config_source, and not both config and config_source. With only profile, the agent runs the profile's current config. With profile and config or config_source, the agent is attributed to the profile but runs the given config, which need not be one of the profile's versions. config_source is compiled and saved as a new config during the launch.","required":["config"],"properties":{"config":{"type":"string","description":"Agent config ID (acfg_...).","pattern":"^acfg_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"oneOf.1.config","typeLabel":"string"},"profile":{"type":"string","pattern":"^aprf_[a-z2-7]{26}$","description":"Agent profile to launch. Runs its current config unless config or config_source is set.","uniqueKey":"oneOf.1.profile","typeLabel":"string"},"config_source":{"description":"An agent config to compile. The source, YAML or JSON, as text or as a JSON object, is stored exactly as sent, so comments and formatting survive. Configs whose sources compile to the same definition share it, however their sources are formatted.","type":"object","additionalProperties":false,"required":["source","source_format"],"properties":{"source":{"oneOf":[{"type":"string","description":"Config to compile: YAML or JSON text, or a JSON object when source_format is json.","minLength":1,"x-go-type":"json.RawMessage","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.0","typeLabel":"string"},{"type":"object","description":"Config to compile: YAML or JSON text, or a JSON object when source_format is json.","required":["instruction","model"],"x-go-type":"json.RawMessage","properties":{"instruction":{"description":"System prompt: the agent's job, boundaries, and when to ask a human.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.instruction","typeLabel":"string"},"model":{"type":"object","additionalProperties":false,"required":["provider_config","name"],"properties":{"name":{"description":"Configured model name under provider_config.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.model.name","typeLabel":"string"},"provider_config":{"description":"Name of the organization's model provider.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.model.provider_config","typeLabel":"string"},"cache_retention":{"description":"Prompt caching: none, short (provider default), or long (extended where available). Unset uses the model's default.","enum":["none","short","long"],"type":"string","uniqueKey":"oneOf.1.config_source.source.oneOf.1.model.cache_retention","typeLabel":"enum\u003cstring>"},"context_window_tokens":{"type":"integer","minimum":2,"maximum":2147483647,"description":"Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.model.context_window_tokens","typeLabel":"integer"},"default_max_output_tokens":{"description":"Default output allowance per request. Overrides the model's default; max_output_tokens is the cap.","type":"integer","minimum":1,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.model.default_max_output_tokens","typeLabel":"integer"},"reasoning":{"description":"Reasoning effort, such as low, medium, or high, for models that support it.","type":"object","additionalProperties":false,"required":["effort"],"properties":{"effort":{"description":"Reasoning effort, such as low, medium, or high.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.model.reasoning.effort","typeLabel":"string"}},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.model.reasoning","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Model the agent runs on, with optional overrides of its defaults.","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.model","typeLabel":"object"},"git_credentials":{"description":"GitHub integration whose credentials the agent's machine processes use for Git and gh. Not passed to subagents.","type":"object","additionalProperties":false,"required":["integration"],"properties":{"integration":{"description":"Name of a GitHub integration in the project.","type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9-]{0,31}$","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.git_credentials.integration","typeLabel":"string"},"repository_ids":{"description":"GitHub repository IDs the credentials can access. Defaults to every repository the installation can access.","type":"array","minItems":1,"maxItems":500,"uniqueItems":true,"items":{"type":"integer","minimum":1,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.git_credentials.repository_ids.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.git_credentials.repository_ids","typeLabel":"integer[]"},"read_only":{"description":"Prevents pushing and opening or approving pull requests, even if the integration allows it.","type":"boolean","uniqueKey":"oneOf.1.config_source.source.oneOf.1.git_credentials.read_only","typeLabel":"boolean"}},"x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.git_credentials","typeLabel":"object"},"interaction_handlers":{"oneOf":[{"type":"object","description":"Integrations that show the agent's questions and approvals outside the dashboard, keyed by integration name. Not passed to subagents.","x-go-type":"json.RawMessage","additionalProperties":{"description":"Enables an integration's interaction handler. Takes no settings.","type":"object","additionalProperties":false,"x-go-type":"agentconfig.AgentConfigIntegrationCapabilitySource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.interaction_handlers.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.interaction_handlers.oneOf.0","typeLabel":"object"},{"type":"null","description":"Integrations that show the agent's questions and approvals outside the dashboard, keyed by integration name. Not passed to subagents.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.interaction_handlers.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.interaction_handlers","typeLabel":"object | null"},"machine_sources":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","required":["machine_name"],"x-go-type":"json.RawMessage","properties":{"machine_name":{"description":"Name of a BYO machine granted to the project. Set this or machine_pool_name.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_name","typeLabel":"string"},"cwd":{"description":"Working directory for the agent's processes. Overrides the machine or pool default.","type":"string","maxLength":4096,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.cwd","typeLabel":"string"},"delete_after_idle_minutes":{"oneOf":[{"description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","const":0,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes.oneOf.0","typeLabel":"any"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes.oneOf.1","typeLabel":"integer"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes","typeLabel":"any | integer"},"description":{"description":"Describes this source to the agent.","type":"string","maxLength":4096,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.description","typeLabel":"string"},"env_overlay":{"oneOf":[{"type":"object","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay","typeLabel":"object | null"},"initial_num_machines":{"description":"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines.","type":"integer","minimum":0,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.initial_num_machines","typeLabel":"integer"},"machine_cpu":{"description":"Pools only. vCPUs for new machines, within pool and project limits.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_cpu","typeLabel":"integer"},"machine_memory_mb":{"description":"Pools only. Memory in MB for new machines, within pool and project limits.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_memory_mb","typeLabel":"integer"},"machine_pool_name":{"description":"Name of a machine pool granted to the project. Set this or machine_name.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_pool_name","typeLabel":"string"},"machine_provider_options_overlay":{"oneOf":[{"type":"object","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_provider_options_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_provider_options_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_provider_options_overlay","typeLabel":"object | null"},"max_machines":{"description":"Pools only. Most machines the agent can hold from this pool. Defaults to 1.","type":"integer","minimum":0,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.max_machines","typeLabel":"integer"},"secret_env_overlay":{"oneOf":[{"type":"object","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["machine_pool_name"],"x-go-type":"json.RawMessage","properties":{"machine_pool_name":{"description":"Name of a machine pool granted to the project. Set this or machine_name.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_pool_name","typeLabel":"string"},"cwd":{"description":"Working directory for the agent's processes. Overrides the machine or pool default.","type":"string","maxLength":4096,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.cwd","typeLabel":"string"},"delete_after_idle_minutes":{"oneOf":[{"description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","const":0,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes.oneOf.0","typeLabel":"any"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes.oneOf.1","typeLabel":"integer"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes","typeLabel":"any | integer"},"description":{"description":"Describes this source to the agent.","type":"string","maxLength":4096,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.description","typeLabel":"string"},"env_overlay":{"oneOf":[{"type":"object","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay","typeLabel":"object | null"},"initial_num_machines":{"description":"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines.","type":"integer","minimum":0,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.initial_num_machines","typeLabel":"integer"},"machine_cpu":{"description":"Pools only. vCPUs for new machines, within pool and project limits.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_cpu","typeLabel":"integer"},"machine_memory_mb":{"description":"Pools only. Memory in MB for new machines, within pool and project limits.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_memory_mb","typeLabel":"integer"},"machine_name":{"description":"Name of a BYO machine granted to the project. Set this or machine_pool_name.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_name","typeLabel":"string"},"machine_provider_options_overlay":{"oneOf":[{"type":"object","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_provider_options_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_provider_options_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_provider_options_overlay","typeLabel":"object | null"},"max_machines":{"description":"Pools only. Most machines the agent can hold from this pool. Defaults to 1.","type":"integer","minimum":0,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.max_machines","typeLabel":"integer"},"secret_env_overlay":{"oneOf":[{"type":"object","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"BYO machines and machine pools the agent can run commands on.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"BYO machines and machine pools the agent can run commands on.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.machine_sources","typeLabel":"object[] | null"},"max_depth":{"description":"Maximum subagent nesting depth. Defaults to 1, so subagents cannot spawn their own.","type":"integer","minimum":1,"maximum":8,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.max_depth","typeLabel":"integer"},"max_subagents":{"description":"Maximum active subagents across all keys. Unset means no overall limit.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.max_subagents","typeLabel":"integer"},"mcp":{"oneOf":[{"type":"object","description":"MCP servers the agent can use, keyed by server name. Their tools are named mcp__{server}__{tool}.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"description":"HTTPS URL of the server's MCP endpoint.","type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.url","typeLabel":"string"},"auth":{"type":"object","additionalProperties":false,"required":["type","secret_id"],"properties":{"secret_id":{"description":"Secret holding the credential: generic for bearer, oauth_token_set for oauth, aws_credentials for sigv4.","type":"string","minLength":1,"pattern":"^sec_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.secret_id","typeLabel":"string"},"type":{"description":"bearer sends a static token, oauth uses tokens from Omnara's MCP OAuth flow, and sigv4 signs requests with AWS SigV4.","enum":["bearer","oauth","sigv4"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.type","typeLabel":"enum\u003cstring>"},"region":{"description":"AWS region to sign for. Required for sigv4 only.","type":"string","minLength":1,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.region","typeLabel":"string"},"service":{"description":"AWS service to sign for, such as aws-mcp. Required for sigv4 only.","type":"string","minLength":1,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.service","typeLabel":"string"}},"x-go-type":"json.RawMessage","description":"How to authenticate to the server. Omit if it needs none.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth","typeLabel":"object"},"default_enabled":{"oneOf":[{"type":"boolean","description":"Whether tools are enabled unless overridden in tools. Defaults to true.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.default_enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether tools are enabled unless overridden in tools. Defaults to true.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.default_enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.default_enabled","typeLabel":"boolean | null"},"deferred":{"description":"Keep the server's tools out of context until tool_search loads them. Defaults to false.","type":"boolean","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.deferred","typeLabel":"boolean"},"permission":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"description":"always_allow, always_ask (wait for human approval), or always_deny.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Mode-specific settings. Current modes take none.","type":"object","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Default permission for the server's tools. Defaults to always_ask.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.permission","typeLabel":"object"},"tools":{"description":"Per-tool overrides, keyed by the tool's name on the server.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"deferred":{"oneOf":[{"type":"boolean","description":"Overrides the server's deferred setting. Null inherits it.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.deferred.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Overrides the server's deferred setting. Null inherits it.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.deferred.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.deferred","typeLabel":"boolean | null"},"enabled":{"oneOf":[{"type":"boolean","description":"Enables or hides the tool. Null follows the server's default_enabled.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Enables or hides the tool. Null follows the server's default_enabled.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.enabled","typeLabel":"boolean | null"},"permission":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"description":"always_allow, always_ask (wait for human approval), or always_deny.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Mode-specific settings. Current modes take none.","type":"object","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Overrides the server's permission for this tool.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.permission","typeLabel":"object"}},"x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties","typeLabel":"object"},"propertyNames":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools","typeLabel":"object"}},"x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.0","typeLabel":"object"},{"type":"null","description":"MCP servers the agent can use, keyed by server name. Their tools are named mcp__{server}__{tool}.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.mcp","typeLabel":"object | null"},"memory_stores":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name","access"],"properties":{"name":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Name of a memory store in the project.","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.memory_stores.oneOf.0.items.[INDEX].name","typeLabel":"string"},"access":{"description":"read, or read_write if the store also allows agent writes.","type":"string","enum":["read","read_write"],"isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.memory_stores.oneOf.0.items.[INDEX].access","typeLabel":"enum\u003cstring>"}},"x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.memory_stores.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Project memory stores the agent can access at /memory/{name}/.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.memory_stores.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Project memory stores the agent can access at /memory/{name}/.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.memory_stores.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.memory_stores","typeLabel":"object[] | null"},"skills":{"oneOf":[{"type":"array","items":{"type":"string","pattern":"^skl_[a-z2-7]{26}$","uniqueKey":"oneOf.1.config_source.source.oneOf.1.skills.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Skills the agent can load. The project must own or be granted each one.","uniqueItems":true,"x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.skills.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Skills the agent can load. The project must own or be granted each one.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.skills.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.skills","typeLabel":"string[] | null"},"subagents":{"oneOf":[{"type":"object","description":"Subagents the agent can spawn, keyed by name.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"description":"profile launches from a profile's current config; self copies this agent's config.","enum":["profile","self"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.type","typeLabel":"enum\u003cstring>"},"archive_after_idle_minutes":{"description":"Archive these subagents after this many idle minutes. Unset never archives them for being idle.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.archive_after_idle_minutes","typeLabel":"integer"},"description":{"description":"Tells the model when to spawn this subagent.","type":"string","uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.description","typeLabel":"string"},"instruction":{"type":"object","additionalProperties":false,"properties":{"append":{"description":"Text appended to the base instruction.","type":"string","uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.instruction.append","typeLabel":"string"}},"x-go-type":"json.RawMessage","description":"Changes to the subagent's instruction.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.instruction","typeLabel":"object"},"max_instances":{"description":"Maximum active subagents from this key. Unset means no per-key limit.","type":"integer","minimum":1,"maximum":2147483647,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.max_instances","typeLabel":"integer"},"model":{"type":"object","additionalProperties":false,"properties":{"cache_retention":{"description":"Overrides the base model's prompt caching.","enum":["none","short","long"],"type":"string","uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.cache_retention","typeLabel":"enum\u003cstring>"},"context_window_tokens":{"type":"integer","minimum":2,"maximum":2147483647,"description":"Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.context_window_tokens","typeLabel":"integer"},"default_max_output_tokens":{"description":"Overrides the base model's default output allowance.","type":"integer","minimum":1,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.default_max_output_tokens","typeLabel":"integer"},"name":{"description":"Configured model name. Set with provider_config to switch models.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","conditionalRequirements":[{"when":[[{"property":"provider_config"}]]}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.name","typeLabel":"string"},"provider_config":{"description":"Model provider name. Set with name to switch models.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","conditionalRequirements":[{"when":[[{"property":"name"}]]}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.provider_config","typeLabel":"string"},"reasoning":{"description":"Overrides the base model's reasoning effort.","type":"object","additionalProperties":false,"required":["effort"],"properties":{"effort":{"description":"Reasoning effort, such as low, medium, or high.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.reasoning.effort","typeLabel":"string"}},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.reasoning","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Model overrides. Omit provider_config and name to keep the base model.","conditionallyRequiredProperties":{"provider_config":[{"when":[[{"property":"name"}]]}],"name":[{"when":[[{"property":"provider_config"}]]}]},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model","typeLabel":"object"},"profile":{"description":"Agent profile to launch from. Required when type is profile.","type":"string","minLength":1,"maxLength":64,"pattern":"^\\S(?:.*\\S)?$","conditionalRequirements":[{"when":[[{"property":"type","values":["profile"]}]]}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.profile","typeLabel":"string"}},"x-go-type":"json.RawMessage","conditionallyRequiredProperties":{"profile":[{"when":[[{"property":"type","values":["profile"]}]]}]},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.0","typeLabel":"object"},{"type":"null","description":"Subagents the agent can spawn, keyed by name.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.subagents","typeLabel":"object | null"},"tools":{"oneOf":[{"type":"object","description":"Built-in and custom tools, keyed by tool name. {} enables a tool with its defaults.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"deferred":{"description":"Keep the tool out of context until tool_search loads it. Defaults to false.","type":"boolean","uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.deferred","typeLabel":"boolean"},"description":{"description":"Custom tools only. Tells the model what the tool does.","type":"string","minLength":1,"conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.description","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.enabled","typeLabel":"boolean | null"},"input_schema":{"description":"Custom tools only. JSON Schema for the tool's arguments.","type":"object","additionalProperties":true,"required":["type"],"properties":{"type":{"description":"Root type of the argument schema.","const":"object","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.type","typeLabel":"any"},"properties":{"description":"Arguments, keyed by name, as JSON Schemas.","type":"object","additionalProperties":{"type":"object","uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.properties.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.properties","typeLabel":"object"},"required":{"description":"Names of required arguments.","type":"array","items":{"type":"string","minLength":1,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.required","typeLabel":"string[]"}},"x-go-type":"json.RawMessage","conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema","typeLabel":"object"},"permission":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"description":"always_allow, always_ask (wait for human approval), or always_deny.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Mode-specific settings. Current modes take none.","type":"object","uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Overrides the tool's default permission. GET /tool-catalog lists defaults and modes.","uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.permission","typeLabel":"object"},"type":{"description":"built_in for an Omnara tool, custom for a tool your system runs.","enum":["built_in","custom"],"type":"string","uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.type","typeLabel":"enum\u003cstring>"}},"x-go-type":"agentconfig.AgentConfigToolSource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"conditionallyRequiredProperties":{"description":[{"when":[[{"property":"type","values":["custom"]}]]}],"input_schema":[{"when":[[{"property":"type","values":["custom"]}]]}]},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.0","typeLabel":"object"},{"type":"null","description":"Built-in and custom tools, keyed by tool name. {} enables a tool with its defaults.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config_source.source.oneOf.1.tools","typeLabel":"object | null"},"version":{"description":"Config format version. Optional; set it to pin the format.","enum":["v1"],"type":"string","uniqueKey":"oneOf.1.config_source.source.oneOf.1.version","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.config_source.source.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.1.config_source.source","typeLabel":"string | object"},"source_format":{"description":"Encoding of source.","type":"string","enum":["yaml","json"],"isRequired":true,"uniqueKey":"oneOf.1.config_source.source_format","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1.config_source","typeLabel":"object"},"name":{"type":"string","maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Optional agent name. Omit to inherit the profile name when present; send an empty string to leave the agent unnamed.","uniqueKey":"oneOf.1.name","typeLabel":"string"},"message":{"type":"string","description":"Optional initial text message. Mutually exclusive with initial_input.","uniqueKey":"oneOf.1.message","typeLabel":"string"},"tools":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"deferred":{"description":"Keep the tool out of context until tool_search loads it. Defaults to false.","type":"boolean","uniqueKey":"oneOf.1.tools.additionalProperties.deferred","typeLabel":"boolean"},"description":{"description":"Custom tools only. Tells the model what the tool does.","type":"string","minLength":1,"conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.1.tools.additionalProperties.description","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.1.tools.additionalProperties.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.1.tools.additionalProperties.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.tools.additionalProperties.enabled","typeLabel":"boolean | null"},"input_schema":{"description":"Custom tools only. JSON Schema for the tool's arguments.","type":"object","additionalProperties":true,"required":["type"],"properties":{"type":{"description":"Root type of the argument schema.","const":"object","isRequired":true,"uniqueKey":"oneOf.1.tools.additionalProperties.input_schema.type","typeLabel":"any"},"properties":{"description":"Arguments, keyed by name, as JSON Schemas.","type":"object","additionalProperties":{"type":"object","uniqueKey":"oneOf.1.tools.additionalProperties.input_schema.properties.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.1.tools.additionalProperties.input_schema.properties","typeLabel":"object"},"required":{"description":"Names of required arguments.","type":"array","items":{"type":"string","minLength":1,"uniqueKey":"oneOf.1.tools.additionalProperties.input_schema.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.tools.additionalProperties.input_schema.required","typeLabel":"string[]"}},"x-go-type":"json.RawMessage","conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.1.tools.additionalProperties.input_schema","typeLabel":"object"},"permission":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"description":"always_allow, always_ask (wait for human approval), or always_deny.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.1.tools.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Mode-specific settings. Current modes take none.","type":"object","uniqueKey":"oneOf.1.tools.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Overrides the tool's default permission. GET /tool-catalog lists defaults and modes.","uniqueKey":"oneOf.1.tools.additionalProperties.permission","typeLabel":"object"},"type":{"description":"built_in for an Omnara tool, custom for a tool your system runs.","enum":["built_in","custom"],"type":"string","uniqueKey":"oneOf.1.tools.additionalProperties.type","typeLabel":"enum\u003cstring>"}},"x-go-type":"agentconfig.AgentConfigToolSource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"conditionallyRequiredProperties":{"description":[{"when":[[{"property":"type","values":["custom"]}]]}],"input_schema":[{"when":[[{"property":"type","values":["custom"]}]]}]},"uniqueKey":"oneOf.1.tools.additionalProperties","typeLabel":"object"},"description":"Additional integration tool entries (int__\u003cintegration-name>__\u003coperation>) and optional list_interaction_handlers or set_interaction_handler tools for this agent. Other tool names are not accepted here. Existing config entries win unchanged. Requires project management permission. The derived config is created atomically with the agent and initial input; the profile is unchanged.","uniqueKey":"oneOf.1.tools","typeLabel":"object"},"subscriptions":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["integration_id","conversation"],"properties":{"integration_id":{"type":"string","pattern":"^itg_[a-z2-7]{26}$","description":"Integration that forwards the conversation's activity.","isRequired":true,"uniqueKey":"oneOf.1.subscriptions.items.[INDEX].integration_id","typeLabel":"string"},"conversation":{"type":"object","additionalProperties":true,"x-go-type":"json.RawMessage","x-go-type-skip-optional-pointer":true,"description":"Provider conversation to subscribe the agent to, such as a Slack channel.","isRequired":true,"uniqueKey":"oneOf.1.subscriptions.items.[INDEX].conversation","typeLabel":"object"}},"uniqueKey":"oneOf.1.subscriptions.items.[INDEX]","typeLabel":"object"},"description":"Integration-owned conversation subscriptions attached atomically with launch and initial input. Requires project management permission. Subscriptions alone preserve the pinned config. Launch replay never adds or restores subscriptions.","uniqueKey":"oneOf.1.subscriptions","typeLabel":"object[]"},"interaction_handlers":{"type":"object","additionalProperties":{"description":"Enables an integration's interaction handler. Takes no settings.","type":"object","additionalProperties":false,"x-go-type":"agentconfig.AgentConfigIntegrationCapabilitySource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"uniqueKey":"oneOf.1.interaction_handlers.additionalProperties","typeLabel":"object"},"description":"Additional integration interaction handlers, keyed by immutable integration name with empty object values. Slack and Discord handlers require an assigned conversation and accept empty runtime args. Adding a handler does not assign a conversation. Existing entries win unchanged. Requires project management permission.","uniqueKey":"oneOf.1.interaction_handlers","typeLabel":"object"},"initial_input":{"type":"object","additionalProperties":false,"required":["content_blocks"],"description":"Initial queued text input, committed atomically with the agent and any derived config. Mutually exclusive with message. Initial inline media is not supported; upload it through the agent input endpoint after launch.","properties":{"content_blocks":{"description":"Text blocks that make up the agent's first message.","type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["type","text"],"properties":{"type":{"description":"text: a plain-text block.","type":"string","enum":["text"],"isRequired":true,"uniqueKey":"oneOf.1.initial_input.content_blocks.items.[INDEX].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":"oneOf.1.initial_input.content_blocks.items.[INDEX].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":"oneOf.1.initial_input.content_blocks.items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.1.initial_input.content_blocks.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"oneOf.1.initial_input.content_blocks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.initial_input.content_blocks","typeLabel":"object[]"},"actor":{"type":"object","description":"Optional external actor for API key authentication. User-authenticated requests must omit this field. Without it, the authenticated user or API key is the 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":"oneOf.1.initial_input.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":"oneOf.1.initial_input.actor.provider_tenant_id","typeLabel":"string"},"display_name":{"description":"Display name for the actor.","type":"string","maxLength":256,"uniqueKey":"oneOf.1.initial_input.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":"oneOf.1.initial_input.actor.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.1.initial_input.actor.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.1.initial_input.actor","typeLabel":"object"}},"uniqueKey":"oneOf.1.initial_input","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","description":"Send at least one of profile, config, or config_source, and not both config and config_source. With only profile, the agent runs the profile's current config. With profile and config or config_source, the agent is attributed to the profile but runs the given config, which need not be one of the profile's versions. config_source is compiled and saved as a new config during the launch.","required":["config_source"],"properties":{"config_source":{"type":"object","description":"An agent config to compile. The source, YAML or JSON, as text or as a JSON object, is stored exactly as sent, so comments and formatting survive. Configs whose sources compile to the same definition share it, however their sources are formatted.","required":["source","source_format"],"properties":{"source":{"oneOf":[{"type":"string","description":"Config to compile: YAML or JSON text, or a JSON object when source_format is json.","minLength":1,"x-go-type":"json.RawMessage","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.0","typeLabel":"string"},{"type":"object","description":"Config to compile: YAML or JSON text, or a JSON object when source_format is json.","required":["instruction","model"],"x-go-type":"json.RawMessage","properties":{"instruction":{"type":"string","description":"System prompt: the agent's job, boundaries, and when to ask a human.","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.instruction","typeLabel":"string"},"model":{"type":"object","description":"Model the agent runs on, with optional overrides of its defaults.","required":["provider_config","name"],"x-go-type":"json.RawMessage","properties":{"name":{"type":"string","description":"Configured model name under provider_config.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.model.name","typeLabel":"string"},"provider_config":{"type":"string","description":"Name of the organization's model provider.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.model.provider_config","typeLabel":"string"},"cache_retention":{"type":"string","description":"Prompt caching: none, short (provider default), or long (extended where available). Unset uses the model's default.","enum":["none","short","long"],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.model.cache_retention","typeLabel":"enum\u003cstring>"},"context_window_tokens":{"type":"integer","description":"Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.","maximum":2147483647,"minimum":2,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.model.context_window_tokens","typeLabel":"integer"},"default_max_output_tokens":{"type":"integer","description":"Default output allowance per request. Overrides the model's default; max_output_tokens is the cap.","minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.model.default_max_output_tokens","typeLabel":"integer"},"reasoning":{"type":"object","description":"Reasoning effort, such as low, medium, or high, for models that support it.","required":["effort"],"properties":{"effort":{"type":"string","description":"Reasoning effort, such as low, medium, or high.","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.model.reasoning.effort","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.model.reasoning","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.model","typeLabel":"object"},"git_credentials":{"type":"object","description":"GitHub integration whose credentials the agent's machine processes use for Git and gh. Not passed to subagents.","required":["integration"],"x-go-type":"json.RawMessage","properties":{"integration":{"type":"string","description":"Name of a GitHub integration in the project.","pattern":"^[a-zA-Z][a-zA-Z0-9-]{0,31}$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.git_credentials.integration","typeLabel":"string"},"repository_ids":{"type":"array","items":{"type":"integer","minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.git_credentials.repository_ids.items.[INDEX]","typeLabel":"integer"},"description":"GitHub repository IDs the credentials can access. Defaults to every repository the installation can access.","maxItems":500,"minItems":1,"uniqueItems":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.git_credentials.repository_ids","typeLabel":"integer[]"},"read_only":{"type":"boolean","description":"Prevents pushing and opening or approving pull requests, even if the integration allows it.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.git_credentials.read_only","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.git_credentials","typeLabel":"object"},"interaction_handlers":{"oneOf":[{"type":"object","description":"Integrations that show the agent's questions and approvals outside the dashboard, keyed by integration name. Not passed to subagents.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","description":"Enables an integration's interaction handler. Takes no settings.","x-go-type":"agentconfig.AgentConfigIntegrationCapabilitySource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.interaction_handlers.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.interaction_handlers.oneOf.0","typeLabel":"object"},{"type":"null","description":"Integrations that show the agent's questions and approvals outside the dashboard, keyed by integration name. Not passed to subagents.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.interaction_handlers.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.interaction_handlers","typeLabel":"object | null"},"machine_sources":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","required":["machine_name"],"x-go-type":"json.RawMessage","properties":{"machine_name":{"type":"string","description":"Name of a BYO machine granted to the project. Set this or machine_pool_name.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_name","typeLabel":"string"},"cwd":{"type":"string","description":"Working directory for the agent's processes. Overrides the machine or pool default.","maxLength":4096,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.cwd","typeLabel":"string"},"delete_after_idle_minutes":{"oneOf":[{"description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes.oneOf.0","typeLabel":"any"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes.oneOf.1","typeLabel":"integer"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes.oneOf.2","typeLabel":"integer"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes.oneOf.3","typeLabel":"integer"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.delete_after_idle_minutes","typeLabel":"any · integer · integer · integer"},"description":{"type":"string","description":"Describes this source to the agent.","maxLength":4096,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.description","typeLabel":"string"},"env_overlay":{"oneOf":[{"type":"object","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.env_overlay","typeLabel":"object | null"},"initial_num_machines":{"type":"integer","description":"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines.","minimum":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.initial_num_machines","typeLabel":"integer"},"machine_cpu":{"type":"integer","description":"Pools only. vCPUs for new machines, within pool and project limits.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_cpu","typeLabel":"integer"},"machine_memory_mb":{"type":"integer","description":"Pools only. Memory in MB for new machines, within pool and project limits.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_memory_mb","typeLabel":"integer"},"machine_pool_name":{"type":"string","description":"Name of a machine pool granted to the project. Set this or machine_name.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_pool_name","typeLabel":"string"},"machine_provider_options_overlay":{"oneOf":[{"type":"object","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_provider_options_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_provider_options_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.machine_provider_options_overlay","typeLabel":"object | null"},"max_machines":{"type":"integer","description":"Pools only. Most machines the agent can hold from this pool. Defaults to 1.","minimum":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.max_machines","typeLabel":"integer"},"secret_env_overlay":{"oneOf":[{"type":"object","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0.secret_env_overlay","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["machine_pool_name","machine_name"],"x-go-type":"json.RawMessage","properties":{"machine_name":{"type":"string","description":"Name of a BYO machine granted to the project. Set this or machine_pool_name.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_name","typeLabel":"string"},"machine_pool_name":{"type":"string","description":"Name of a machine pool granted to the project. Set this or machine_name.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_pool_name","typeLabel":"string"},"cwd":{"type":"string","description":"Working directory for the agent's processes. Overrides the machine or pool default.","maxLength":4096,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.cwd","typeLabel":"string"},"delete_after_idle_minutes":{"oneOf":[{"description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes.oneOf.0","typeLabel":"any"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes.oneOf.1","typeLabel":"integer"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes.oneOf.2","typeLabel":"integer"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes.oneOf.3","typeLabel":"integer"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.delete_after_idle_minutes","typeLabel":"any · integer · integer · integer"},"description":{"type":"string","description":"Describes this source to the agent.","maxLength":4096,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.description","typeLabel":"string"},"env_overlay":{"oneOf":[{"type":"object","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.env_overlay","typeLabel":"object | null"},"initial_num_machines":{"type":"integer","description":"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines.","minimum":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.initial_num_machines","typeLabel":"integer"},"machine_cpu":{"type":"integer","description":"Pools only. vCPUs for new machines, within pool and project limits.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_cpu","typeLabel":"integer"},"machine_memory_mb":{"type":"integer","description":"Pools only. Memory in MB for new machines, within pool and project limits.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_memory_mb","typeLabel":"integer"},"machine_provider_options_overlay":{"oneOf":[{"type":"object","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_provider_options_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_provider_options_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.machine_provider_options_overlay","typeLabel":"object | null"},"max_machines":{"type":"integer","description":"Pools only. Most machines the agent can hold from this pool. Defaults to 1.","minimum":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.max_machines","typeLabel":"integer"},"secret_env_overlay":{"oneOf":[{"type":"object","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1.secret_env_overlay","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["machine_name","machine_pool_name"],"x-go-type":"json.RawMessage","properties":{"machine_name":{"type":"string","description":"Name of a BYO machine granted to the project. Set this or machine_pool_name.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.machine_name","typeLabel":"string"},"machine_pool_name":{"type":"string","description":"Name of a machine pool granted to the project. Set this or machine_name.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.machine_pool_name","typeLabel":"string"},"cwd":{"type":"string","description":"Working directory for the agent's processes. Overrides the machine or pool default.","maxLength":4096,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.cwd","typeLabel":"string"},"delete_after_idle_minutes":{"oneOf":[{"description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.delete_after_idle_minutes.oneOf.0","typeLabel":"any"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.delete_after_idle_minutes.oneOf.1","typeLabel":"integer"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.delete_after_idle_minutes.oneOf.2","typeLabel":"integer"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.delete_after_idle_minutes.oneOf.3","typeLabel":"integer"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.delete_after_idle_minutes","typeLabel":"any · integer · integer · integer"},"description":{"type":"string","description":"Describes this source to the agent.","maxLength":4096,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.description","typeLabel":"string"},"env_overlay":{"oneOf":[{"type":"object","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.env_overlay","typeLabel":"object | null"},"initial_num_machines":{"type":"integer","description":"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines.","minimum":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.initial_num_machines","typeLabel":"integer"},"machine_cpu":{"type":"integer","description":"Pools only. vCPUs for new machines, within pool and project limits.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.machine_cpu","typeLabel":"integer"},"machine_memory_mb":{"type":"integer","description":"Pools only. Memory in MB for new machines, within pool and project limits.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.machine_memory_mb","typeLabel":"integer"},"machine_provider_options_overlay":{"oneOf":[{"type":"object","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.machine_provider_options_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.machine_provider_options_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.machine_provider_options_overlay","typeLabel":"object | null"},"max_machines":{"type":"integer","description":"Pools only. Most machines the agent can hold from this pool. Defaults to 1.","minimum":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.max_machines","typeLabel":"integer"},"secret_env_overlay":{"oneOf":[{"type":"object","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.secret_env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.secret_env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.secret_env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.secret_env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.secret_env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2.secret_env_overlay","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["machine_pool_name"],"x-go-type":"json.RawMessage","properties":{"machine_pool_name":{"type":"string","description":"Name of a machine pool granted to the project. Set this or machine_name.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.machine_pool_name","typeLabel":"string"},"cwd":{"type":"string","description":"Working directory for the agent's processes. Overrides the machine or pool default.","maxLength":4096,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.cwd","typeLabel":"string"},"delete_after_idle_minutes":{"oneOf":[{"description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.delete_after_idle_minutes.oneOf.0","typeLabel":"any"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.delete_after_idle_minutes.oneOf.1","typeLabel":"integer"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"const":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.delete_after_idle_minutes.oneOf.2","typeLabel":"integer"},{"type":"integer","description":"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting.","maximum":2147483647,"minimum":5,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.delete_after_idle_minutes.oneOf.3","typeLabel":"integer"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.delete_after_idle_minutes","typeLabel":"any · integer · integer · integer"},"description":{"type":"string","description":"Describes this source to the agent.","maxLength":4096,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.description","typeLabel":"string"},"env_overlay":{"oneOf":[{"type":"object","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables for the agent's processes. A null value removes an inherited variable.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.env_overlay","typeLabel":"object | null"},"initial_num_machines":{"type":"integer","description":"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines.","minimum":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.initial_num_machines","typeLabel":"integer"},"machine_cpu":{"type":"integer","description":"Pools only. vCPUs for new machines, within pool and project limits.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.machine_cpu","typeLabel":"integer"},"machine_memory_mb":{"type":"integer","description":"Pools only. Memory in MB for new machines, within pool and project limits.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.machine_memory_mb","typeLabel":"integer"},"machine_name":{"type":"string","description":"Name of a BYO machine granted to the project. Set this or machine_pool_name.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.machine_name","typeLabel":"string"},"machine_provider_options_overlay":{"oneOf":[{"type":"object","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.machine_provider_options_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Pools only. Provider options applied over the pool and grant options.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.machine_provider_options_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.machine_provider_options_overlay","typeLabel":"object | null"},"max_machines":{"type":"integer","description":"Pools only. Most machines the agent can hold from this pool. Defaults to 1.","minimum":0,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.max_machines","typeLabel":"integer"},"secret_env_overlay":{"oneOf":[{"type":"object","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","additionalProperties":{"oneOf":[{"type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.secret_env_overlay.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.secret_env_overlay.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.secret_env_overlay.oneOf.0.additionalProperties","typeLabel":"string | null"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.secret_env_overlay.oneOf.0","typeLabel":"object"},{"type":"null","description":"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.secret_env_overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3.secret_env_overlay","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"BYO machines and machine pools the agent can run commands on.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"BYO machines and machine pools the agent can run commands on.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.machine_sources","typeLabel":"object[] | null"},"max_depth":{"type":"integer","description":"Maximum subagent nesting depth. Defaults to 1, so subagents cannot spawn their own.","maximum":8,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.max_depth","typeLabel":"integer"},"max_subagents":{"type":"integer","description":"Maximum active subagents across all keys. Unset means no overall limit.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.max_subagents","typeLabel":"integer"},"mcp":{"oneOf":[{"type":"object","description":"MCP servers the agent can use, keyed by server name. Their tools are named mcp__{server}__{tool}.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","required":["url"],"x-go-type":"json.RawMessage","properties":{"url":{"type":"string","description":"HTTPS URL of the server's MCP endpoint.","minLength":1,"isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.url","typeLabel":"string"},"auth":{"type":"object","description":"How to authenticate to the server. Omit if it needs none.","required":["type","secret_id"],"x-go-type":"json.RawMessage","properties":{"secret_id":{"type":"string","description":"Secret holding the credential: generic for bearer, oauth_token_set for oauth, aws_credentials for sigv4.","minLength":1,"pattern":"^sec_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.secret_id","typeLabel":"string"},"type":{"type":"string","description":"bearer sends a static token, oauth uses tokens from Omnara's MCP OAuth flow, and sigv4 signs requests with AWS SigV4.","enum":["bearer","oauth","sigv4"],"isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.type","typeLabel":"enum\u003cstring>"},"region":{"type":"string","description":"AWS region to sign for. Required for sigv4 only.","minLength":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.region","typeLabel":"string"},"service":{"type":"string","description":"AWS service to sign for, such as aws-mcp. Required for sigv4 only.","minLength":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth.service","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.auth","typeLabel":"object"},"default_enabled":{"oneOf":[{"type":"boolean","description":"Whether tools are enabled unless overridden in tools. Defaults to true.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.default_enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether tools are enabled unless overridden in tools. Defaults to true.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.default_enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.default_enabled","typeLabel":"boolean | null"},"deferred":{"type":"boolean","description":"Keep the server's tools out of context until tool_search loads them. Defaults to false.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.deferred","typeLabel":"boolean"},"permission":{"type":"object","description":"Default permission for the server's tools. Defaults to always_ask.","required":["mode"],"x-go-type":"json.RawMessage","properties":{"mode":{"type":"string","description":"always_allow, always_ask (wait for human approval), or always_deny.","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"type":"object","description":"Mode-specific settings. Current modes take none.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.permission.parameters","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.permission","typeLabel":"object"},"tools":{"type":"object","description":"Per-tool overrides, keyed by the tool's name on the server.","additionalProperties":{"type":"object","x-go-type":"json.RawMessage","properties":{"deferred":{"oneOf":[{"type":"boolean","description":"Overrides the server's deferred setting. Null inherits it.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.deferred.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Overrides the server's deferred setting. Null inherits it.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.deferred.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.deferred","typeLabel":"boolean | null"},"enabled":{"oneOf":[{"type":"boolean","description":"Enables or hides the tool. Null follows the server's default_enabled.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Enables or hides the tool. Null follows the server's default_enabled.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.enabled","typeLabel":"boolean | null"},"permission":{"type":"object","description":"Overrides the server's permission for this tool.","required":["mode"],"x-go-type":"json.RawMessage","properties":{"mode":{"type":"string","description":"always_allow, always_ask (wait for human approval), or always_deny.","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"type":"object","description":"Mode-specific settings. Current modes take none.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.permission.parameters","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties.permission","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties.tools","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.0","typeLabel":"object"},{"type":"null","description":"MCP servers the agent can use, keyed by server name. Their tools are named mcp__{server}__{tool}.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.mcp","typeLabel":"object | null"},"memory_stores":{"oneOf":[{"type":"array","items":{"type":"object","required":["name","access"],"x-go-type":"json.RawMessage","properties":{"name":{"type":"string","description":"Name of a memory store in the project.","maxLength":64,"minLength":1,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.memory_stores.oneOf.0.items.[INDEX].name","typeLabel":"string"},"access":{"type":"string","description":"read, or read_write if the store also allows agent writes.","enum":["read","read_write"],"isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.memory_stores.oneOf.0.items.[INDEX].access","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.memory_stores.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Project memory stores the agent can access at /memory/{name}/.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.memory_stores.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Project memory stores the agent can access at /memory/{name}/.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.memory_stores.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.memory_stores","typeLabel":"object[] | null"},"skills":{"oneOf":[{"type":"array","items":{"type":"string","pattern":"^skl_[a-z2-7]{26}$","uniqueKey":"oneOf.2.config_source.source.oneOf.1.skills.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Skills the agent can load. The project must own or be granted each one.","uniqueItems":true,"x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.skills.oneOf.0","typeLabel":"string[]"},{"type":"null","description":"Skills the agent can load. The project must own or be granted each one.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.skills.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.skills","typeLabel":"string[] | null"},"subagents":{"oneOf":[{"type":"object","description":"Subagents the agent can spawn, keyed by name.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","required":["type"],"conditionallyRequiredProperties":{"profile":[{"when":[[{"property":"type","values":["profile"]}]]},{"when":[[{"property":"type","values":["profile"]}]]}]},"x-go-type":"json.RawMessage","properties":{"type":{"type":"string","description":"profile launches from a profile's current config; self copies this agent's config.","enum":["profile","self"],"isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.type","typeLabel":"enum\u003cstring>"},"archive_after_idle_minutes":{"type":"integer","description":"Archive these subagents after this many idle minutes. Unset never archives them for being idle.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.archive_after_idle_minutes","typeLabel":"integer"},"description":{"type":"string","description":"Tells the model when to spawn this subagent.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.description","typeLabel":"string"},"instruction":{"type":"object","description":"Changes to the subagent's instruction.","x-go-type":"json.RawMessage","properties":{"append":{"type":"string","description":"Text appended to the base instruction.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.instruction.append","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.instruction","typeLabel":"object"},"max_instances":{"type":"integer","description":"Maximum active subagents from this key. Unset means no per-key limit.","maximum":2147483647,"minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.max_instances","typeLabel":"integer"},"model":{"type":"object","description":"Model overrides. Omit provider_config and name to keep the base model.","conditionallyRequiredProperties":{"provider_config":[{"when":[[{"property":"name"}]]},{"when":[[{"property":"name"}]]}],"name":[{"when":[[{"property":"provider_config"}]]},{"when":[[{"property":"provider_config"}]]}]},"x-go-type":"json.RawMessage","properties":{"cache_retention":{"type":"string","description":"Overrides the base model's prompt caching.","enum":["none","short","long"],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.cache_retention","typeLabel":"enum\u003cstring>"},"context_window_tokens":{"type":"integer","description":"Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.","maximum":2147483647,"minimum":2,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.context_window_tokens","typeLabel":"integer"},"default_max_output_tokens":{"type":"integer","description":"Overrides the base model's default output allowance.","minimum":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.default_max_output_tokens","typeLabel":"integer"},"name":{"type":"string","description":"Configured model name. Set with provider_config to switch models.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","conditionalRequirements":[{"when":[[{"property":"provider_config"}]]},{"when":[[{"property":"provider_config"}]]}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.name","typeLabel":"string"},"provider_config":{"type":"string","description":"Model provider name. Set with name to switch models.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","conditionalRequirements":[{"when":[[{"property":"name"}]]},{"when":[[{"property":"name"}]]}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.provider_config","typeLabel":"string"},"reasoning":{"type":"object","description":"Overrides the base model's reasoning effort.","required":["effort"],"properties":{"effort":{"type":"string","description":"Reasoning effort, such as low, medium, or high.","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.reasoning.effort","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model.reasoning","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.model","typeLabel":"object"},"profile":{"type":"string","description":"Agent profile to launch from. Required when type is profile.","maxLength":64,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","conditionalRequirements":[{"when":[[{"property":"type","values":["profile"]}]]},{"when":[[{"property":"type","values":["profile"]}]]}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties.profile","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.0","typeLabel":"object"},{"type":"null","description":"Subagents the agent can spawn, keyed by name.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.subagents","typeLabel":"object | null"},"tools":{"oneOf":[{"type":"object","description":"Built-in and custom tools, keyed by tool name. {} enables a tool with its defaults.","x-go-type":"json.RawMessage","additionalProperties":{"type":"object","conditionallyRequiredProperties":{"description":[{"when":[[{"property":"type","values":["custom"]}]]},{"when":[[{"property":"type","values":["custom"]}]]}],"input_schema":[{"when":[[{"property":"type","values":["custom"]}]]},{"when":[[{"property":"type","values":["custom"]}]]}]},"x-go-type":"agentconfig.AgentConfigToolSource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"properties":{"deferred":{"type":"boolean","description":"Keep the tool out of context until tool_search loads it. Defaults to false.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.deferred","typeLabel":"boolean"},"description":{"type":"string","description":"Custom tools only. Tells the model what the tool does.","minLength":1,"conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]},{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.description","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.enabled","typeLabel":"boolean | null"},"input_schema":{"type":"object","description":"Custom tools only. JSON Schema for the tool's arguments.","required":["type"],"x-go-type":"json.RawMessage","properties":{"type":{"description":"Root type of the argument schema.","const":"object","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.type","typeLabel":"any"},"properties":{"type":"object","description":"Arguments, keyed by name, as JSON Schemas.","additionalProperties":{"type":"object","uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.properties.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.properties","typeLabel":"object"},"required":{"type":"array","items":{"type":"string","minLength":1,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.required.items.[INDEX]","typeLabel":"string"},"description":"Names of required arguments.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema.required","typeLabel":"string[]"}},"additionalProperties":true,"conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]},{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.input_schema","typeLabel":"object"},"permission":{"type":"object","description":"Overrides the tool's default permission. GET /tool-catalog lists defaults and modes.","required":["mode"],"x-go-type":"json.RawMessage","properties":{"mode":{"type":"string","description":"always_allow, always_ask (wait for human approval), or always_deny.","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"type":"object","description":"Mode-specific settings. Current modes take none.","uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.permission.parameters","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.permission","typeLabel":"object"},"type":{"type":"string","description":"built_in for an Omnara tool, custom for a tool your system runs.","enum":["built_in","custom"],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.0","typeLabel":"object"},{"type":"null","description":"Built-in and custom tools, keyed by tool name. {} enables a tool with its defaults.","x-go-type":"json.RawMessage","uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.tools","typeLabel":"object | null"},"version":{"type":"string","description":"Config format version. Optional; set it to pin the format.","enum":["v1"],"uniqueKey":"oneOf.2.config_source.source.oneOf.1.version","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.config_source.source.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"oneOf.2.config_source.source","typeLabel":"string | object"},"source_format":{"type":"string","description":"Encoding of source.","enum":["yaml","json"],"isRequired":true,"uniqueKey":"oneOf.2.config_source.source_format","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.config_source","typeLabel":"object"},"profile":{"type":"string","pattern":"^aprf_[a-z2-7]{26}$","description":"Agent profile to launch. Runs its current config unless config or config_source is set.","uniqueKey":"oneOf.2.profile","typeLabel":"string"},"config":{"description":"Agent config ID (acfg_...).","type":"string","pattern":"^acfg_[a-z2-7]{26}$","uniqueKey":"oneOf.2.config","typeLabel":"string"},"name":{"type":"string","maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Optional agent name. Omit to inherit the profile name when present; send an empty string to leave the agent unnamed.","uniqueKey":"oneOf.2.name","typeLabel":"string"},"message":{"type":"string","description":"Optional initial text message. Mutually exclusive with initial_input.","uniqueKey":"oneOf.2.message","typeLabel":"string"},"tools":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"deferred":{"description":"Keep the tool out of context until tool_search loads it. Defaults to false.","type":"boolean","uniqueKey":"oneOf.2.tools.additionalProperties.deferred","typeLabel":"boolean"},"description":{"description":"Custom tools only. Tells the model what the tool does.","type":"string","minLength":1,"conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.2.tools.additionalProperties.description","typeLabel":"string"},"enabled":{"oneOf":[{"type":"boolean","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.2.tools.additionalProperties.enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Set to false to disable the tool, including default tools.","uniqueKey":"oneOf.2.tools.additionalProperties.enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.tools.additionalProperties.enabled","typeLabel":"boolean | null"},"input_schema":{"description":"Custom tools only. JSON Schema for the tool's arguments.","type":"object","additionalProperties":true,"required":["type"],"properties":{"type":{"description":"Root type of the argument schema.","const":"object","isRequired":true,"uniqueKey":"oneOf.2.tools.additionalProperties.input_schema.type","typeLabel":"any"},"properties":{"description":"Arguments, keyed by name, as JSON Schemas.","type":"object","additionalProperties":{"type":"object","uniqueKey":"oneOf.2.tools.additionalProperties.input_schema.properties.additionalProperties","typeLabel":"object"},"uniqueKey":"oneOf.2.tools.additionalProperties.input_schema.properties","typeLabel":"object"},"required":{"description":"Names of required arguments.","type":"array","items":{"type":"string","minLength":1,"uniqueKey":"oneOf.2.tools.additionalProperties.input_schema.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.2.tools.additionalProperties.input_schema.required","typeLabel":"string[]"}},"x-go-type":"json.RawMessage","conditionalRequirements":[{"when":[[{"property":"type","values":["custom"]}]]}],"uniqueKey":"oneOf.2.tools.additionalProperties.input_schema","typeLabel":"object"},"permission":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"description":"always_allow, always_ask (wait for human approval), or always_deny.","type":"string","minLength":1,"pattern":"\\S","isRequired":true,"uniqueKey":"oneOf.2.tools.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Mode-specific settings. Current modes take none.","type":"object","uniqueKey":"oneOf.2.tools.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"json.RawMessage","description":"Overrides the tool's default permission. GET /tool-catalog lists defaults and modes.","uniqueKey":"oneOf.2.tools.additionalProperties.permission","typeLabel":"object"},"type":{"description":"built_in for an Omnara tool, custom for a tool your system runs.","enum":["built_in","custom"],"type":"string","uniqueKey":"oneOf.2.tools.additionalProperties.type","typeLabel":"enum\u003cstring>"}},"x-go-type":"agentconfig.AgentConfigToolSource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"conditionallyRequiredProperties":{"description":[{"when":[[{"property":"type","values":["custom"]}]]}],"input_schema":[{"when":[[{"property":"type","values":["custom"]}]]}]},"uniqueKey":"oneOf.2.tools.additionalProperties","typeLabel":"object"},"description":"Additional integration tool entries (int__\u003cintegration-name>__\u003coperation>) and optional list_interaction_handlers or set_interaction_handler tools for this agent. Other tool names are not accepted here. Existing config entries win unchanged. Requires project management permission. The derived config is created atomically with the agent and initial input; the profile is unchanged.","uniqueKey":"oneOf.2.tools","typeLabel":"object"},"subscriptions":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["integration_id","conversation"],"properties":{"integration_id":{"type":"string","pattern":"^itg_[a-z2-7]{26}$","description":"Integration that forwards the conversation's activity.","isRequired":true,"uniqueKey":"oneOf.2.subscriptions.items.[INDEX].integration_id","typeLabel":"string"},"conversation":{"type":"object","additionalProperties":true,"x-go-type":"json.RawMessage","x-go-type-skip-optional-pointer":true,"description":"Provider conversation to subscribe the agent to, such as a Slack channel.","isRequired":true,"uniqueKey":"oneOf.2.subscriptions.items.[INDEX].conversation","typeLabel":"object"}},"uniqueKey":"oneOf.2.subscriptions.items.[INDEX]","typeLabel":"object"},"description":"Integration-owned conversation subscriptions attached atomically with launch and initial input. Requires project management permission. Subscriptions alone preserve the pinned config. Launch replay never adds or restores subscriptions.","uniqueKey":"oneOf.2.subscriptions","typeLabel":"object[]"},"interaction_handlers":{"type":"object","additionalProperties":{"description":"Enables an integration's interaction handler. Takes no settings.","type":"object","additionalProperties":false,"x-go-type":"agentconfig.AgentConfigIntegrationCapabilitySource","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/agentconfig"},"uniqueKey":"oneOf.2.interaction_handlers.additionalProperties","typeLabel":"object"},"description":"Additional integration interaction handlers, keyed by immutable integration name with empty object values. Slack and Discord handlers require an assigned conversation and accept empty runtime args. Adding a handler does not assign a conversation. Existing entries win unchanged. Requires project management permission.","uniqueKey":"oneOf.2.interaction_handlers","typeLabel":"object"},"initial_input":{"type":"object","additionalProperties":false,"required":["content_blocks"],"description":"Initial queued text input, committed atomically with the agent and any derived config. Mutually exclusive with message. Initial inline media is not supported; upload it through the agent input endpoint after launch.","properties":{"content_blocks":{"description":"Text blocks that make up the agent's first message.","type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["type","text"],"properties":{"type":{"description":"text: a plain-text block.","type":"string","enum":["text"],"isRequired":true,"uniqueKey":"oneOf.2.initial_input.content_blocks.items.[INDEX].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":"oneOf.2.initial_input.content_blocks.items.[INDEX].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":"oneOf.2.initial_input.content_blocks.items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.2.initial_input.content_blocks.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"oneOf.2.initial_input.content_blocks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.2.initial_input.content_blocks","typeLabel":"object[]"},"actor":{"type":"object","description":"Optional external actor for API key authentication. User-authenticated requests must omit this field. Without it, the authenticated user or API key is the 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":"oneOf.2.initial_input.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":"oneOf.2.initial_input.actor.provider_tenant_id","typeLabel":"string"},"display_name":{"description":"Display name for the actor.","type":"string","maxLength":256,"uniqueKey":"oneOf.2.initial_input.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":"oneOf.2.initial_input.actor.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.2.initial_input.actor.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.2.initial_input.actor","typeLabel":"object"}},"uniqueKey":"oneOf.2.initial_input","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"profile":"\u003cstring>","config":"\u003cstring>","name":"\u003cstring>","message":"\u003cstring>","tools":{},"subscriptions":[{"integration_id":"\u003cstring>","conversation":{}}],"interaction_handlers":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5b121c4d-6dfe-4ca9-9044-e753c04629a6":{"description":"Current state of the previously created agent.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["agent"],"properties":{"agent":{"type":"object","additionalProperties":false,"required":["id","org_id","project_id","state","name","created_at","updated_at"],"properties":{"id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent.id","typeLabel":"string"},"org_id":{"type":"string","pattern":"^org_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent.org_id","typeLabel":"string"},"project_id":{"description":"Project ID (proj_...).","type":"string","pattern":"^proj_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent.project_id","typeLabel":"string"},"state":{"type":"string","enum":["active","archived"],"isRequired":true,"uniqueKey":"agent.state","typeLabel":"enum\u003cstring>"},"name":{"type":"string","maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Agent name. Empty means the agent is unnamed; non-empty values use the ResourceName policy.","isRequired":true,"uniqueKey":"agent.name","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"agent.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"agent.updated_at","typeLabel":"string\u003cdate-time>"},"agent_profile_id":{"type":"string","pattern":"^aprf_[a-z2-7]{26}$","uniqueKey":"agent.agent_profile_id","typeLabel":"string"},"integration_target":{"type":"object","additionalProperties":false,"required":["provider","conversation","display_name"],"properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"agent.integration_target.provider","typeLabel":"string"},"conversation":{"type":"object","additionalProperties":true,"x-go-type":"json.RawMessage","x-go-type-skip-optional-pointer":true,"description":"One concrete provider address, validated by the integration's capabilities.subscription.conversation_schema. Slack uses channel_id and optional thread_ts; Discord uses channel_id for a channel or thread_id for a thread; GitHub uses repository_id and pull_request. Discord accepts optional parent channel_id and guild_id alongside thread_id and validates their ID format, but subscription creation does not verify them against Discord or retain them as routing restrictions. Only thread_id is retained in a canonical thread address and returned by create/list responses. No credentials or runtime state.","isRequired":true,"uniqueKey":"agent.integration_target.conversation","typeLabel":"object"},"display_name":{"type":"string","isRequired":true,"uniqueKey":"agent.integration_target.display_name","typeLabel":"string"},"provider_uri":{"type":"string","format":"uri","uniqueKey":"agent.integration_target.provider_uri","typeLabel":"string\u003curi>"}},"description":"Selected question/approval destination. Automatic mode updates it when content inputs are admitted. Prompts use it only while the integration and handler remain eligible. It is not launch provenance or permission to post.","uniqueKey":"agent.integration_target","typeLabel":"object"},"current_config_id":{"description":"Agent config ID (acfg_...).","type":"string","pattern":"^acfg_[a-z2-7]{26}$","uniqueKey":"agent.current_config_id","typeLabel":"string"},"model":{"type":"object","additionalProperties":false,"required":["provider_config","name"],"properties":{"provider_config":{"type":"string","minLength":1,"maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.","isRequired":true,"uniqueKey":"agent.model.provider_config","typeLabel":"string"},"name":{"type":"string","minLength":1,"maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.","isRequired":true,"uniqueKey":"agent.model.name","typeLabel":"string"}},"uniqueKey":"agent.model","typeLabel":"object"},"parent_agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","description":"Set when this agent is a subagent spawned by another agent.","uniqueKey":"agent.parent_agent_id","typeLabel":"string"},"subagent_key":{"description":"The `subagents` key this agent was spawned from.","type":"string","uniqueKey":"agent.subagent_key","typeLabel":"string"},"activity":{"type":"object","additionalProperties":false,"required":["state","last_activity_at","open_interactions","running_processes","working_subagents"],"properties":{"state":{"description":"running while the agent has work in progress, which includes a custom tool call awaiting its result; waiting_on_interaction while it has an open question or permission request; idle otherwise; and archived once the agent is archived. Running processes and working subagents do not change it; see running_processes and working_subagents.","type":"string","enum":["running","idle","waiting_on_interaction","archived"],"isRequired":true,"uniqueKey":"agent.activity.state","typeLabel":"enum\u003cstring>"},"last_activity_at":{"type":"string","format":"date-time","description":"When the agent's latest event was recorded, or its creation time before any event.","isRequired":true,"uniqueKey":"agent.activity.last_activity_at","typeLabel":"string\u003cdate-time>"},"open_interactions":{"description":"The agent's open questions and permission requests.","type":"object","additionalProperties":false,"required":["question_count","permission_request_count"],"properties":{"question_count":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"agent.activity.open_interactions.question_count","typeLabel":"integer"},"permission_request_count":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"agent.activity.open_interactions.permission_request_count","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"agent.activity.open_interactions","typeLabel":"object"},"running_processes":{"description":"Commands the agent left running that will send it a message when they end. process_ids lists the first 20, oldest first.","type":"object","additionalProperties":false,"required":["count","process_ids"],"properties":{"count":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"agent.activity.running_processes.count","typeLabel":"integer"},"process_ids":{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^prc_[a-z2-7]{26}$","uniqueKey":"agent.activity.running_processes.process_ids.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"agent.activity.running_processes.process_ids","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"agent.activity.running_processes","typeLabel":"object"},"working_subagents":{"description":"Active subagents that are still working, including through their own subagents or processes. agent_ids lists the first 20, oldest first.","type":"object","additionalProperties":false,"required":["count","agent_ids"],"properties":{"count":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"agent.activity.working_subagents.count","typeLabel":"integer"},"agent_ids":{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","uniqueKey":"agent.activity.working_subagents.agent_ids.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"agent.activity.working_subagents.agent_ids","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"agent.activity.working_subagents","typeLabel":"object"}},"description":"Current activity, present on list and get responses.","uniqueKey":"agent.activity","typeLabel":"object"},"usage":{"type":"object","additionalProperties":false,"required":["model_calls","tokens","cost"],"properties":{"model_calls":{"type":"integer","format":"int64","minimum":0,"description":"Model calls that recorded token usage or a provider-reported cost.","isRequired":true,"uniqueKey":"agent.usage.model_calls","typeLabel":"integer\u003cint64>"},"tokens":{"type":"object","additionalProperties":false,"description":"Summed token counts across the tallied model calls. Input totals are the sum of uncached, cache-read, and cache-write tokens; output totals include reasoning tokens.","required":["input_tokens_total","uncached_input_tokens","cache_read_input_tokens","cache_write_input_tokens","output_tokens_total","reasoning_output_tokens"],"properties":{"input_tokens_total":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.input_tokens_total","typeLabel":"integer\u003cint64>"},"uncached_input_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.uncached_input_tokens","typeLabel":"integer\u003cint64>"},"cache_read_input_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.cache_read_input_tokens","typeLabel":"integer\u003cint64>"},"cache_write_input_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.cache_write_input_tokens","typeLabel":"integer\u003cint64>"},"output_tokens_total":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.output_tokens_total","typeLabel":"integer\u003cint64>"},"reasoning_output_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.reasoning_output_tokens","typeLabel":"integer\u003cint64>"}},"isRequired":true,"uniqueKey":"agent.usage.tokens","typeLabel":"object"},"cost":{"type":"object","additionalProperties":false,"required":["provider_reported_usd","model_calls_with_reported_cost"],"properties":{"provider_reported_usd":{"type":"string","description":"Exact decimal sum in USD of the costs the provider reported for the tallied model calls. Calls whose provider reported no cost contribute nothing; compare model_calls_with_reported_cost against model_calls to see how complete the figure is.","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","isRequired":true,"uniqueKey":"agent.usage.cost.provider_reported_usd","typeLabel":"string"},"model_calls_with_reported_cost":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.cost.model_calls_with_reported_cost","typeLabel":"integer\u003cint64>"}},"isRequired":true,"uniqueKey":"agent.usage.cost","typeLabel":"object"}},"description":"All-time model usage by the agent and its subagents. Present when the list was requested with `include_usage`.","uniqueKey":"agent.usage","typeLabel":"object"},"archived_at":{"type":"string","format":"date-time","uniqueKey":"agent.archived_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"agent","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agent":{"id":"\u003cstring>","org_id":"\u003cstring>","project_id":"\u003cstring>","state":"active","name":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","agent_profile_id":"\u003cstring>","integration_target":{"provider":"\u003cstring>","conversation":{},"display_name":"\u003cstring>","provider_uri":"\u003cstring>"},"current_config_id":"\u003cstring>","model":{"provider_config":"\u003cstring>","name":"\u003cstring>"},"parent_agent_id":"\u003cstring>","subagent_key":"\u003cstring>","activity":{"state":"running","last_activity_at":"2023-11-07T05:31:56Z","open_interactions":{"question_count":1,"permission_request_count":1},"running_processes":{"count":1,"process_ids":["\u003cstring>"]},"working_subagents":{"count":1,"agent_ids":["\u003cstring>"]}},"usage":{"model_calls":1,"tokens":{"input_tokens_total":1,"uncached_input_tokens":1,"cache_read_input_tokens":1,"cache_write_input_tokens":1,"output_tokens_total":1,"reasoning_output_tokens":1},"cost":{"provider_reported_usd":"\u003cstring>","model_calls_with_reported_cost":1}},"archived_at":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9d4f81ea-e452-4bd1-a01a-4705e5fbf26b":{"description":"Agent launched.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["agent","agent_config","machine_bindings"],"properties":{"agent":{"type":"object","additionalProperties":false,"required":["id","org_id","project_id","state","name","created_at","updated_at"],"properties":{"id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent.id","typeLabel":"string"},"org_id":{"type":"string","pattern":"^org_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent.org_id","typeLabel":"string"},"project_id":{"description":"Project ID (proj_...).","type":"string","pattern":"^proj_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent.project_id","typeLabel":"string"},"state":{"type":"string","enum":["active","archived"],"isRequired":true,"uniqueKey":"agent.state","typeLabel":"enum\u003cstring>"},"name":{"type":"string","maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Agent name. Empty means the agent is unnamed; non-empty values use the ResourceName policy.","isRequired":true,"uniqueKey":"agent.name","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"agent.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"agent.updated_at","typeLabel":"string\u003cdate-time>"},"agent_profile_id":{"type":"string","pattern":"^aprf_[a-z2-7]{26}$","uniqueKey":"agent.agent_profile_id","typeLabel":"string"},"integration_target":{"type":"object","additionalProperties":false,"required":["provider","conversation","display_name"],"properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"agent.integration_target.provider","typeLabel":"string"},"conversation":{"type":"object","additionalProperties":true,"x-go-type":"json.RawMessage","x-go-type-skip-optional-pointer":true,"description":"One concrete provider address, validated by the integration's capabilities.subscription.conversation_schema. Slack uses channel_id and optional thread_ts; Discord uses channel_id for a channel or thread_id for a thread; GitHub uses repository_id and pull_request. Discord accepts optional parent channel_id and guild_id alongside thread_id and validates their ID format, but subscription creation does not verify them against Discord or retain them as routing restrictions. Only thread_id is retained in a canonical thread address and returned by create/list responses. No credentials or runtime state.","isRequired":true,"uniqueKey":"agent.integration_target.conversation","typeLabel":"object"},"display_name":{"type":"string","isRequired":true,"uniqueKey":"agent.integration_target.display_name","typeLabel":"string"},"provider_uri":{"type":"string","format":"uri","uniqueKey":"agent.integration_target.provider_uri","typeLabel":"string\u003curi>"}},"description":"Selected question/approval destination. Automatic mode updates it when content inputs are admitted. Prompts use it only while the integration and handler remain eligible. It is not launch provenance or permission to post.","uniqueKey":"agent.integration_target","typeLabel":"object"},"current_config_id":{"description":"Agent config ID (acfg_...).","type":"string","pattern":"^acfg_[a-z2-7]{26}$","uniqueKey":"agent.current_config_id","typeLabel":"string"},"model":{"type":"object","additionalProperties":false,"required":["provider_config","name"],"properties":{"provider_config":{"type":"string","minLength":1,"maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.","isRequired":true,"uniqueKey":"agent.model.provider_config","typeLabel":"string"},"name":{"type":"string","minLength":1,"maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.","isRequired":true,"uniqueKey":"agent.model.name","typeLabel":"string"}},"uniqueKey":"agent.model","typeLabel":"object"},"parent_agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","description":"Set when this agent is a subagent spawned by another agent.","uniqueKey":"agent.parent_agent_id","typeLabel":"string"},"subagent_key":{"description":"The `subagents` key this agent was spawned from.","type":"string","uniqueKey":"agent.subagent_key","typeLabel":"string"},"activity":{"type":"object","additionalProperties":false,"required":["state","last_activity_at","open_interactions","running_processes","working_subagents"],"properties":{"state":{"description":"running while the agent has work in progress, which includes a custom tool call awaiting its result; waiting_on_interaction while it has an open question or permission request; idle otherwise; and archived once the agent is archived. Running processes and working subagents do not change it; see running_processes and working_subagents.","type":"string","enum":["running","idle","waiting_on_interaction","archived"],"isRequired":true,"uniqueKey":"agent.activity.state","typeLabel":"enum\u003cstring>"},"last_activity_at":{"type":"string","format":"date-time","description":"When the agent's latest event was recorded, or its creation time before any event.","isRequired":true,"uniqueKey":"agent.activity.last_activity_at","typeLabel":"string\u003cdate-time>"},"open_interactions":{"description":"The agent's open questions and permission requests.","type":"object","additionalProperties":false,"required":["question_count","permission_request_count"],"properties":{"question_count":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"agent.activity.open_interactions.question_count","typeLabel":"integer"},"permission_request_count":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"agent.activity.open_interactions.permission_request_count","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"agent.activity.open_interactions","typeLabel":"object"},"running_processes":{"description":"Commands the agent left running that will send it a message when they end. process_ids lists the first 20, oldest first.","type":"object","additionalProperties":false,"required":["count","process_ids"],"properties":{"count":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"agent.activity.running_processes.count","typeLabel":"integer"},"process_ids":{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^prc_[a-z2-7]{26}$","uniqueKey":"agent.activity.running_processes.process_ids.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"agent.activity.running_processes.process_ids","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"agent.activity.running_processes","typeLabel":"object"},"working_subagents":{"description":"Active subagents that are still working, including through their own subagents or processes. agent_ids lists the first 20, oldest first.","type":"object","additionalProperties":false,"required":["count","agent_ids"],"properties":{"count":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"agent.activity.working_subagents.count","typeLabel":"integer"},"agent_ids":{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","uniqueKey":"agent.activity.working_subagents.agent_ids.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"agent.activity.working_subagents.agent_ids","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"agent.activity.working_subagents","typeLabel":"object"}},"description":"Current activity, present on list and get responses.","uniqueKey":"agent.activity","typeLabel":"object"},"usage":{"type":"object","additionalProperties":false,"required":["model_calls","tokens","cost"],"properties":{"model_calls":{"type":"integer","format":"int64","minimum":0,"description":"Model calls that recorded token usage or a provider-reported cost.","isRequired":true,"uniqueKey":"agent.usage.model_calls","typeLabel":"integer\u003cint64>"},"tokens":{"type":"object","additionalProperties":false,"description":"Summed token counts across the tallied model calls. Input totals are the sum of uncached, cache-read, and cache-write tokens; output totals include reasoning tokens.","required":["input_tokens_total","uncached_input_tokens","cache_read_input_tokens","cache_write_input_tokens","output_tokens_total","reasoning_output_tokens"],"properties":{"input_tokens_total":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.input_tokens_total","typeLabel":"integer\u003cint64>"},"uncached_input_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.uncached_input_tokens","typeLabel":"integer\u003cint64>"},"cache_read_input_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.cache_read_input_tokens","typeLabel":"integer\u003cint64>"},"cache_write_input_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.cache_write_input_tokens","typeLabel":"integer\u003cint64>"},"output_tokens_total":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.output_tokens_total","typeLabel":"integer\u003cint64>"},"reasoning_output_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.tokens.reasoning_output_tokens","typeLabel":"integer\u003cint64>"}},"isRequired":true,"uniqueKey":"agent.usage.tokens","typeLabel":"object"},"cost":{"type":"object","additionalProperties":false,"required":["provider_reported_usd","model_calls_with_reported_cost"],"properties":{"provider_reported_usd":{"type":"string","description":"Exact decimal sum in USD of the costs the provider reported for the tallied model calls. Calls whose provider reported no cost contribute nothing; compare model_calls_with_reported_cost against model_calls to see how complete the figure is.","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","isRequired":true,"uniqueKey":"agent.usage.cost.provider_reported_usd","typeLabel":"string"},"model_calls_with_reported_cost":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"agent.usage.cost.model_calls_with_reported_cost","typeLabel":"integer\u003cint64>"}},"isRequired":true,"uniqueKey":"agent.usage.cost","typeLabel":"object"}},"description":"All-time model usage by the agent and its subagents. Present when the list was requested with `include_usage`.","uniqueKey":"agent.usage","typeLabel":"object"},"archived_at":{"type":"string","format":"date-time","uniqueKey":"agent.archived_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"agent","typeLabel":"object"},"agent_config":{"type":"object","additionalProperties":false,"required":["id","org_id","project_id","effective_definition_hash","model","created_at","compiled_definition"],"properties":{"id":{"description":"Agent config ID (acfg_...).","type":"string","pattern":"^acfg_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent_config.id","typeLabel":"string"},"org_id":{"type":"string","pattern":"^org_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent_config.org_id","typeLabel":"string"},"project_id":{"description":"Project ID (proj_...).","type":"string","pattern":"^proj_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent_config.project_id","typeLabel":"string"},"effective_definition_hash":{"type":"string","isRequired":true,"uniqueKey":"agent_config.effective_definition_hash","typeLabel":"string"},"model":{"type":"object","additionalProperties":false,"required":["provider_config","name","provider_model_slug","configured_model_id","current_revision_id","api_format","api_variant","context_window_tokens","max_output_tokens","default_cache_retention","supports_tools","supports_reasoning","default_reasoning_effort","supported_reasoning_efforts","input_modalities","output_modalities"],"properties":{"provider_config":{"type":"string","minLength":1,"maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.","isRequired":true,"uniqueKey":"agent_config.model.provider_config","typeLabel":"string"},"name":{"type":"string","minLength":1,"maxLength":64,"x-omnara-unicode-normalization":"NFC","description":"Configured model name selected by this agent config, rendered from the current configured model record.","isRequired":true,"uniqueKey":"agent_config.model.name","typeLabel":"string"},"provider_model_slug":{"type":"string","description":"Exact provider model slug on the configured model's current revision at response time.","isRequired":true,"uniqueKey":"agent_config.model.provider_model_slug","typeLabel":"string"},"configured_model_id":{"type":"string","pattern":"^mdl_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent_config.model.configured_model_id","typeLabel":"string"},"current_revision_id":{"type":"string","pattern":"^mrev_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent_config.model.current_revision_id","typeLabel":"string"},"api_format":{"description":"Wire protocol the model endpoint speaks.","type":"string","enum":["openai-responses","openai-chat-completions","anthropic-messages"],"x-enum-varnames":["ModelAPIFormatOpenaiResponses","ModelAPIFormatOpenaiChatCompletions","ModelAPIFormatAnthropicMessages"],"isRequired":true,"uniqueKey":"agent_config.model.api_format","typeLabel":"enum\u003cstring>"},"api_variant":{"type":"string","x-extensible-enum":["default","openrouter","bedrock"],"isRequired":true,"uniqueKey":"agent_config.model.api_variant","typeLabel":"string"},"context_window_tokens":{"type":"integer","description":"Effective context budget for input and output tokens after model, project, and agent settings are applied. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.","isRequired":true,"uniqueKey":"agent_config.model.context_window_tokens","typeLabel":"integer"},"max_output_tokens":{"oneOf":[{"type":"integer","description":"Effective known output-token ceiling after model and project settings, or null when unknown.","isRequired":true,"uniqueKey":"agent_config.model.max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Effective known output-token ceiling after model and project settings, or null when unknown.","isRequired":true,"uniqueKey":"agent_config.model.max_output_tokens.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent_config.model.max_output_tokens","typeLabel":"integer | null"},"default_cache_retention":{"type":"string","description":"Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.","enum":["none","short","long"],"isRequired":true,"uniqueKey":"agent_config.model.default_cache_retention","typeLabel":"enum\u003cstring>"},"supports_tools":{"type":"boolean","isRequired":true,"uniqueKey":"agent_config.model.supports_tools","typeLabel":"boolean"},"supports_reasoning":{"type":"boolean","isRequired":true,"uniqueKey":"agent_config.model.supports_reasoning","typeLabel":"boolean"},"default_reasoning_effort":{"type":"string","isRequired":true,"uniqueKey":"agent_config.model.default_reasoning_effort","typeLabel":"string"},"supported_reasoning_efforts":{"type":"array","items":{"type":"string","uniqueKey":"agent_config.model.supported_reasoning_efforts.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"agent_config.model.supported_reasoning_efforts","typeLabel":"string[]"},"input_modalities":{"type":"array","items":{"type":"string","uniqueKey":"agent_config.model.input_modalities.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"agent_config.model.input_modalities","typeLabel":"string[]"},"output_modalities":{"type":"array","items":{"type":"string","uniqueKey":"agent_config.model.output_modalities.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"agent_config.model.output_modalities","typeLabel":"string[]"},"default_max_output_tokens":{"oneOf":[{"type":"integer","description":"Effective per-request output-token cap sent to the provider.","uniqueKey":"agent_config.model.default_max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Effective per-request output-token cap sent to the provider.","uniqueKey":"agent_config.model.default_max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_config.model.default_max_output_tokens","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"agent_config.model","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"agent_config.created_at","typeLabel":"string\u003cdate-time>"},"compiled_definition":{"type":"object","additionalProperties":false,"description":"Read-only saved compiled configuration, including default tools and derived subagent overrides.","required":["instruction","model"],"properties":{"instruction":{"type":"string","isRequired":true,"uniqueKey":"agent_config.compiled_definition.instruction","typeLabel":"string"},"model":{"type":"object","additionalProperties":false,"required":["configured_model_id"],"properties":{"configured_model_id":{"type":"string","pattern":"^mdl_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"x-go-type-skip-optional-pointer":true,"isRequired":true,"uniqueKey":"agent_config.compiled_definition.model.configured_model_id","typeLabel":"string"},"context_window_tokens":{"type":"integer","uniqueKey":"agent_config.compiled_definition.model.context_window_tokens","typeLabel":"integer"},"default_max_output_tokens":{"type":"integer","uniqueKey":"agent_config.compiled_definition.model.default_max_output_tokens","typeLabel":"integer"},"cache_retention":{"type":"string","description":"Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.","enum":["none","short","long"],"x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.model.cache_retention","typeLabel":"enum\u003cstring>"},"reasoning":{"type":"object","additionalProperties":false,"required":["effort"],"properties":{"effort":{"type":"string","isRequired":true,"uniqueKey":"agent_config.compiled_definition.model.reasoning.effort","typeLabel":"string"}},"uniqueKey":"agent_config.compiled_definition.model.reasoning","typeLabel":"object"}},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.model","typeLabel":"object"},"version":{"type":"string","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.version","typeLabel":"string"},"machine_sources":{"type":"array","x-go-type-skip-optional-pointer":true,"items":{"type":"object","additionalProperties":false,"properties":{"machine_id":{"description":"Machine ID (mch_...).","type":"string","pattern":"^mch_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].machine_id","typeLabel":"string"},"machine_pool_id":{"description":"Machine pool ID (mpo_...).","type":"string","pattern":"^mpo_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].machine_pool_id","typeLabel":"string"},"max_machines":{"type":"integer","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].max_machines","typeLabel":"integer"},"initial_num_machines":{"type":"integer","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].initial_num_machines","typeLabel":"integer"},"delete_after_idle_minutes":{"type":"integer","uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].delete_after_idle_minutes","typeLabel":"integer"},"cwd":{"type":"string","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].cwd","typeLabel":"string"},"machine_cpu":{"type":"integer","uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].machine_cpu","typeLabel":"integer"},"machine_memory_mb":{"type":"integer","uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].machine_memory_mb","typeLabel":"integer"},"env_overlay":{"type":"object","x-go-type":"map[string]*string","x-go-type-skip-optional-pointer":true,"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].env_overlay.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].env_overlay.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].env_overlay.additionalProperties","typeLabel":"string | null"},"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].env_overlay","typeLabel":"object"},"secret_env_overlay":{"type":"object","x-go-type":"map[string]*publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"x-go-type-skip-optional-pointer":true,"additionalProperties":{"oneOf":[{"type":"string","description":"Secret ID (sec_...).","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].secret_env_overlay.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].secret_env_overlay.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].secret_env_overlay.additionalProperties","typeLabel":"string | null"},"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].secret_env_overlay","typeLabel":"object"},"machine_provider_options_overlay":{"type":"object","x-go-type":"map[string]json.RawMessage","x-go-type-skip-optional-pointer":true,"additionalProperties":true,"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].machine_provider_options_overlay","typeLabel":"object"},"description":{"type":"string","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"agent_config.compiled_definition.machine_sources.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent_config.compiled_definition.machine_sources","typeLabel":"object[]"},"tools":{"type":"object","x-go-type-skip-optional-pointer":true,"additionalProperties":{"type":"object","additionalProperties":false,"required":["enabled","permission"],"properties":{"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties.enabled","typeLabel":"boolean"},"permission":{"type":"object","additionalProperties":false,"required":["mode","parameters"],"properties":{"mode":{"description":"Permission mode applied by default.","type":"string","isRequired":true,"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Parameters for the default mode.","type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"toolpermission.Selection","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/toolpermission"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties.permission","typeLabel":"object"},"integration_id":{"type":"string","pattern":"^itg_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties.integration_id","typeLabel":"string"},"type":{"type":"string","enum":["built_in","custom"],"x-enum-varnames":["CompiledToolTypeBuiltIn","CompiledToolTypeCustom"],"x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties.type","typeLabel":"enum\u003cstring>"},"deferred":{"type":"boolean","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties.deferred","typeLabel":"boolean"},"description":{"type":"string","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties.description","typeLabel":"string"},"input_schema":{"type":"object","additionalProperties":true,"x-go-type":"json.RawMessage","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties.input_schema","typeLabel":"object"}},"uniqueKey":"agent_config.compiled_definition.tools.additionalProperties","typeLabel":"object"},"uniqueKey":"agent_config.compiled_definition.tools","typeLabel":"object"},"mcp":{"type":"object","x-go-type-skip-optional-pointer":true,"additionalProperties":{"type":"object","additionalProperties":false,"required":["url","default_enabled","permission"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.url","typeLabel":"string"},"default_enabled":{"type":"boolean","isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.default_enabled","typeLabel":"boolean"},"permission":{"type":"object","additionalProperties":false,"required":["mode","parameters"],"properties":{"mode":{"description":"Permission mode applied by default.","type":"string","isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Parameters for the default mode.","type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"toolpermission.Selection","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/toolpermission"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.permission","typeLabel":"object"},"auth":{"oneOf":[{"type":"object","required":["type","secret_id"],"properties":{"type":{"type":"string","enum":["bearer"],"x-enum-varnames":["CompiledMCPAuthBearerTypeBearer"],"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.0.type","typeLabel":"enum\u003cstring>"},"secret_id":{"description":"Secret ID (sec_...).","type":"string","pattern":"^sec_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.0.secret_id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","secret_id"],"properties":{"type":{"type":"string","enum":["oauth"],"x-enum-varnames":["CompiledMCPAuthOAuthTypeOAuth"],"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.1.type","typeLabel":"enum\u003cstring>"},"secret_id":{"description":"Secret ID (sec_...).","type":"string","pattern":"^sec_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.1.secret_id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","secret_id","service","region"],"properties":{"type":{"type":"string","enum":["sigv4"],"x-enum-varnames":["CompiledMCPAuthSigV4TypeSigV4"],"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.2.type","typeLabel":"enum\u003cstring>"},"secret_id":{"description":"Secret ID (sec_...).","type":"string","pattern":"^sec_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.2.secret_id","typeLabel":"string"},"service":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.2.service","typeLabel":"string"},"region":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.2.region","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth.oneOf.2","typeLabel":"object"}],"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.auth","typeLabel":"object"},"deferred":{"type":"boolean","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.deferred","typeLabel":"boolean"},"tools":{"type":"object","x-go-type-skip-optional-pointer":true,"additionalProperties":{"type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.tools.additionalProperties.enabled","typeLabel":"boolean"},"permission":{"type":"object","additionalProperties":false,"required":["mode","parameters"],"properties":{"mode":{"description":"Permission mode applied by default.","type":"string","isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.tools.additionalProperties.permission.mode","typeLabel":"string"},"parameters":{"description":"Parameters for the default mode.","type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.tools.additionalProperties.permission.parameters","typeLabel":"object"}},"x-go-type":"toolpermission.Selection","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/toolpermission"},"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.tools.additionalProperties.permission","typeLabel":"object"},"deferred":{"type":"boolean","uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.tools.additionalProperties.deferred","typeLabel":"boolean"}},"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.tools.additionalProperties","typeLabel":"object"},"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties.tools","typeLabel":"object"}},"uniqueKey":"agent_config.compiled_definition.mcp.additionalProperties","typeLabel":"object"},"uniqueKey":"agent_config.compiled_definition.mcp","typeLabel":"object"},"interaction_handlers":{"type":"object","x-go-type-skip-optional-pointer":true,"additionalProperties":{"type":"object","additionalProperties":false,"required":["integration_id"],"properties":{"integration_id":{"type":"string","pattern":"^itg_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.interaction_handlers.additionalProperties.integration_id","typeLabel":"string"}},"uniqueKey":"agent_config.compiled_definition.interaction_handlers.additionalProperties","typeLabel":"object"},"uniqueKey":"agent_config.compiled_definition.interaction_handlers","typeLabel":"object"},"git_credentials":{"type":"object","additionalProperties":false,"description":"Pinned GitHub integration supplying machine Git credentials, optionally limited to repositories and read-only access.","required":["integration","integration_id"],"properties":{"integration":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9-]{0,31}$","description":"Immutable, project-unique integration name used in config keys and qualified tool names.","isRequired":true,"uniqueKey":"agent_config.compiled_definition.git_credentials.integration","typeLabel":"string"},"integration_id":{"type":"string","pattern":"^itg_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.git_credentials.integration_id","typeLabel":"string"},"repository_ids":{"type":"array","x-go-type-skip-optional-pointer":true,"items":{"type":"integer","format":"int64","uniqueKey":"agent_config.compiled_definition.git_credentials.repository_ids.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"agent_config.compiled_definition.git_credentials.repository_ids","typeLabel":"integer\u003cint64>[]"},"read_only":{"type":"boolean","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.git_credentials.read_only","typeLabel":"boolean"}},"uniqueKey":"agent_config.compiled_definition.git_credentials","typeLabel":"object"},"skills":{"type":"array","x-go-type-skip-optional-pointer":true,"items":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","pattern":"^skl_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.skills.items.[INDEX].id","typeLabel":"string"}},"uniqueKey":"agent_config.compiled_definition.skills.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent_config.compiled_definition.skills","typeLabel":"object[]"},"memory_stores":{"type":"array","x-go-type-skip-optional-pointer":true,"items":{"type":"object","additionalProperties":false,"required":["id","access"],"properties":{"id":{"type":"string","pattern":"^mst_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.memory_stores.items.[INDEX].id","typeLabel":"string"},"access":{"type":"string","enum":["read","read_write"],"isRequired":true,"uniqueKey":"agent_config.compiled_definition.memory_stores.items.[INDEX].access","typeLabel":"enum\u003cstring>"}},"uniqueKey":"agent_config.compiled_definition.memory_stores.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent_config.compiled_definition.memory_stores","typeLabel":"object[]"},"subagents":{"type":"object","x-go-type-skip-optional-pointer":true,"additionalProperties":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["self"],"x-enum-varnames":["CompiledSelfSubagentTypeSelf"],"isRequired":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.type","typeLabel":"enum\u003cstring>"},"description":{"type":"string","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.description","typeLabel":"string"},"model":{"type":"object","additionalProperties":false,"properties":{"configured_model_id":{"type":"string","pattern":"^mdl_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.model.configured_model_id","typeLabel":"string"},"context_window_tokens":{"type":"integer","uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.model.context_window_tokens","typeLabel":"integer"},"default_max_output_tokens":{"type":"integer","uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.model.default_max_output_tokens","typeLabel":"integer"},"cache_retention":{"type":"string","description":"Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.","enum":["none","short","long"],"x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.model.cache_retention","typeLabel":"enum\u003cstring>"},"reasoning":{"type":"object","additionalProperties":false,"required":["effort"],"properties":{"effort":{"type":"string","isRequired":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.model.reasoning.effort","typeLabel":"string"}},"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.model.reasoning","typeLabel":"object"}},"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.model","typeLabel":"object"},"instruction_append":{"type":"string","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.instruction_append","typeLabel":"string"},"max_instances":{"type":"integer","uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.max_instances","typeLabel":"integer"},"archive_after_idle_minutes":{"type":"integer","uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0.archive_after_idle_minutes","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","profile_id"],"properties":{"type":{"type":"string","enum":["profile"],"x-enum-varnames":["CompiledProfileSubagentTypeProfile"],"isRequired":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"profile_id":{"type":"string","pattern":"^aprf_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"isRequired":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.profile_id","typeLabel":"string"},"description":{"type":"string","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.description","typeLabel":"string"},"model":{"type":"object","additionalProperties":false,"properties":{"configured_model_id":{"type":"string","pattern":"^mdl_[a-z2-7]{26}$","x-go-type":"publicid.ID","x-go-type-import":{"path":"github.com/omnara-ai/omnara/internal/publicid"},"x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.model.configured_model_id","typeLabel":"string"},"context_window_tokens":{"type":"integer","uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.model.context_window_tokens","typeLabel":"integer"},"default_max_output_tokens":{"type":"integer","uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.model.default_max_output_tokens","typeLabel":"integer"},"cache_retention":{"type":"string","description":"Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.","enum":["none","short","long"],"x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.model.cache_retention","typeLabel":"enum\u003cstring>"},"reasoning":{"type":"object","additionalProperties":false,"required":["effort"],"properties":{"effort":{"type":"string","isRequired":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.model.reasoning.effort","typeLabel":"string"}},"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.model.reasoning","typeLabel":"object"}},"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.model","typeLabel":"object"},"instruction_append":{"type":"string","x-go-type-skip-optional-pointer":true,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.instruction_append","typeLabel":"string"},"max_instances":{"type":"integer","uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.max_instances","typeLabel":"integer"},"archive_after_idle_minutes":{"type":"integer","uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1.archive_after_idle_minutes","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"agent_config.compiled_definition.subagents.additionalProperties","typeLabel":"object"},"uniqueKey":"agent_config.compiled_definition.subagents","typeLabel":"object"},"max_subagents":{"type":"integer","uniqueKey":"agent_config.compiled_definition.max_subagents","typeLabel":"integer"},"max_depth":{"type":"integer","uniqueKey":"agent_config.compiled_definition.max_depth","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"agent_config.compiled_definition","typeLabel":"object"},"source":{"type":"string","description":"Saved source text, exactly as sent.","uniqueKey":"agent_config.source","typeLabel":"string"},"source_format":{"type":"string","enum":["yaml","json"],"uniqueKey":"agent_config.source_format","typeLabel":"enum\u003cstring>"},"instruction_hash":{"type":"string","uniqueKey":"agent_config.instruction_hash","typeLabel":"string"}},"isRequired":true,"uniqueKey":"agent_config","typeLabel":"object"},"machine_bindings":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","project_id","agent_id","machine_id","binding_kind","state","description","cwd","env_overlay","secret_env_overlay","created_at","updated_at"],"properties":{"id":{"type":"string","pattern":"^amb_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].id","typeLabel":"string"},"project_id":{"description":"Project ID (proj_...).","type":"string","pattern":"^proj_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].project_id","typeLabel":"string"},"agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].agent_id","typeLabel":"string"},"machine_id":{"description":"Machine ID (mch_...).","type":"string","pattern":"^mch_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].machine_id","typeLabel":"string"},"binding_kind":{"type":"string","enum":["explicit","pool"],"x-enum-varnames":["AgentMachineBindingKindExplicit","AgentMachineBindingKindPool"],"isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].binding_kind","typeLabel":"enum\u003cstring>"},"state":{"type":"string","enum":["attached","released"],"x-enum-varnames":["AgentMachineBindingStateAttached","AgentMachineBindingStateReleased"],"isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].state","typeLabel":"enum\u003cstring>"},"description":{"type":"string","isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].description","typeLabel":"string"},"cwd":{"type":"string","isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].cwd","typeLabel":"string"},"env_overlay":{"description":"Env overlay applied to processes launched through this binding. For pool bindings it is also applied to the machine environment when the pool machine is provisioned, so the provider_options startup_script and the daemon run with it; connected machines keep their own environment. A null entry removes the key.","type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"machine_bindings.items.[INDEX].env_overlay.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"machine_bindings.items.[INDEX].env_overlay.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"machine_bindings.items.[INDEX].env_overlay.additionalProperties","typeLabel":"string | null"},"isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].env_overlay","typeLabel":"object"},"secret_env_overlay":{"description":"Secret env overlay applied to processes launched through this binding. For pool bindings it is also applied to the machine environment when the pool machine is provisioned, so the provider_options startup_script and the daemon run with it; connected machines keep their own environment. A null entry removes the key.","type":"object","additionalProperties":{"oneOf":[{"type":"string","description":"Secret ID (sec_...).","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"machine_bindings.items.[INDEX].secret_env_overlay.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"machine_bindings.items.[INDEX].secret_env_overlay.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"machine_bindings.items.[INDEX].secret_env_overlay.additionalProperties","typeLabel":"string | null"},"isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].secret_env_overlay","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"machine_bindings.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"machine_bindings.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"machine_bindings","typeLabel":"object[]"},"agent_input":{"type":"object","additionalProperties":false,"required":["id","agent_id","state","delivery_mode","input_kind","queued_at"],"properties":{"id":{"type":"string","pattern":"^ain_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent_input.id","typeLabel":"string"},"agent_id":{"type":"string","pattern":"^agt_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent_input.agent_id","typeLabel":"string"},"state":{"type":"string","enum":["scheduled","received","resolved","canceled"],"description":"scheduled while a content input waits for its scheduled_for time, received once it is waiting for the agent, resolved when the agent has processed it, or canceled.","isRequired":true,"uniqueKey":"agent_input.state","typeLabel":"enum\u003cstring>"},"delivery_mode":{"type":"string","enum":["queued","steering","immediate"],"isRequired":true,"uniqueKey":"agent_input.delivery_mode","typeLabel":"enum\u003cstring>"},"input_kind":{"type":"string","enum":["content","control","interaction_response","config_change"],"x-enum-varnames":["AgentInputKindContent","AgentInputKindControl","AgentInputKindInteractionResponse","AgentInputKindConfigChange"],"isRequired":true,"uniqueKey":"agent_input.input_kind","typeLabel":"enum\u003cstring>"},"queued_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"agent_input.queued_at","typeLabel":"string\u003cdate-time>"},"actor_id":{"type":"string","pattern":"^actr_[a-z2-7]{26}$","description":"Actor this input is attributed to. Absent when the input has no actor attribution.","uniqueKey":"agent_input.actor_id","typeLabel":"string"},"input_idempotency_key":{"type":"string","description":"Idempotency key supplied when this content input was created. Absent for other input kinds.","uniqueKey":"agent_input.input_idempotency_key","typeLabel":"string"},"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":"agent_input.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":"agent_input.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":"agent_input.content_blocks.items.[INDEX].oneOf.0.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"agent_input.content_blocks.items.[INDEX].oneOf.0.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"agent_input.content_blocks.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","artifact_id"],"properties":{"type":{"type":"string","enum":["media_ref"],"isRequired":true,"uniqueKey":"agent_input.content_blocks.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"artifact_id":{"type":"string","pattern":"^art_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"agent_input.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":"agent_input.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":"agent_input.content_blocks.items.[INDEX].oneOf.1.metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"agent_input.content_blocks.items.[INDEX].oneOf.1.metadata","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"agent_input.content_blocks.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"agent_input.content_blocks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent_input.content_blocks","typeLabel":"object[]"},"scheduled_for":{"type":"string","format":"date-time","description":"Time this input was scheduled to join the agent's backlog. Present only for content inputs created with scheduled_for; it stays set after the input is released.","uniqueKey":"agent_input.scheduled_for","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"agent_input","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agent":{"id":"\u003cstring>","org_id":"\u003cstring>","project_id":"\u003cstring>","state":"active","name":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","agent_profile_id":"\u003cstring>","integration_target":{"provider":"\u003cstring>","conversation":{},"display_name":"\u003cstring>","provider_uri":"\u003cstring>"},"current_config_id":"\u003cstring>","model":{"provider_config":"\u003cstring>","name":"\u003cstring>"},"parent_agent_id":"\u003cstring>","subagent_key":"\u003cstring>","activity":{"state":"running","last_activity_at":"2023-11-07T05:31:56Z","open_interactions":{"question_count":1,"permission_request_count":1},"running_processes":{"count":1,"process_ids":["\u003cstring>"]},"working_subagents":{"count":1,"agent_ids":["\u003cstring>"]}},"usage":{"model_calls":1,"tokens":{"input_tokens_total":1,"uncached_input_tokens":1,"cache_read_input_tokens":1,"cache_write_input_tokens":1,"output_tokens_total":1,"reasoning_output_tokens":1},"cost":{"provider_reported_usd":"\u003cstring>","model_calls_with_reported_cost":1}},"archived_at":"2023-11-07T05:31:56Z"},"agent_config":{"id":"\u003cstring>","org_id":"\u003cstring>","project_id":"\u003cstring>","effective_definition_hash":"\u003cstring>","model":{"provider_config":"\u003cstring>","name":"\u003cstring>","provider_model_slug":"\u003cstring>","configured_model_id":"\u003cstring>","current_revision_id":"\u003cstring>","api_format":"openai-responses","api_variant":"\u003cstring>","context_window_tokens":123,"max_output_tokens":123,"default_cache_retention":"none","supports_tools":true,"supports_reasoning":true,"default_reasoning_effort":"\u003cstring>","supported_reasoning_efforts":["\u003cstring>"],"input_modalities":["\u003cstring>"],"output_modalities":["\u003cstring>"],"default_max_output_tokens":123},"created_at":"2023-11-07T05:31:56Z","compiled_definition":{"instruction":"\u003cstring>","model":{"configured_model_id":"\u003cstring>","context_window_tokens":123,"default_max_output_tokens":123,"cache_retention":"none","reasoning":{"effort":"\u003cstring>"}},"version":"\u003cstring>","machine_sources":[{"machine_id":"\u003cstring>","machine_pool_id":"\u003cstring>","max_machines":123,"initial_num_machines":123,"delete_after_idle_minutes":123,"cwd":"\u003cstring>","machine_cpu":123,"machine_memory_mb":123,"env_overlay":{},"secret_env_overlay":{},"machine_provider_options_overlay":{},"description":"\u003cstring>"}],"tools":{},"mcp":{},"interaction_handlers":{},"git_credentials":{"integration":"\u003cstring>","integration_id":"\u003cstring>","repository_ids":[123],"read_only":true},"skills":[{"id":"\u003cstring>"}],"memory_stores":[{"id":"\u003cstring>","access":"read"}],"subagents":{},"max_subagents":123,"max_depth":123},"source":"\u003cstring>","source_format":"yaml","instruction_hash":"\u003cstring>"},"machine_bindings":[{"id":"\u003cstring>","project_id":"\u003cstring>","agent_id":"\u003cstring>","machine_id":"\u003cstring>","binding_kind":"explicit","state":"attached","description":"\u003cstring>","cwd":"\u003cstring>","env_overlay":{},"secret_env_overlay":{},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}],"agent_input":{"id":"\u003cstring>","agent_id":"\u003cstring>","state":"scheduled","delivery_mode":"queued","input_kind":"content","queued_at":"2023-11-07T05:31:56Z","actor_id":"\u003cstring>","input_idempotency_key":"\u003cstring>","content_blocks":[{"type":"text","text":"\u003cstring>","metadata":{}}],"scheduled_for":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4a686cf7-cb27-4f2a-bd81-06d812b9c525":{"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"},"39f26351-d229-4dfc-bd3a-d5e3f9a5c2dc":{"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"},"538d608a-729d-476c-bdf0-3311427a93a4":{"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"},"638bb831-f99a-4216-97cd-88fc02e75f12":{"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"},"cd451e02-1415-4d1b-ae76-30085de6bcab":{"description":"The launch conflicts with current resource state for a reason other than a changed retry body.","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"},"1f21d200-bc93-46f9-8728-eb44f81152fe":{"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"},"e00767af-a145-477c-b7a8-513858cc9bde":{"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"},"95990be2-646e-45b7-8763-269210baa9be":{"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":{"5c7e7630-9840-4955-882f-397a84574e10":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"Omnara personal or organization access token","description":"An opaque Omnara personal or organization bearer token.","scopes":[],"schemeName":"bearerAuth"}},"3611bd56-5848-406a-a467-b811e0be82ed":{"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":"Create agent - Omnara","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T01:58:05.446Z","originalFileLocation":"api-reference/endpoints/agents/create-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=\"Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.\">\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=\"Create agent - Omnara\">\u003cmeta data-mint-head property=\"og:description\" content=\"Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.\">\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/create-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=Create+agent\u0026amp;description=Launch+from+a+pinned+config%2C+optionally+adding+agent-local+integration+tools%2C+subscriptions+and+interaction+handlers+and+admitting+an+attributed+initial+text+in\u0026amp;theme=73ce439f50e9a6c9eef25f3f\u0026amp;signature=1921dc045aa6afae44d336079905bb805e3438414bbb92f2dc94f77f49604429\">\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=\"Create agent - Omnara\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://omnara.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Create+agent\u0026amp;description=Launch+from+a+pinned+config%2C+optionally+adding+agent-local+integration+tools%2C+subscriptions+and+interaction+handlers+and+admitting+an+attributed+initial+text+in\u0026amp;theme=73ce439f50e9a6c9eef25f3f\u0026amp;signature=1921dc045aa6afae44d336079905bb805e3438414bbb92f2dc94f77f49604429\">\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/create-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/create-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/create-agent#webpage\",\"url\":\"https://docs.omnara.com/api-reference/endpoints/agents/create-agent\",\"name\":\"Create agent\",\"description\":\"Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.\",\"dateModified\":\"2026-11-20T01:58:05.446Z\",\"isPartOf\":{\"@id\":\"https://docs.omnara.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.omnara.com/api-reference/endpoints/agents/create-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.omnara.com/api-reference/endpoints/agents/create-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\":\"Create agent\",\"item\":\"https://docs.omnara.com/api-reference/endpoints/agents/create-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.omnara.com/api-reference/endpoints/agents/create-agent#apireference\",\"headline\":\"Create agent\",\"name\":\"Create agent\",\"description\":\"Launch from a pinned config, optionally adding agent-local integration tools, subscriptions and interaction handlers and admitting an attributed initial text input in the same transaction. Adding integration capabilities requires project management permission; launching an existing config requires agent operate permission. Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied and integration references are not resolved again.\",\"url\":\"https://docs.omnara.com/api-reference/endpoints/agents/create-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.omnara.com/api-reference/endpoints/agents/create-agent#webpage\"},\"dateModified\":\"2026-11-20T01:58:05.446Z\",\"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/create-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","description":"Lists the project's agents with their current activity, newest first by default. Archived agents and subagents are excluded unless requested. Pass `activity_state` to keep only agents in that activity.","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","description":"Returns one agent's state, model, profile, current config ID, activity (running, waiting_on_interaction, idle, or archived), attached machines, and MCP connection states. The conversation isn't included.","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","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","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":"Create 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"]}