{"api":"v1","generated_at":"2026-09-15T23:43:01.476Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-statemind-ai-v1-x402-execute-becbec","pinned_page":"https://tollindex.com/e/api-statemind-ai-v1-x402-execute-becbec/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"api-statemind-ai-v1-x402-execute-becbec","canonical_url":"https://api.statemind.ai/v1/x402/execute","resource":"https://api.statemind.ai/v1/x402/execute","http_method":"POST","type":"http","x402_version":2,"registries":[],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Run Python in a throwaway container with no network and a read-only filesystem, and report what it did against the caller's examples.","service_name":"Python Code Validator","declared_category":null,"declared_tags":["python","code-review","static-analysis","testing","developer-tools"],"route_template":null,"registry_updated":"2026-08-16T15:34:23.655Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"execute","category":"compute","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T11:42:41.317Z","observation_began":"2026-09-10"},"presence":{"listed_now":false,"first_absent_at":"2026-09-15T16:57:44.360Z","delisting_confirmed_at":"2026-09-15T21:20:12.737Z","events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"},{"registry":"cdp","at":"2026-09-15T16:57:44.360Z","event":"delisted"},{"registry":"cdp","at":"2026-09-15T21:20:12.737Z","event":"delisting_confirmed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.1 USDC","amount_units":0.1,"decimals_known":true,"pay_to":"0xaa7116CdDA58286F4cdA40C6F735762C22447104","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T11:42:41.317Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-08-16T15:34:23.198Z"},"validation":{"latest":{"observed_at":"2026-09-15T06:24:48.757Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T06:24:48.757Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T05:54:18.798Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T05:46:59.894Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T08:04:13.163Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T12:01:04.432Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xaa7116CdDA58286F4cdA40C6F735762C22447104","page":"https://tollindex.com/seller/0xaa7116CdDA58286F4cdA40C6F735762C22447104","endpoints":6,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["python","code-review","static-analysis","testing","developer-tools"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xaa7116CdDA58286F4cdA40C6F735762C22447104","amount":"100000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":60}],"quality":{"lastCalledAt":"2026-08-16T15:34:23.198Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.statemind.ai/v1/x402/execute","extensions":{"bazaar":{"info":{"input":{"body":{"code":"def bitcount(n):\n    count = 0\n    while n:\n        n ^= n - 1\n    return count\n","options":{"examples":"assert bitcount(127) == 7\nassert bitcount(0) == 0"}},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"score":0.4,"valid":false,"fixed_code":"def bitcount(n):\n    count = 0\n    while n:\n        n &= n - 1\n        count += 1\n    return count\n","diagnostics":[{"code":"python:example-mismatch","message":"assert bitcount(127) == 7 failed: the code loops forever","severity":"error"}]}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"The Python source to check."},"options":{"type":"object","properties":{"intent":{"type":"string","description":"What the code was asked to do, in words."},"examples":{"type":"string","description":"What the code is supposed to do, as assert or doctest lines, one per line. This is the only check that can fail code which parses, lints and runs."}}}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"Run Python in a throwaway container with no network and a read-only filesystem, and report what it did against the caller's examples.","lastUpdated":"2026-08-16T15:34:23.655Z","serviceName":"Python Code Validator","x402Version":2}]}}