addedInput schema / $defs / AgentConfigDefinition / properties / git_credentials / description
Added value: +"GitHub integration whose credentials the agent's machine processes use for Git and gh. Not passed to subagents."
addedInput schema / $defs / AgentConfigDefinition / properties / instruction / description
Added value: +"System prompt: the agent's job, boundaries, and when to ask a human."
addedInput schema / $defs / AgentConfigDefinition / properties / interaction_handlers / description
Added value: +"Integrations that show the agent's questions and approvals outside the dashboard, keyed by integration name. Not passed to subagents."
addedInput schema / $defs / AgentConfigDefinition / properties / machine_sources / description
Added value: +"BYO machines and machine pools the agent can run commands on."
addedInput schema / $defs / AgentConfigDefinition / properties / max_depth / description
Added value: +"Maximum subagent nesting depth. Defaults to 1, so subagents cannot spawn their own."
addedInput schema / $defs / AgentConfigDefinition / properties / max_subagents / description
Added value: +"Maximum active subagents across all keys. Unset means no overall limit."
addedInput schema / $defs / AgentConfigDefinition / properties / mcp / description
Added value: +"MCP servers the agent can use, keyed by server name. Their tools are named mcp__{server}__{tool}."
addedInput schema / $defs / AgentConfigDefinition / properties / memory_stores / description
Added value: +"Project memory stores the agent can access at /memory/{name}/."
addedInput schema / $defs / AgentConfigDefinition / properties / model / description
Added value: +"Model the agent runs on, with optional overrides of its defaults."
addedInput schema / $defs / AgentConfigDefinition / properties / skills / description
Added value: +"Skills the agent can load. The project must own or be granted each one."
addedInput schema / $defs / AgentConfigDefinition / properties / subagents / description
Added value: +"Subagents the agent can spawn, keyed by name."
addedInput schema / $defs / AgentConfigDefinition / properties / tools / description
Added value: +"Built-in and custom tools, keyed by tool name. {} enables a tool with its defaults."
addedInput schema / $defs / AgentConfigDefinition / properties / version / description
Added value: +"Config format version. Optional; set it to pin the format."
removedInput schema / $defs / AgentConfigDefinition / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionGitCredentials / properties / integration / description
Added value: +"Name of a GitHub integration in the project."
removedInput schema / $defs / AgentConfigDefinitionGitCredentials / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionInteractionHandler / x-go-type
Removed value: -"agentconfig.AgentConfigIntegrationCapabilitySource"
removedInput schema / $defs / AgentConfigDefinitionInteractionHandler / x-go-type-import
Removed value: -{
- "path": "github.com/omnara-ai/omnara/internal/agentconfig"
-}
removedInput schema / $defs / AgentConfigDefinitionInteractionHandlers / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMCPAuth / properties / region / description
Added value: +"AWS region to sign for. Required for sigv4 only."
addedInput schema / $defs / AgentConfigDefinitionMCPAuth / properties / secret_id / description
Added value: +"Secret holding the credential: generic for bearer, oauth_token_set for oauth, aws_credentials for sigv4."
addedInput schema / $defs / AgentConfigDefinitionMCPAuth / properties / service / description
Added value: +"AWS service to sign for, such as aws-mcp. Required for sigv4 only."
addedInput schema / $defs / AgentConfigDefinitionMCPAuth / properties / type / description
Added value: +"bearer sends a static token, oauth uses tokens from Omnara's MCP OAuth flow, and sigv4 signs requests with AWS SigV4."
removedInput schema / $defs / AgentConfigDefinitionMCPAuth / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / auth / description
Added value: +"How to authenticate to the server. Omit if it needs none."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / default_enabled / description
Added value: +"Whether tools are enabled unless overridden in tools. Defaults to true."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / deferred / description
Added value: +"Keep the server's tools out of context until tool_search loads them. Defaults to false."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / permission / description
Added value: +"Default permission for the server's tools. Defaults to always_ask."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / tools / description
Added value: +"Per-tool overrides, keyed by the tool's name on the server."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / url / description
Added value: +"HTTPS URL of the server's MCP endpoint."
removedInput schema / $defs / AgentConfigDefinitionMCPServer / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionMCPServers / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMCPTool / properties / deferred / description
Added value: +"Overrides the server's deferred setting. Null inherits it."
addedInput schema / $defs / AgentConfigDefinitionMCPTool / properties / enabled / description
Added value: +"Enables or hides the tool. Null follows the server's default_enabled."
addedInput schema / $defs / AgentConfigDefinitionMCPTool / properties / permission / description
Added value: +"Overrides the server's permission for this tool."
removedInput schema / $defs / AgentConfigDefinitionMCPTool / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / cwd / description
Added value: +"Working directory for the agent's processes. Overrides the machine or pool default."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / delete_after_idle_minutes / description
Added value: +"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / description / description
Added value: +"Describes this source to the agent."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / env_overlay / description
Added value: +"Environment variables for the agent's processes. A null value removes an inherited variable."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / initial_num_machines / description
Added value: +"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_cpu / description
Added value: +"Pools only. vCPUs for new machines, within pool and project limits."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_memory_mb / description
Added value: +"Pools only. Memory in MB for new machines, within pool and project limits."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_name / description
Added value: +"Name of a BYO machine granted to the project. Set this or machine_pool_name."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_pool_name / description
Added value: +"Name of a machine pool granted to the project. Set this or machine_name."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_provider_options_overlay / description
Added value: +"Pools only. Provider options applied over the pool and grant options."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / max_machines / description
Added value: +"Pools only. Most machines the agent can hold from this pool. Defaults to 1."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / secret_env_overlay / description
Added value: +"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable."
removedInput schema / $defs / AgentConfigDefinitionMachineSource / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionMachineSources / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMemoryStore / properties / access / description
Added value: +"read, or read_write if the store also allows agent writes."
addedInput schema / $defs / AgentConfigDefinitionMemoryStore / properties / name / description
Added value: +"Name of a memory store in the project."
removedInput schema / $defs / AgentConfigDefinitionMemoryStore / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionMemoryStores / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionModel / properties / cache_retention / description
Added value: +"Prompt caching: none, short (provider default), or long (extended where available). Unset uses the model's default."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / default_max_output_tokens / description
Added value: +"Default output allowance per request. Overrides the model's default; max_output_tokens is the cap."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / name / description
Added value: +"Configured model name under provider_config."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / provider_config / description
Added value: +"Name of the organization's model provider."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / reasoning / description
Added value: +"Reasoning effort, such as low, medium, or high, for models that support it."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / reasoning / properties / effort / description
Added value: +"Reasoning effort, such as low, medium, or high."
removedInput schema / $defs / AgentConfigDefinitionModel / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionSkills / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionSubagent / if / properties / type / description
Added value: +"Applies when type is profile."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / archive_after_idle_minutes / description
Added value: +"Archive these subagents after this many idle minutes. Unset never archives them for being idle."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / description / description
Added value: +"Tells the model when to spawn this subagent."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / instruction / description
Added value: +"Changes to the subagent's instruction."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / max_instances / description
Added value: +"Maximum active subagents from this key. Unset means no per-key limit."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / model / description
Added value: +"Model overrides. Omit provider_config and name to keep the base model."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / profile / description
Added value: +"Agent profile to launch from. Required when type is profile."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / type / description
Added value: +"profile launches from a profile's current config; self copies this agent's config."
removedInput schema / $defs / AgentConfigDefinitionSubagent / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionSubagentInstruction / properties / append / description
Added value: +"Text appended to the base instruction."
removedInput schema / $defs / AgentConfigDefinitionSubagentInstruction / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / cache_retention / description
Added value: +"Overrides the base model's prompt caching."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / default_max_output_tokens / description
Added value: +"Overrides the base model's default output allowance."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / name / description
Added value: +"Configured model name. Set with provider_config to switch models."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / provider_config / description
Added value: +"Model provider name. Set with name to switch models."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / reasoning / description
Added value: +"Overrides the base model's reasoning effort."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / reasoning / properties / effort / description
Added value: +"Reasoning effort, such as low, medium, or high."
removedInput schema / $defs / AgentConfigDefinitionSubagentModel / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionSubagents / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionTool / if / properties / type / description
Added value: +"Applies when type is custom."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / deferred / description
Added value: +"Keep the tool out of context until tool_search loads it. Defaults to false."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / description / description
Added value: +"Custom tools only. Tells the model what the tool does."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / enabled / description
Added value: +"Set to false to disable the tool, including default tools."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / input_schema / description
Added value: +"Custom tools only. JSON Schema for the tool's arguments."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / permission / description
Added value: +"Overrides the tool's default permission. GET /tool-catalog lists defaults and modes."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / type / description
Added value: +"built_in for an Omnara tool, custom for a tool your system runs."
removedInput schema / $defs / AgentConfigDefinitionTool / x-go-type
Removed value: -"agentconfig.AgentConfigToolSource"
removedInput schema / $defs / AgentConfigDefinitionTool / x-go-type-import
Removed value: -{
- "path": "github.com/omnara-ai/omnara/internal/agentconfig"
-}
addedInput schema / $defs / AgentConfigDefinitionToolInputSchema / properties / properties / description
Added value: +"Arguments, keyed by name, as JSON Schemas."
addedInput schema / $defs / AgentConfigDefinitionToolInputSchema / properties / required / description
Added value: +"Names of required arguments."
addedInput schema / $defs / AgentConfigDefinitionToolInputSchema / properties / type / description
Added value: +"Root type of the argument schema."
removedInput schema / $defs / AgentConfigDefinitionToolInputSchema / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionToolPermission / properties / mode / description
Added value: +"always_allow, always_ask (wait for human approval), or always_deny."
addedInput schema / $defs / AgentConfigDefinitionToolPermission / properties / parameters / description
Added value: +"Mode-specific settings. Current modes take none."
removedInput schema / $defs / AgentConfigDefinitionToolPermission / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionTools / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigSourceInput / x-go-type
Removed value: -"json.RawMessage"
changedInput schema / $defs / ContentBlockMetadata / description
Previous value: -"Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior."New value: +"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."
removedInput schema / $defs / ContentBlockMetadata / x-go-type
Removed value: -"resourcemeta.Metadata"
removedInput schema / $defs / ContentBlockMetadata / x-go-type-import
Removed value: -{
- "path": "github.com/omnara-ai/omnara/internal/resourcemeta"
-}
removedInput schema / $defs / ContentBlockMetadata / x-go-type-skip-optional-pointer
Removed value: -true
addedInput schema / $defs / ExternalActorParams / properties / display_name / description
Added value: +"Display name for the actor."
addedInput schema / $defs / ExternalActorParams / properties / metadata / description
Added value: +"Key-value attributes for the actor. Replaces stored metadata when sent."
addedInput schema / $defs / ExternalActorParams / properties / provider_tenant_id / description
Added value: +"Your tenant or namespace for the user. With provider_user_id, identifies the actor."
addedInput schema / $defs / ExternalActorParams / properties / provider_user_id / description
Added value: +"The user's ID in your system. With provider_tenant_id, identifies the actor."
removedInput schema / $defs / IntegrationConversation / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / IntegrationConversation / x-go-type-skip-optional-pointer
Removed value: -true
addedInput schema / $defs / IntegrationSubscriptionAttachment / properties / conversation / description
Added value: +"Provider conversation to subscribe the agent to, such as a Slack channel."
addedInput schema / $defs / IntegrationSubscriptionAttachment / properties / integration_id / description
Added value: +"Integration that forwards the conversation's activity."
changedInput schema / $defs / Metadata / description
Previous value: -"Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters."New value: +"Arbitrary key-value labels stored with the resource."
removedInput schema / $defs / Metadata / x-go-type
Removed value: -"resourcemeta.Metadata"
removedInput schema / $defs / Metadata / x-go-type-import
Removed value: -{
- "path": "github.com/omnara-ai/omnara/internal/resourcemeta"
-}
removedInput schema / $defs / Metadata / x-go-type-skip-optional-pointer
Removed value: -true
addedInput schema / $defs / TextContentBlock / properties / metadata / description
Added value: +"Key-value metadata. omnara_ keys are reserved."
addedInput schema / $defs / TextContentBlock / properties / text / description
Added value: +"Block text: the message in agent inputs, or text from the model or a tool in events."
addedInput schema / $defs / TextContentBlock / properties / type / description
Added value: +"text: a plain-text block."
addedInput schema / properties / config_source / properties / source / description
Added value: +"Config to compile: YAML or JSON text, or a JSON object when source_format is json."
changedInput schema / properties / config_source / properties / source_format / description
Previous value: -"Format of source: yaml or json."New value: +"Encoding of source."
addedInput schema / properties / initial_input / properties / content_blocks / description
Added value: +"Text blocks that make up the agent's first message."
removedInput schema / properties / name / x-omnara-unicode-normalization
Removed value: -"NFC"
addedInput schema / properties / profile / description
Added value: +"Agent profile to launch. Runs its current config unless config or config_source is set."
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "ActorID": {
+ "pattern": "^actr_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "Agent": {
+ "properties": {
+ "activity": {
+ "$ref": "#/$defs/AgentActivity",
+ "description": "Current activity, present on list and get responses."
+ },
+ "agent_profile_id": {
+ "$ref": "#/$defs/AgentProfileID"
+ },
+ "archived_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "created_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "current_config_id": {
+ "$ref": "#/$defs/AgentConfigID"
+ },
+ "id": {
+ "$ref": "#/$defs/AgentID"
+ },
+ "integration_target": {
+ "$ref": "#/$defs/IntegrationTarget",
+ "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."
+ },
+ "model": {
+ "$ref": "#/$defs/AgentModel"
+ },
+ "name": {
+ "$ref": "#/$defs/AgentName"
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID"
+ },
+ "parent_agent_id": {
+ "$ref": "#/$defs/AgentID",
+ "description": "Set when this agent is a subagent spawned by another agent."
+ },
+ "project_id": {
+ "$ref": "#/$defs/ProjectID"
+ },
+ "state": {
+ "enum": [
+ "active",
+ "archived"
+ ],
+ "type": "string"
+ },
+ "subagent_key": {
+ "description": "The `subagents` key this agent was spawned from.",
+ "type": "string"
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "usage": {
+ "$ref": "#/$defs/UsageTotals",
+ "description": "All-time model usage by the agent and its subagents. Present when the list was requested with `include_usage`."
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "project_id",
+ "state",
+ "name",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "AgentActivity": {
+ "properties": {
+ "last_activity_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the agent's latest event was recorded, or its creation time before any event."
+ },
+ "open_interactions": {
+ "$ref": "#/$defs/AgentOpenInteractions"
+ },
+ "running_processes": {
+ "$ref": "#/$defs/AgentRunningProcesses"
+ },
+ "state": {
+ "$ref": "#/$defs/AgentActivityState"
+ },
+ "working_subagents": {
+ "$ref": "#/$defs/AgentWorkingSubagents"
+ }
+ },
+ "required": [
+ "state",
+ "last_activity_at",
+ "open_interactions",
+ "running_processes",
+ "working_subagents"
+ ],
+ "type": "object"
+ },
+ "AgentActivityState": {
+ "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.",
+ "enum": [
+ "running",
+ "idle",
+ "waiting_on_interaction",
+ "archived"
+ ],
+ "type": "string"
+ },
+ "AgentConfig": {
+ "properties": {
+ "compiled_definition": {
+ "$ref": "#/$defs/CompiledAgentConfig"
+ },
+ "created_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "effective_definition_hash": {
+ "type": "string"
+ },
+ "id": {
+ "$ref": "#/$defs/AgentConfigID"
+ },
+ "instruction_hash": {
+ "type": "string"
+ },
+ "model": {
+ "$ref": "#/$defs/AgentConfigModel"
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID"
+ },
+ "project_id": {
+ "$ref": "#/$defs/ProjectID"
+ },
+ "source": {
+ "description": "Saved source text, exactly as sent.",
+ "type": "string"
+ },
+ "source_format": {
+ "enum": [
+ "yaml",
+ "json"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "project_id",
+ "effective_definition_hash",
+ "model",
+ "created_at",
+ "compiled_definition"
+ ],
+ "type": "object"
+ },
+ "AgentConfigID": {
+ "description": "Agent config ID (acfg_...).",
+ "pattern": "^acfg_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentConfigModel": {
+ "properties": {
+ "api_format": {
+ "$ref": "#/$defs/ModelAPIFormat"
+ },
+ "api_variant": {
+ "$ref": "#/$defs/ModelProviderAPIVariantResponse"
+ },
+ "configured_model_id": {
+ "$ref": "#/$defs/ConfiguredModelID"
+ },
+ "context_window_tokens": {
+ "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.",
+ "type": "integer"
+ },
+ "current_revision_id": {
+ "$ref": "#/$defs/ConfiguredModelRevisionID"
+ },
+ "default_cache_retention": {
+ "$ref": "#/$defs/ModelCacheRetention"
+ },
+ "default_max_output_tokens": {
+ "description": "Effective per-request output-token cap sent to the provider.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "default_reasoning_effort": {
+ "type": "string"
+ },
+ "input_modalities": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "max_output_tokens": {
+ "description": "Effective known output-token ceiling after model and project settings, or null when unknown.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "name": {
+ "$ref": "#/$defs/ResourceName",
+ "description": "Configured model name selected by this agent config, rendered from the current configured model record."
+ },
+ "output_modalities": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "provider_config": {
+ "$ref": "#/$defs/ResourceName"
+ },
+ "provider_model_slug": {
+ "description": "Exact provider model slug on the configured model's current revision at response time.",
+ "type": "string"
+ },
+ "supported_reasoning_efforts": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "supports_reasoning": {
+ "type": "boolean"
+ },
+ "supports_tools": {
+ "type": "boolean"
+ }
+ },
+ "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"
+ ],
+ "type": "object"
+ },
+ "AgentID": {
+ "pattern": "^agt_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentInput": {
+ "properties": {
+ "actor_id": {
+ "$ref": "#/$defs/ActorID",
+ "description": "Actor this input is attributed to. Absent when the input has no actor attribution."
+ },
+ "agent_id": {
+ "$ref": "#/$defs/AgentID"
+ },
+ "content_blocks": {
+ "items": {
+ "$ref": "#/$defs/AgentInputContentBlock"
+ },
+ "type": "array"
+ },
+ "delivery_mode": {
+ "$ref": "#/$defs/AgentInputDeliveryMode"
+ },
+ "id": {
+ "$ref": "#/$defs/AgentInputID"
+ },
+ "input_idempotency_key": {
+ "description": "Idempotency key supplied when this content input was created. Absent for other input kinds.",
+ "type": "string"
+ },
+ "input_kind": {
+ "$ref": "#/$defs/AgentInputKind"
+ },
+ "queued_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "scheduled_for": {
+ "$ref": "#/$defs/Timestamp",
+ "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."
+ },
+ "state": {
+ "$ref": "#/$defs/AgentInputState"
+ }
+ },
+ "required": [
+ "id",
+ "agent_id",
+ "state",
+ "delivery_mode",
+ "input_kind",
+ "queued_at"
+ ],
+ "type": "object"
+ },
+ "AgentInputContentBlock": {
+ "discriminator": {
+ "mapping": {
+ "media_ref": "#/$defs/MediaRefContentBlock",
+ "text": "#/$defs/TextContentBlock"
+ },
+ "propertyName": "type"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/$defs/TextContentBlock"
+ },
+ {
+ "$ref": "#/$defs/MediaRefContentBlock"
+ }
+ ]
+ },
+ "AgentInputDeliveryMode": {
+ "enum": [
+ "queued",
+ "steering",
+ "immediate"
+ ],
+ "type": "string"
+ },
+ "AgentInputID": {
+ "pattern": "^ain_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentInputKind": {
+ "enum": [
+ "content",
+ "control",
+ "interaction_response",
+ "config_change"
+ ],
+ "type": "string"
+ },
+ "AgentInputState": {
+ "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.",
+ "enum": [
+ "scheduled",
+ "received",
+ "resolved",
+ "canceled"
+ ],
+ "type": "string"
+ },
+ "AgentMachineBinding": {
+ "properties": {
+ "agent_id": {
+ "$ref": "#/$defs/AgentID"
+ },
+ "binding_kind": {
+ "$ref": "#/$defs/AgentMachineBindingKind"
+ },
+ "created_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "cwd": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "env_overlay": {
+ "additionalProperties": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "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"
+ },
+ "id": {
+ "$ref": "#/$defs/AgentMachineBindingID"
+ },
+ "machine_id": {
+ "$ref": "#/$defs/MachineID"
+ },
+ "project_id": {
+ "$ref": "#/$defs/ProjectID"
+ },
+ "secret_env_overlay": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/SecretID"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "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"
+ },
+ "state": {
+ "$ref": "#/$defs/AgentMachineBindingState"
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp"
+ }
+ },
+ "required": [
+ "id",
+ "project_id",
+ "agent_id",
+ "machine_id",
+ "binding_kind",
+ "state",
+ "description",
+ "cwd",
+ "env_overlay",
+ "secret_env_overlay",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "AgentMachineBindingID": {
+ "pattern": "^amb_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentMachineBindingKind": {
+ "enum": [
+ "explicit",
+ "pool"
+ ],
+ "type": "string"
+ },
+ "AgentMachineBindingState": {
+ "enum": [
+ "attached",
+ "released"
+ ],
+ "type": "string"
+ },
+ "AgentModel": {
+ "properties": {
+ "name": {
+ "$ref": "#/$defs/ResourceName"
+ },
+ "provider_config": {
+ "$ref": "#/$defs/ResourceName"
+ }
+ },
+ "required": [
+ "provider_config",
+ "name"
+ ],
+ "type": "object"
+ },
+ "AgentName": {
+ "description": "Agent name. Empty means the agent is unnamed; non-empty values use the ResourceName policy.",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "AgentOpenInteractions": {
+ "description": "The agent's open questions and permission requests.",
+ "properties": {
+ "permission_request_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "question_count": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "question_count",
+ "permission_request_count"
+ ],
+ "type": "object"
+ },
+ "AgentProfileID": {
+ "pattern": "^aprf_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentRunningProcesses": {
+ "description": "Commands the agent left running that will send it a message when they end. process_ids lists the first 20, oldest first.",
+ "properties": {
+ "count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "process_ids": {
+ "items": {
+ "$ref": "#/$defs/ProcessID"
+ },
+ "maxItems": 20,
+ "type": "array"
+ }
+ },
+ "required": [
+ "count",
+ "process_ids"
+ ],
+ "type": "object"
+ },
+ "AgentWorkingSubagents": {
+ "description": "Active subagents that are still working, including through their own subagents or processes. agent_ids lists the first 20, oldest first.",
+ "properties": {
+ "agent_ids": {
+ "items": {
+ "$ref": "#/$defs/AgentID"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "count": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "count",
+ "agent_ids"
+ ],
+ "type": "object"
+ },
+ "ArtifactID": {
+ "pattern": "^art_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "CompiledAgentConfig": {
+ "description": "Read-only saved compiled configuration, including default tools and derived subagent overrides.",
+ "properties": {
+ "git_credentials": {
+ "$ref": "#/$defs/CompiledGitCredentials"
+ },
+ "instruction": {
+ "type": "string"
+ },
+ "interaction_handlers": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledIntegrationCapability"
+ },
+ "type": "object"
+ },
+ "machine_sources": {
+ "items": {
+ "$ref": "#/$defs/CompiledMachineSource"
+ },
+ "type": "array"
+ },
+ "max_depth": {
+ "type": "integer"
+ },
+ "max_subagents": {
+ "type": "integer"
+ },
+ "mcp": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledMCPServer"
+ },
+ "type": "object"
+ },
+ "memory_stores": {
+ "items": {
+ "$ref": "#/$defs/CompiledMemoryStore"
+ },
+ "type": "array"
+ },
+ "model": {
+ "$ref": "#/$defs/CompiledAgentModel"
+ },
+ "skills": {
+ "items": {
+ "$ref": "#/$defs/CompiledSkill"
+ },
+ "type": "array"
+ },
+ "subagents": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledSubagent"
+ },
+ "type": "object"
+ },
+ "tools": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledTool"
+ },
+ "type": "object"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "instruction",
+ "model"
+ ],
+ "type": "object"
+ },
+ "CompiledAgentModel": {
+ "properties": {
+ "cache_retention": {
+ "$ref": "#/$defs/ModelCacheRetention"
+ },
+ "configured_model_id": {
+ "$ref": "#/$defs/ConfiguredModelID"
+ },
+ "context_window_tokens": {
+ "type": "integer"
+ },
+ "default_max_output_tokens": {
+ "type": "integer"
+ },
+ "reasoning": {
+ "$ref": "#/$defs/CompiledModelReasoning"
+ }
+ },
+ "required": [
+ "configured_model_id"
+ ],
+ "type": "object"
+ },
+ "CompiledGitCredentials": {
+ "description": "Pinned GitHub integration supplying machine Git credentials, optionally limited to repositories and read-only access.",
+ "properties": {
+ "integration": {
+ "$ref": "#/$defs/IntegrationName"
+ },
+ "integration_id": {
+ "$ref": "#/$defs/IntegrationID"
+ },
+ "read_only": {
+ "type": "boolean"
+ },
+ "repository_ids": {
+ "items": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "integration",
+ "integration_id"
+ ],
+ "type": "object"
+ },
+ "CompiledIntegrationCapability": {
+ "properties": {
+ "integration_id": {
+ "$ref": "#/$defs/IntegrationID"
+ }
+ },
+ "required": [
+ "integration_id"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPAuth": {
+ "discriminator": {
+ "mapping": {
+ "bearer": "#/$defs/CompiledMCPAuthBearer",
+ "oauth": "#/$defs/CompiledMCPAuthOAuth",
+ "sigv4": "#/$defs/CompiledMCPAuthSigV4"
+ },
+ "propertyName": "type"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/$defs/CompiledMCPAuthBearer"
+ },
+ {
+ "$ref": "#/$defs/CompiledMCPAuthOAuth"
+ },
+ {
+ "$ref": "#/$defs/CompiledMCPAuthSigV4"
+ }
+ ]
+ },
+ "CompiledMCPAuthBearer": {
+ "properties": {
+ "secret_id": {
+ "$ref": "#/$defs/SecretID"
+ },
+ "type": {
+ "enum": [
+ "bearer"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "secret_id"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPAuthOAuth": {
+ "properties": {
+ "secret_id": {
+ "$ref": "#/$defs/SecretID"
+ },
+ "type": {
+ "enum": [
+ "oauth"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "secret_id"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPAuthSigV4": {
+ "properties": {
+ "region": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "secret_id": {
+ "$ref": "#/$defs/SecretID"
+ },
+ "service": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "sigv4"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "secret_id",
+ "service",
+ "region"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPServer": {
+ "properties": {
+ "auth": {
+ "$ref": "#/$defs/CompiledMCPAuth"
+ },
+ "default_enabled": {
+ "type": "boolean"
+ },
+ "deferred": {
+ "type": "boolean"
+ },
+ "permission": {
+ "$ref": "#/$defs/ToolPermissionSelection"
+ },
+ "tools": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledMCPTool"
+ },
+ "type": "object"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "default_enabled",
+ "permission"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPTool": {
+ "properties": {
+ "deferred": {
+ "type": "boolean"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "permission": {
+ "$ref": "#/$defs/ToolPermissionSelection"
+ }
+ },
+ "type": "object"
+ },
+ "CompiledMachineSource": {
+ "properties": {
+ "cwd": {
+ "type": "string"
+ },
+ "delete_after_idle_minutes": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "env_overlay": {
+ "additionalProperties": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "initial_num_machines": {
+ "type": "integer"
+ },
+ "machine_cpu": {
+ "type": "integer"
+ },
+ "machine_id": {
+ "$ref": "#/$defs/MachineID"
+ },
+ "machine_memory_mb": {
+ "type": "integer"
+ },
+ "machine_pool_id": {
+ "$ref": "#/$defs/MachinePoolID"
+ },
+ "machine_provider_options_overlay": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "max_machines": {
+ "type": "integer"
+ },
+ "secret_env_overlay": {
+ "additionalProperties": {
+ "oneOf": [
+ {
+ "$ref": "#/$defs/SecretID"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "CompiledMemoryStore": {
+ "properties": {
+ "access": {
+ "$ref": "#/$defs/MemoryStoreAccess"
+ },
+ "id": {
+ "$ref": "#/$defs/MemoryStoreID"
+ }
+ },
+ "required": [
+ "id",
+ "access"
+ ],
+ "type": "object"
+ },
+ "CompiledModelReasoning": {
+ "properties": {
+ "effort": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "effort"
+ ],
+ "type": "object"
+ },
+ "CompiledProfileSubagent": {
+ "properties": {
+ "archive_after_idle_minutes": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "instruction_append": {
+ "type": "string"
+ },
+ "max_instances": {
+ "type": "integer"
+ },
+ "model": {
+ "$ref": "#/$defs/CompiledSubagentModel"
+ },
+ "profile_id": {
+ "$ref": "#/$defs/AgentProfileID"
+ },
+ "type": {
+ "enum": [
+ "profile"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "profile_id"
+ ],
+ "type": "object"
+ },
+ "CompiledSelfSubagent": {
+ "properties": {
+ "archive_after_idle_minutes": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "instruction_append": {
+ "type": "string"
+ },
+ "max_instances": {
+ "type": "integer"
+ },
+ "model": {
+ "$ref": "#/$defs/CompiledSubagentModel"
+ },
+ "type": {
+ "enum": [
+ "self"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "CompiledSkill": {
+ "properties": {
+ "id": {
+ "$ref": "#/$defs/SkillID"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ "CompiledSubagent": {
+ "discriminator": {
+ "mapping": {
+ "profile": "#/$defs/CompiledProfileSubagent",
+ "self": "#/$defs/CompiledSelfSubagent"
+ },
+ "propertyName": "type"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/$defs/CompiledSelfSubagent"
+ },
+ {
+ "$ref": "#/$defs/CompiledProfileSubagent"
+ }
+ ]
+ },
+ "CompiledSubagentModel": {
+ "properties": {
+ "cache_retention": {
+ "$ref": "#/$defs/ModelCacheRetention"
+ },
+ "configured_model_id": {
+ "$ref": "#/$defs/ConfiguredModelID"
+ },
+ "context_window_tokens": {
+ "type": "integer"
+ },
+ "default_max_output_tokens": {
+ "type": "integer"
+ },
+ "reasoning": {
+ "$ref": "#/$defs/CompiledModelReasoning"
+ }
+ },
+ "type": "object"
+ },
+ "CompiledTool": {
+ "properties": {
+ "deferred": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "input_schema": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "integration_id": {
+ "$ref": "#/$defs/IntegrationID"
+ },
+ "permission": {
+ "$ref": "#/$defs/ToolPermissionSelection"
+ },
+ "type": {
+ "enum": [
+ "built_in",
+ "custom"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "enabled",
+ "permission"
+ ],
+ "type": "object"
+ },
+ "ConfiguredModelID": {
+ "pattern": "^mdl_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ConfiguredModelRevisionID": {
+ "pattern": "^mrev_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ContentBlockMetadata": {
+ "additionalProperties": {
+ "maxLength": 512,
+ "type": "string"
+ },
+ "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.",
+ "maxProperties": 16,
+ "propertyNames": {
+ "maxLength": 64,
+ "minLength": 1
+ },
+ "type": "object"
+ },
+ "IntegrationConversation": {
+ "additionalProperties": 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.",
+ "type": "object"
+ },
+ "IntegrationID": {
+ "pattern": "^itg_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "IntegrationName": {
+ "description": "Immutable, project-unique integration name used in config keys and qualified tool names.",
+ "pattern": "^[a-zA-Z][a-zA-Z0-9-]{0,31}$",
+ "type": "string"
+ },
+ "IntegrationTarget": {
+ "properties": {
+ "conversation": {
+ "$ref": "#/$defs/IntegrationConversation"
+ },
+ "display_name": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "provider_uri": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "provider",
+ "conversation",
+ "display_name"
+ ],
+ "type": "object"
+ },
+ "MachineID": {
+ "description": "Machine ID (mch_...).",
+ "pattern": "^mch_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "MachinePoolID": {
+ "description": "Machine pool ID (mpo_...).",
+ "pattern": "^mpo_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "MediaRefContentBlock": {
+ "properties": {
+ "artifact_id": {
+ "$ref": "#/$defs/ArtifactID"
+ },
+ "exclude_from_model_context": {
+ "description": "Whether the referenced artifact is excluded from later model context.",
+ "type": "boolean"
+ },
+ "metadata": {
+ "$ref": "#/$defs/ContentBlockMetadata"
+ },
+ "type": {
+ "enum": [
+ "media_ref"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "artifact_id"
+ ],
+ "type": "object"
+ },
+ "MemoryStoreAccess": {
+ "enum": [
+ "read",
+ "read_write"
+ ],
+ "type": "string"
+ },
+ "MemoryStoreID": {
+ "pattern": "^mst_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ModelAPIFormat": {
+ "description": "Wire protocol the model endpoint speaks.",
+ "enum": [
+ "openai-responses",
+ "openai-chat-completions",
+ "anthropic-messages"
+ ],
+ "type": "string"
+ },
+ "ModelCacheRetention": {
+ "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"
+ ],
+ "type": "string"
+ },
+ "ModelProviderAPIVariantResponse": {
+ "type": "string"
+ },
+ "OrganizationID": {
+ "pattern": "^org_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProcessID": {
+ "pattern": "^prc_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectID": {
+ "description": "Project ID (proj_...).",
+ "pattern": "^proj_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ResourceName": {
+ "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "SecretID": {
+ "description": "Secret ID (sec_...).",
+ "pattern": "^sec_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "SkillID": {
+ "pattern": "^skl_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "TextContentBlock": {
+ "properties": {
+ "metadata": {
+ "$ref": "#/$defs/ContentBlockMetadata",
+ "description": "Key-value metadata. omnara_ keys are reserved."
+ },
+ "text": {
+ "description": "Block text: the message in agent inputs, or text from the model or a tool in events.",
+ "type": "string"
+ },
+ "type": {
+ "description": "text: a plain-text block.",
+ "enum": [
+ "text"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "ToolPermissionSelection": {
+ "properties": {
+ "mode": {
+ "description": "Permission mode applied by default.",
+ "type": "string"
+ },
+ "parameters": {
+ "additionalProperties": true,
+ "description": "Parameters for the default mode.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "parameters"
+ ],
+ "type": "object"
+ },
+ "UsageCostTotals": {
+ "properties": {
+ "model_calls_with_reported_cost": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "provider_reported_usd": {
+ "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]+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "provider_reported_usd",
+ "model_calls_with_reported_cost"
+ ],
+ "type": "object"
+ },
+ "UsageTokenTotals": {
+ "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.",
+ "properties": {
+ "cache_read_input_tokens": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "cache_write_input_tokens": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "input_tokens_total": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "output_tokens_total": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "reasoning_output_tokens": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "uncached_input_tokens": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "input_tokens_total",
+ "uncached_input_tokens",
+ "cache_read_input_tokens",
+ "cache_write_input_tokens",
+ "output_tokens_total",
+ "reasoning_output_tokens"
+ ],
+ "type": "object"
+ },
+ "UsageTotals": {
+ "properties": {
+ "cost": {
+ "$ref": "#/$defs/UsageCostTotals"
+ },
+ "model_calls": {
+ "description": "Model calls that recorded token usage or a provider-reported cost.",
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "tokens": {
+ "$ref": "#/$defs/UsageTokenTotals"
+ }
+ },
+ "required": [
+ "model_calls",
+ "tokens",
+ "cost"
+ ],
+ "type": "object"
+ }
+ },
+ "anyOf": [
+ {
+ "properties": {
+ "agent": {
+ "$ref": "#/$defs/Agent"
+ }
+ },
+ "required": [
+ "agent"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "agent": {
+ "$ref": "#/$defs/Agent"
+ },
+ "agent_config": {
+ "$ref": "#/$defs/AgentConfig"
+ },
+ "agent_input": {
+ "$ref": "#/$defs/AgentInput"
+ },
+ "machine_bindings": {
+ "items": {
+ "$ref": "#/$defs/AgentMachineBinding"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "agent",
+ "agent_config",
+ "machine_bindings"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}