changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "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"
+ },
+ "AgentConfigSummary": {
+ "properties": {
+ "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": {
+ "type": "string"
+ },
+ "source_format": {
+ "enum": [
+ "yaml",
+ "json"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "project_id",
+ "effective_definition_hash",
+ "model",
+ "created_at"
+ ],
+ "type": "object"
+ },
+ "AgentProfileID": {
+ "pattern": "^aprf_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentProfileStats": {
+ "description": "Present when the list was requested with `include_stats`.",
+ "properties": {
+ "agent_count": {
+ "description": "Unarchived top-level agents launched from the profile.",
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "usage": {
+ "$ref": "#/$defs/UsageTotals",
+ "description": "Model usage by the profile's agents and their subagents since `stats_since`."
+ }
+ },
+ "required": [
+ "agent_count",
+ "usage"
+ ],
+ "type": "object"
+ },
+ "AgentProfileSummary": {
+ "properties": {
+ "created_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "current_config": {
+ "$ref": "#/$defs/AgentConfigSummary"
+ },
+ "current_config_id": {
+ "$ref": "#/$defs/AgentConfigID"
+ },
+ "current_generation": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "id": {
+ "$ref": "#/$defs/AgentProfileID"
+ },
+ "name": {
+ "$ref": "#/$defs/ResourceName"
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID"
+ },
+ "project_id": {
+ "$ref": "#/$defs/ProjectID"
+ },
+ "stats": {
+ "$ref": "#/$defs/AgentProfileStats"
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp"
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "project_id",
+ "name",
+ "current_config_id",
+ "current_generation",
+ "current_config",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "ConfiguredModelID": {
+ "pattern": "^mdl_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ConfiguredModelRevisionID": {
+ "pattern": "^mrev_[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"
+ },
+ "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"
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "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"
+ }
+ },
+ "properties": {
+ "data": {
+ "items": {
+ "$ref": "#/$defs/AgentProfileSummary"
+ },
+ "type": "array"
+ },
+ "next_cursor": {
+ "description": "Opaque cursor for the next page, or null when this is the last page.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "data",
+ "next_cursor"
+ ],
+ "type": "object"
+}