changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "available_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "balance_as_of": {
- "format": "date-time",
- "maxLength": 64,
- "type": "string"
- },
- "ceiling_explanation": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "const": "current_effective_rates_and_runtime_bounds"
- },
- "details_limited": {
- "type": "boolean"
- },
- "meaning": {
- "maxLength": 500,
- "type": "string"
- },
- "provider_floors": {
- "items": {
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- }
- },
- "required": [
- "meaning",
- "basis",
- "provider_floors",
- "details_limited"
- ],
- "type": "object"
- },
- "estimate_basis": {
- "const": "conservative_input_aware"
- },
- "estimated_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "execution_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "fee_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "historical_comparison": {
- "enum": [
- "lower",
- "same",
- "higher",
- "unknown"
- ]
- },
- "historical_credit_band": {
- "enum": [
- "unknown",
- "free",
- "0_to_10",
- "10_to_100",
- "over_100"
- ]
- },
- "history": {
- "additionalProperties": false,
- "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
- "properties": {
- "average_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "failed_runs": {
- "minimum": 0,
- "type": "integer"
- },
- "last_run_at": {
- "maxLength": 40,
- "type": [
- "string",
- "null"
- ]
- },
- "median_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "p90_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "recent_charges": {
- "description": "Actual charges of the one or two runs when there are too few for statistics.",
- "items": {
- "maxLength": 32,
- "type": "string"
- },
- "maxItems": 2,
- "type": "array"
- },
- "successful_runs": {
- "minimum": 0,
- "type": "integer"
- },
- "window_days": {
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "successful_runs",
- "failed_runs",
- "average_credits",
- "median_credits",
- "p90_credits",
- "last_run_at",
- "window_days",
- "recent_charges"
- ],
- "type": "object"
- },
- "input_token_floor": {
- "minimum": 1,
- "type": "integer"
- },
- "marketplace_fee_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "outcome": {
- "const": "estimated"
- },
- "pricing_warning": {
- "maxLength": 240,
- "type": [
- "string",
- "null"
- ]
- },
- "sufficient": {
- "type": "boolean"
- }
- },
- "required": [
- "outcome",
- "execution_credits",
- "marketplace_fee_credits",
- "estimated_credits",
- "available_credits",
- "sufficient",
- "estimate_basis",
- "input_token_floor",
- "historical_credit_band",
- "historical_comparison",
- "pricing_warning"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "estimated_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "history": {
- "additionalProperties": false,
- "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
- "properties": {
- "average_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "failed_runs": {
- "minimum": 0,
- "type": "integer"
- },
- "last_run_at": {
- "maxLength": 40,
- "type": [
- "string",
- "null"
- ]
- },
- "median_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "p90_credits": {
- "maxLength": 32,
- "type": [
- "string",
- "null"
- ]
- },
- "recent_charges": {
- "description": "Actual charges of the one or two runs when there are too few for statistics.",
- "items": {
- "maxLength": 32,
- "type": "string"
- },
- "maxItems": 2,
- "type": "array"
- },
- "successful_runs": {
- "minimum": 0,
- "type": "integer"
- },
- "window_days": {
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "successful_runs",
- "failed_runs",
- "average_credits",
- "median_credits",
- "p90_credits",
- "last_run_at",
- "window_days",
- "recent_charges"
- ],
- "type": "object"
- },
- "outcome": {
- "const": "started"
- },
- "run_id": {
- "maxLength": 26,
- "minLength": 26,
- "pattern": "^[0-9A-Za-z]{26}$",
- "type": "string"
- },
- "status": {
- "const": "queued"
- }
- },
- "required": [
- "outcome",
- "run_id",
- "status",
- "estimated_credits"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "outcome": {
- "const": "replayed"
- },
- "run_id": {
- "maxLength": 26,
- "minLength": 26,
- "pattern": "^[0-9A-Za-z]{26}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "queued",
- "running",
- "done",
- "failed",
- "cancelled",
- "blocked"
- ]
- }
- },
- "required": [
- "outcome",
- "run_id",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "recipe_unavailable"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "run_unavailable"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "account_unavailable"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "invalid_inputs"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "idempotency_conflict"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "idempotency_unavailable"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "run_limit"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "rate_limited"
- },
- "retry_after_seconds": {
- "maximum": 86400,
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "error",
- "retry_after_seconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "available_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- },
- "error": {
- "const": "insufficient_credits"
- },
- "required_credits": {
- "maxLength": 64,
- "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
- "type": "string"
- }
- },
- "required": [
- "error",
- "required_credits",
- "available_credits"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "invalid_inputs"
- },
- "issues": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "required",
- "blank",
- "invalid_type",
- "unknown_handle",
- "too_many_inputs",
- "max_characters",
- "max_value_utf8_bytes",
- "max_total_utf8_bytes"
- ]
- },
- "hint": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "limit": {
- "minimum": 1,
- "type": "integer"
- },
- "message": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "path": {
- "maxLength": 32,
- "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$",
- "type": "string"
- },
- "received": {
- "additionalProperties": false,
- "properties": {
- "characters": {
- "minimum": 0,
- "type": "integer"
- },
- "item_count": {
- "minimum": 0,
- "type": "integer"
- },
- "type": {
- "enum": [
- "missing",
- "null",
- "boolean",
- "integer",
- "number",
- "string",
- "array",
- "object",
- "other"
- ]
- },
- "utf8_bytes": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- }
- },
- "required": [
- "path",
- "code",
- "message",
- "hint"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "error",
- "issues"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "run_unavailable"
- },
- "message": {
- "maxLength": 240,
- "type": "string"
- },
- "next_action": {
- "maxLength": 240,
- "type": "string"
- },
- "reason": {
- "enum": [
- "recipe_validation_failed",
- "recipe_step_policy_restricted",
- "recipe_fee_configuration_invalid",
- "invalid_credit_evidence",
- "admission_inconsistent",
- "configuration_unavailable"
- ]
- }
- },
- "required": [
- "error",
- "reason",
- "message",
- "next_action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "pricing_unavailable"
- },
- "message": {
- "maxLength": 240,
- "type": "string"
- },
- "next_action": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "choose_another_recipe"
- },
- "reason": {
- "maxLength": 240,
- "type": "string"
- },
- "tool": {
- "const": "search_recipes"
- }
- },
- "required": [
- "tool",
- "action",
- "reason"
- ],
- "type": "object"
- }
- },
- "required": [
- "error",
- "message",
- "next_action"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "available_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "balance_as_of": {
+ "format": "date-time",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "ceiling_explanation": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "const": "current_effective_rates_and_runtime_bounds"
+ },
+ "details_limited": {
+ "type": "boolean"
+ },
+ "meaning": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "provider_floors": {
+ "items": {
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ }
+ },
+ "required": [
+ "meaning",
+ "basis",
+ "provider_floors",
+ "details_limited"
+ ],
+ "type": "object"
+ },
+ "estimate_basis": {
+ "const": "conservative_input_aware"
+ },
+ "estimated_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "execution_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "fee_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "historical_comparison": {
+ "enum": [
+ "lower",
+ "same",
+ "higher",
+ "unknown"
+ ]
+ },
+ "historical_credit_band": {
+ "enum": [
+ "unknown",
+ "free",
+ "0_to_10",
+ "10_to_100",
+ "over_100"
+ ]
+ },
+ "history": {
+ "additionalProperties": false,
+ "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
+ "properties": {
+ "average_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "failed_runs": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "last_run_at": {
+ "maxLength": 40,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "median_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "p90_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recent_charges": {
+ "description": "Actual charges of the one or two runs when there are too few for statistics.",
+ "items": {
+ "maxLength": 32,
+ "type": "string"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "successful_runs": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "window_days": {
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "successful_runs",
+ "failed_runs",
+ "average_credits",
+ "median_credits",
+ "p90_credits",
+ "last_run_at",
+ "window_days",
+ "recent_charges"
+ ],
+ "type": "object"
+ },
+ "input_token_floor": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "marketplace_fee_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "outcome": {
+ "const": "estimated"
+ },
+ "pricing_warning": {
+ "maxLength": 240,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sufficient": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "outcome",
+ "execution_credits",
+ "marketplace_fee_credits",
+ "estimated_credits",
+ "available_credits",
+ "sufficient",
+ "estimate_basis",
+ "input_token_floor",
+ "historical_credit_band",
+ "historical_comparison",
+ "pricing_warning"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "estimated_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "history": {
+ "additionalProperties": false,
+ "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
+ "properties": {
+ "average_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "failed_runs": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "last_run_at": {
+ "maxLength": 40,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "median_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "p90_credits": {
+ "maxLength": 32,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recent_charges": {
+ "description": "Actual charges of the one or two runs when there are too few for statistics.",
+ "items": {
+ "maxLength": 32,
+ "type": "string"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "successful_runs": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "window_days": {
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "successful_runs",
+ "failed_runs",
+ "average_credits",
+ "median_credits",
+ "p90_credits",
+ "last_run_at",
+ "window_days",
+ "recent_charges"
+ ],
+ "type": "object"
+ },
+ "outcome": {
+ "const": "started"
+ },
+ "run_id": {
+ "maxLength": 26,
+ "minLength": 26,
+ "pattern": "^[0-9A-Za-z]{26}$",
+ "type": "string"
+ },
+ "status": {
+ "const": "queued"
+ }
+ },
+ "required": [
+ "outcome",
+ "run_id",
+ "status",
+ "estimated_credits"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "outcome": {
+ "const": "replayed"
+ },
+ "run_id": {
+ "maxLength": 26,
+ "minLength": 26,
+ "pattern": "^[0-9A-Za-z]{26}$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "queued",
+ "running",
+ "done",
+ "failed",
+ "cancelled",
+ "blocked"
+ ]
+ }
+ },
+ "required": [
+ "outcome",
+ "run_id",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "recipe_unavailable"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "run_unavailable"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "account_unavailable"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "invalid_inputs"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "idempotency_conflict"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "idempotency_unavailable"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "run_limit"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "rate_limited"
+ },
+ "retry_after_seconds": {
+ "maximum": 86400,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "error",
+ "retry_after_seconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "available_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "error": {
+ "const": "insufficient_credits"
+ },
+ "required_credits": {
+ "maxLength": 64,
+ "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "required_credits",
+ "available_credits"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "recipe_ref_expired"
+ },
+ "hint": {
+ "maxLength": 240,
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "hint"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "invalid_inputs"
+ },
+ "issues": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "required",
+ "blank",
+ "invalid_type",
+ "unknown_handle",
+ "too_many_inputs",
+ "max_characters",
+ "max_value_utf8_bytes",
+ "max_total_utf8_bytes"
+ ]
+ },
+ "hint": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "limit": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "message": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 32,
+ "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$",
+ "type": "string"
+ },
+ "received": {
+ "additionalProperties": false,
+ "properties": {
+ "characters": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "item_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "enum": [
+ "missing",
+ "null",
+ "boolean",
+ "integer",
+ "number",
+ "string",
+ "array",
+ "object",
+ "other"
+ ]
+ },
+ "utf8_bytes": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "path",
+ "code",
+ "message",
+ "hint"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "error",
+ "issues"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "run_unavailable"
+ },
+ "message": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "next_action": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "reason": {
+ "enum": [
+ "recipe_validation_failed",
+ "recipe_step_policy_restricted",
+ "recipe_fee_configuration_invalid",
+ "invalid_credit_evidence",
+ "admission_inconsistent",
+ "configuration_unavailable"
+ ]
+ }
+ },
+ "required": [
+ "error",
+ "reason",
+ "message",
+ "next_action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "pricing_unavailable"
+ },
+ "message": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "next_action": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "choose_another_recipe"
+ },
+ "reason": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "tool": {
+ "const": "search_recipes"
+ }
+ },
+ "required": [
+ "tool",
+ "action",
+ "reason"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error",
+ "message",
+ "next_action"
+ ],
+ "type": "object"
+ }
+]