changedInput schema / additionalProperties
Previous value: -trueNew value: +false
removedInput schema / description
Removed value: -"The existing product POST body. Supply its documented mode, arguments, and required signed authority or grant. The product validates its full contract."
removedInput schema / maxProperties
Removed value: -64
removedInput schema / minProperties
Removed value: -1
addedInput schema / properties / agent_id
Added value: +{
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+}
addedInput schema / properties / mode / const
Added value: +"evaluate_action"
removedInput schema / properties / mode / maxLength
Removed value: -128
removedInput schema / properties / mode / minLength
Removed value: -1
removedInput schema / properties / mode / type
Removed value: -"string"
addedInput schema / properties / policy
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "agent_id": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+ },
+ "allowed_callback_origins": {
+ "items": {
+ "description": "Canonical HTTPS origin only, with no path, trailing slash, credentials, query or fragment. Matching uses the parsed request URL origin; no destination is contacted.",
+ "maxLength": 256,
+ "minLength": 9,
+ "type": "string"
+ },
+ "maxItems": 16,
+ "minItems": 0,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "allowed_rails": {
+ "items": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+ },
+ "maxItems": 16,
+ "minItems": 0,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "budget_minor": {
+ "maximum": 1000000000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "callback_required": {
+ "type": "boolean"
+ },
+ "currency": {
+ "const": "USD"
+ },
+ "expires_at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])",
+ "type": "string"
+ },
+ "max_action_fee_minor": {
+ "maximum": 1000000000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "max_runs": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "not_before": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])",
+ "type": "string"
+ },
+ "policy_id": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+ }
+ },
+ "required": [
+ "policy_id",
+ "agent_id",
+ "currency",
+ "budget_minor",
+ "max_action_fee_minor",
+ "max_runs",
+ "allowed_rails",
+ "allowed_callback_origins",
+ "callback_required",
+ "not_before",
+ "expires_at"
+ ],
+ "type": "object"
+}
addedInput schema / properties / request
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "callback_url": {
+ "anyOf": [
+ {
+ "description": "ASCII HTTPS URL without credentials, control characters, backslashes or fragment. Its normalized origin is compared exactly with allowed_callback_origins. No request is sent.",
+ "maxLength": 2048,
+ "minLength": 9,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "fee_minor": {
+ "description": "Total fee for this action request in USD cents, including all requested runs. It is not multiplied by run_count.",
+ "maximum": 1000000000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "rail_key": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+ },
+ "run_count": {
+ "maximum": 1000000,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "rail_key",
+ "fee_minor",
+ "run_count",
+ "callback_url"
+ ],
+ "type": "object"
+}
addedInput schema / properties / usage
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "as_of": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])",
+ "type": "string"
+ },
+ "spent_minor": {
+ "maximum": 1000000000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "used_runs": {
+ "maximum": 1000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "spent_minor",
+ "used_runs",
+ "as_of"
+ ],
+ "type": "object"
+}
addedInput schema / required
Added value: +[
+ "mode",
+ "agent_id",
+ "policy",
+ "usage",
+ "request"
+]