{
  "x402Version": 2,
  "id": 2196,
  "slug": "2196",
  "resource": "https://evidence.regulavita.com/v1/compute/python-run",
  "description": "Run bounded Python 3.11 code in an ephemeral isolated sandbox with one x402 payment. This service creates the sandbox, executes the code, captures stdout, stderr, and return code, terminates the sandbox, and returns supplier settlements plus a signed receipt.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9500075649a70411c81f99c4314f6cff55d12579",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "code": "import json; print(json.dumps({'answer': sum(range(11))}))",
            "timeout_seconds": 10
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "decision": "PYTHON_EXECUTION_COMPLETED",
            "execution": {
              "returncode": 0,
              "stderr": "",
              "stdout": "{\"answer\": 55}\n",
              "timed_out": false
            },
            "product": "ISOLATED_PYTHON_RUN",
            "provenance": {
              "engine_version": "isolated-python-run/0.1.0"
            },
            "receipt": {
              "algorithm": "Ed25519"
            },
            "request": {
              "code_characters": 61,
              "code_sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
              "timeout_seconds": 10
            },
            "request_id": "isolated_python_run_example",
            "sandbox": {
              "isolated_from_service_host": true,
              "maximum_cpu": 1,
              "memory_mb": 512,
              "runtime": "python:3.11",
              "termination": "FULFILLED"
            },
            "supplier_execution": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "code": {
                    "description": "Python 3.11 source code to execute.",
                    "maxLength": 6000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "timeout_seconds": {
                    "default": 10,
                    "maximum": 30,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "code"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "decision": {
                    "const": "PYTHON_EXECUTION_COMPLETED"
                  },
                  "execution": {
                    "type": "object"
                  },
                  "product": {
                    "const": "ISOLATED_PYTHON_RUN"
                  },
                  "provenance": {
                    "type": "object"
                  },
                  "receipt": {
                    "type": "object"
                  },
                  "request": {
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "sandbox": {
                    "type": "object"
                  },
                  "supplier_execution": {
                    "type": "array"
                  }
                },
                "required": [
                  "request_id",
                  "product",
                  "decision",
                  "execution",
                  "request",
                  "sandbox",
                  "supplier_execution",
                  "provenance",
                  "receipt"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "evidence.regulavita.com",
  "lastUpdated": "2026-08-25T07:38:38.797Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-25T07:38:38.571Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "evidence.regulavita.com",
    "manifest_name": "evidence.regulavita.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}