{
  "x402Version": 2,
  "id": 7284,
  "slug": "7284",
  "resource": "https://api.vrsai.tech/v1/capabilities/decision_optimization",
  "description": "Choose the lowest-cost or highest-value feasible allocation, assignment, selection, or resource mix from caller-supplied options, capacities, budgets, and eligibility rules, with independently verified feasibility evidence and solver optimality/gap information.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6746dFF7bDB1ED4940DBe50024795AD97CbA09Af",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "EiJRESZjUCUufSjSb5iDmikXXeKa3C1gQwYCZR4xFocj",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "30000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "demands": [
              {
                "id": "warehouse_1",
                "requirement": "80",
                "satisfaction": "exact"
              }
            ],
            "lanes": [
              {
                "demand_id": "warehouse_1",
                "source_id": "supplier_a",
                "unit_cost": "2"
              },
              {
                "demand_id": "warehouse_1",
                "source_id": "supplier_b",
                "unit_cost": "5"
              }
            ],
            "objective": "minimize_total_cost",
            "problem_type": "allocation",
            "sources": [
              {
                "capacity": "100",
                "id": "supplier_a"
              },
              {
                "capacity": "100",
                "id": "supplier_b"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "decision": {
              "lanes": [
                {
                  "demand_id": "warehouse_1",
                  "quantity": "80",
                  "source_id": "supplier_a"
                },
                {
                  "demand_id": "warehouse_1",
                  "quantity": "0",
                  "source_id": "supplier_b"
                }
              ],
              "problem_type": "allocation",
              "source_activations": [
                {
                  "active": true,
                  "source_id": "supplier_a"
                },
                {
                  "active": false,
                  "source_id": "supplier_b"
                }
              ]
            },
            "diagnostics": {
              "binding_constraints": []
            },
            "economics": {
              "objective": "minimize_total_cost",
              "objective_value": "160",
              "sense": "minimize"
            },
            "evidence": {
              "constraints_checked": 3,
              "constraints_violated": 0,
              "decision_fingerprint": "v1:43b9ac81c64b8f95e46837a5103ac13d8f27ad829b32ee06463079bf0be83b81",
              "input_fingerprint": "v1:23bf4e29934aad481275e4bf38cb45617bbbe664ad3dd5d771af2fe3d4d1c938",
              "model_fingerprint": "v1:392d8ab317c91b7339a92c2b9fa4b2b30f326f2175955d6fa362c4b57287c5a5",
              "ruleset_version": "decision_optimization_r1",
              "solver": "highs",
              "solver_version": "1.15.2"
            },
            "machine_action": "CONSUME_OPTIMAL_DECISION",
            "problem_type": "allocation",
            "quality": {
              "absolute_gap": "0",
              "best_bound": "160",
              "relative_gap": "0",
              "semantic_feasibility_verified": true,
              "solution_uniqueness": "unknown",
              "solver_optimality": "optimal_within_profile_tolerance"
            },
            "status": "OPTIMAL"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "jws",
            "signature": "eyJhbGciOiJFUzI1NiIsImtpZCI6ImRpZDp3ZWI6dnJzYWkudGVjaCNwcm9kdWN0aW9uLTIwMjYtMDgtMTkifQ.eyJhbW91bnQiOiIzMDAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwibmV0d29yayI6ImVpcDE1NTo4NDUzIiwicGF5VG8iOiIweDY3NDZkRkY3YkRCMUVENDk0MERCZTUwMDI0Nzk1QUQ5N0NiQTA5QWYiLCJyZXNvdXJjZVVybCI6Imh0dHBzOi8vYXBpLnZyc2FpLnRlY2gvdjEvY2FwYWJpbGl0aWVzL2RlY2lzaW9uX29wdGltaXphdGlvbiIsInNjaGVtZSI6ImV4YWN0IiwidmFsaWRVbnRpbCI6MTc4ODQ2MTUyNywidmVyc2lvbiI6MX0.wMzas1iEb8q4YokX2TaAwexS9h3UcDt51OoYjvJNJW4vdwREOkc9SL2ih29LgLNOP2ZGvZEppLJFAZPU6BmEbA"
          },
          {
            "acceptIndex": 1,
            "format": "jws",
            "signature": "eyJhbGciOiJFUzI1NiIsImtpZCI6ImRpZDp3ZWI6dnJzYWkudGVjaCNwcm9kdWN0aW9uLTIwMjYtMDgtMTkifQ.eyJhbW91bnQiOiIzMDAwMCIsImFzc2V0IjoiRVBqRldkZDVBdWZxU1NxZU0ycU4xeHp5YmFwQzhHNHdFR0drWnd5VER0MXYiLCJuZXR3b3JrIjoic29sYW5hOjVleWt0NFVzRnY4UDhOSmRUUkVwWTF2enFLcVpLdmRwIiwicGF5VG8iOiJFaUpSRVNaalVDVXVmU2pTYjVpRG1pa1hYZUthM0MxZ1F3WUNaUjR4Rm9jaiIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly9hcGkudnJzYWkudGVjaC92MS9jYXBhYmlsaXRpZXMvZGVjaXNpb25fb3B0aW1pemF0aW9uIiwic2NoZW1lIjoiZXhhY3QiLCJ2YWxpZFVudGlsIjoxNzg4NDYxNTI3LCJ2ZXJzaW9uIjoxfQ.Xg5i4BhmhDPHQ-X92AoPAEVs3NDqdgu83kTsz6Ija-v5Es__TYrrdEUe58JGS-pePJuglBt3q1HXK_hHY-HqlA"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "type": "string"
                },
                "payload": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "asset": {
                      "type": "string"
                    },
                    "network": {
                      "type": "string"
                    },
                    "payTo": {
                      "type": "string"
                    },
                    "resourceUrl": {
                      "type": "string"
                    },
                    "scheme": {
                      "type": "string"
                    },
                    "validUntil": {
                      "type": "integer"
                    },
                    "version": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "version",
                    "resourceUrl",
                    "scheme",
                    "network",
                    "asset",
                    "payTo",
                    "amount"
                  ],
                  "type": "object"
                },
                "signature": {
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "offer-receipt",
    "payment-identifier"
  ],
  "sourceHost": "api.vrsai.tech",
  "lastUpdated": "2026-09-03T18:51:07.629Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-03T18:51:07.407Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vrsai.tech",
    "manifest_name": "api.vrsai.tech",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}