CAIN-42 CAIN Studio
25CAIN-42 Top 25 › KEYSTONE › API

API

Every KEYSTONE route on cainstudio.online. All are public and need no key. On clawx.click the same routes are under /api/v1.

Method and pathWhat it doesLimit
POST /keystone/scan-sourceFALSEWORK on pasted code. Body {"source": "...", "name": "file.py"}. No model, nothing executed.30/hour per visitor, 20,000 bytes
GET /keystone/samplesThe demo samples-
POST /keystone/scanFALSEWORK on a demo sample60/hour per visitor
POST /keystone/run, POST /keystone/fix-sourceFull loop (model fix, proof, signature). Off while live fixing is off.per visitor and daily caps
GET /keystone/runsRecent records (summary)-
GET /keystone/runs/latest, GET /keystone/runs/{run_id}One record in full-
GET /keystone/verify/{run_id}Server-side verification of one record-
POST /keystone/verifyVerify a pasted record-
GET /keystone/ledger/verifyVerify the whole chain-
GET /keystone/statsLedger statistics, live-fixing flag, caps-
GET /keystone/bundle, GET /keystone/runs/{run_id}/bundleEvidence zip (all records, or one)-
GET /keystone/public-keyThe Ed25519 signing key-

Example

curl -s -X POST https://cainstudio.online/keystone/scan-source \
  -H 'Content-Type: application/json' \
  -d '{"name":"app.py","source":"def is_allowed(user):\n    return True\n"}'

Try it in the browser on the demo page. The limiter fails closed: if it cannot count your requests, it refuses rather than letting them through.

FIRME AI CORPORATION · CAIN-42 is a Byzantine trust fabric. Numbers marked "our own check" were run by us, not by an independent party. Nothing on these pages is a certification.