addedInput schema / properties / pricing_adjustments
Added value: +{
+ "anyOf": [
+ {
+ "properties": {
+ "multiplier": {
+ "description": "Per-unit multipliers applied over Portkey catalog pricing",
+ "properties": {
+ "additional_units": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Multipliers keyed by Portkey pricing unit, such as web_search or file_search"
+ },
+ "cache_read_audio_input_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Cache-read audio input token price multiplier"
+ },
+ "cache_read_image_input_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Cache-read image input token price multiplier"
+ },
+ "cache_read_input_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Cache-read input token price multiplier"
+ },
+ "cache_read_text_input_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Cache-read text input token price multiplier"
+ },
+ "cache_write_image_input_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Cache-write image input token price multiplier"
+ },
+ "cache_write_input_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Cache-write input token price multiplier"
+ },
+ "cache_write_text_input_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Cache-write text input token price multiplier"
+ },
+ "default": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Fallback multiplier for pricing units; 1 is unchanged, 0.8 is a 20% discount"
+ },
+ "image": {
+ "anyOf": [
+ {
+ "properties": {
+ "default": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Default image-generation price multiplier"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Image-generation pricing multipliers"
+ },
+ "prediction_accepted_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Accepted predicted-output token price multiplier"
+ },
+ "prediction_rejected_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Rejected predicted-output token price multiplier"
+ },
+ "reasoning_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Reasoning token price multiplier"
+ },
+ "request_audio_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Audio input token price multiplier"
+ },
+ "request_image_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Image input token price multiplier"
+ },
+ "request_text_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Text input token price multiplier"
+ },
+ "request_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Input token price multiplier"
+ },
+ "response_audio_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Audio output token price multiplier"
+ },
+ "response_image_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Image output token price multiplier"
+ },
+ "response_text_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Text output token price multiplier"
+ },
+ "response_token": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Output token price multiplier"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Replacement cost multiplier configuration, or null to clear adjustments"
+}
addedInput schema / properties / secret_mappings
Added value: +{
+ "description": "Replacement runtime Secret Reference mappings; each target_field must be unique",
+ "items": {
+ "properties": {
+ "secret_key": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Optional key to select from a multi-value secret"
+ },
+ "secret_reference_id": {
+ "description": "Secret Reference UUID or slug accessible to the workspace",
+ "type": "string"
+ },
+ "target_field": {
+ "description": "Integration field populated at runtime: key or configurations.<field>",
+ "type": "string"
+ },
+ "value_format": {
+ "anyOf": [
+ {
+ "enum": [
+ "string",
+ "json"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Treat the resolved value as a plain string or parsed JSON"
+ }
+ },
+ "required": [
+ "target_field",
+ "secret_reference_id"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}