{"components": {"schemas": {"Envelope": {"properties": {"api_version": {"const": "v1"}, "as_of": {"type": "object"}, "data": {"type": "object"}, "evidence": {"$ref": "#/components/schemas/Evidence"}, "links": {"type": "object"}, "ok": {"const": true}, "op": {"type": "string"}}, "required": ["ok", "api_version", "op", "data", "evidence", "as_of", "links"], "type": "object"}, "Error": {"properties": {"access": {"type": "object"}, "api_version": {"const": "v1"}, "detail": {}, "error": {"type": "string"}, "message": {"type": "string"}, "ok": {"const": false}}, "required": ["ok", "api_version", "error", "message"], "type": "object"}, "Evidence": {"properties": {"classes": {"items": {"type": "string"}, "type": "array"}, "data_label": {"type": ["string", "null"]}, "evidence_class": {"oneOf": [{"type": "null"}, {"enum": ["LIVE", "RECORDED", "PAPER", "SYNTHETIC", "COUNTERFACTUAL"]}, {"items": {"enum": ["LIVE", "RECORDED", "PAPER", "SYNTHETIC", "COUNTERFACTUAL"]}, "type": "array"}]}, "legend": {"type": "object"}, "method": {"type": "string"}, "not_applicable": {"type": "boolean"}, "real_executed_trades": {"const": 0}}, "type": "object"}, "SearchData": {"description": "search result page (a settlement_pending answer of a paid call has no items yet)", "properties": {"items": {"items": {"description": "One recorded decision. evidence_class is the class of the recorded decision itself (RECORDED); membership.evidence_class is the class of the category it was matched by.", "properties": {"action": {"type": ["string", "null"]}, "candidate": {"type": "string"}, "data_label": {"type": ["string", "null"]}, "evidence_class": {"enum": ["LIVE", "RECORDED", "PAPER", "SYNTHETIC", "COUNTERFACTUAL"], "type": "string"}, "evidence_type": {"type": "string"}, "hash": {"type": ["string", "null"]}, "matched": {"type": "object"}, "membership": {"description": "Per-item membership label: the category this item was returned for and ITS evidence class (COUNTERFACTUAL only for memory_decision_pivotal, method simulated_intervention; RECORDED for every other preset and plain filters; SYNTHETIC on the test fixture). Memory categories also carry original_action / ablated_action from the memory ablation index (null when not built).", "properties": {"ablated_action": {"type": ["string", "null"]}, "ablation_note": {"type": "string"}, "category": {"type": "string"}, "evidence_class": {"enum": ["LIVE", "RECORDED", "PAPER", "SYNTHETIC", "COUNTERFACTUAL"], "type": "string"}, "index": {"properties": {"code_hash": {"type": ["string", "null"]}, "dataset_id": {"type": ["string", "null"]}, "protocol": {"type": ["string", "null"]}}, "required": ["dataset_id", "code_hash", "protocol"], "type": "object"}, "interpretation": {"type": "string"}, "method": {"type": "string"}, "original_action": {"type": ["string", "null"]}, "requested_preset": {"type": "string"}, "rule": {"type": "string"}, "verify": {"type": "object"}}, "required": ["category", "evidence_class", "method", "interpretation", "index"], "type": "object"}, "memory_ablation": {"type": "object"}, "memory_contribution": {"type": "object"}, "obs": {"type": ["integer", "null"]}, "preset": {"type": ["string", "null"]}, "reason": {"type": ["string", "null"]}, "seq": {"type": "integer"}, "source": {"type": ["string", "null"]}, "stage": {"type": ["string", "null"]}, "t": {"type": ["integer", "null"]}, "token": {"type": ["string", "null"]}}, "required": ["seq", "candidate", "action", "evidence_type", "evidence_class", "data_label", "membership"], "type": "object"}, "type": "array"}, "next_cursor": {"type": ["integer", "null"]}, "preset": {"type": ["object", "null"]}, "total_matches": {"type": ["integer", "null"]}, "window": {"type": "object"}}, "type": "object"}}, "securitySchemes": {"bearer": {"description": "Brain Lab session token, research token (amr_...) or OAuth access token", "scheme": "bearer", "type": "http"}}}, "info": {"description": "Read recorded shadow-circuit research data of AlphaMorph (an experimental, biologically-inspired AI research project; paper/shadow decisions only, NO real trading) and run bounded one-step experiments. Every item carries an evidence_class (LIVE | RECORDED | PAPER | SYNTHETIC | COUNTERFACTUAL).", "title": "AlphaMorph Research API", "version": "v1"}, "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema", "openapi": "3.1.0", "paths": {"/api/v1/access": {"get": {"description": "FREE (public, rate limited, no wallet needed). Who you are to the API: principal, tier and how it was obtained, today's allowance usage, what each tier unlocks, how to qualify (Researcher: iMORPH held in the wallet + iMORPH Earn-staked >= 0.1% of MORPH totalSupply (1,000,000 iMORPH at the current supply); Advanced Researcher: iMORPH Earn-STAKED >= 0.2% of MORPH totalSupply (2,000,000 iMORPH; staked only, held iMORPH does not count) OR an eligible AlphaMorph Model Lineage League (AMLL) NFT OR the Team allowlist), x402 prices of payable ops (provisional, testnet only) and docs links.", "operationId": "get_access_status", "parameters": [], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Access status", "tags": ["public"], "x-access": "public", "x-mcp-tool": "get_access_status", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/candidates": {"get": {"description": "FREE (public, rate limited, no wallet needed). Every candidate circuit of the dataset (root and research mutations) with status, genome hash, decision/entry counts. Evidence: RECORDED.", "operationId": "list_candidates", "parameters": [{"in": "query", "name": "status", "required": false, "schema": {"description": "filter by status, e.g. shadow, retired, rejected, leading", "maxLength": 64, "pattern": "[a-z_]{1,24}", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "List candidate circuits", "tags": ["public"], "x-access": "public", "x-mcp-tool": "list_candidates", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/circuits/{candidate}": {"get": {"description": "FREE (public, rate limited, no wallet needed). Topology (nodes, edges, genome and learned weights, thresholds) of one candidate circuit, its candidate record, parent and children in the lineage. Evidence: RECORDED.", "operationId": "get_circuit", "parameters": [{"in": "path", "name": "candidate", "required": true, "schema": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Circuit of a candidate", "tags": ["public"], "x-access": "public", "x-mcp-tool": "get_circuit", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/compare/candidates": {"get": {"description": "FREE (public, rate limited, no wallet needed). STRUCTURAL comparison of two candidate circuits from recorded facts only: genome edge and threshold differences, learned weight differences, lineage relation (common ancestor, generations apart) and recorded decision/entry statistics. No causal claims; the BEHAVIOURAL comparison is the protected experiment type candidate_comparison (run_experiment). Evidence: RECORDED.", "operationId": "compare_candidates", "parameters": [{"in": "query", "name": "a", "required": true, "schema": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}}, {"in": "query", "name": "b", "required": true, "schema": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Compare two candidates structurally", "tags": ["public"], "x-access": "public", "x-mcp-tool": "compare_candidates", "x-payable": false, "x-rate-cost": 2, "x-read-only": true, "x-unit-op": null}}, "/api/v1/compare/decisions": {"get": {"description": "FREE (public, rate limited, no wallet needed). Side-by-side comparison of two recorded decisions (a, b) or of every candidate's decision on one opportunity (token, obs[, candidates]). Deterministic field differences; recorded facts, no causal claim. Evidence: RECORDED.", "operationId": "compare_decisions", "parameters": [{"in": "query", "name": "a", "required": false, "schema": {"description": "chain sequence number of a recorded record", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "b", "required": false, "schema": {"description": "chain sequence number of a recorded record", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "token", "required": false, "schema": {"description": "token address; decision records store the shortened form 0xabcd...1234", "maxLength": 42, "pattern": "0x[0-9a-fA-F]{40}|0x[0-9a-fA-F]{4}\\.\\.\\.[0-9a-fA-F]{4}", "type": "string"}}, {"in": "query", "name": "obs", "required": false, "schema": {"maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "candidates", "required": false, "schema": {"description": "comma-separated list", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Compare recorded decisions", "tags": ["public"], "x-access": "public", "x-mcp-tool": "compare_decisions", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/decisions": {"get": {"description": "FREE (public, rate limited, no wallet needed). Recorded shadow-circuit decisions, newest first, filtered by candidate, token, action, reason, stage; cursor pagination. Evidence: RECORDED (REAL_SHADOW_DECISION).", "operationId": "list_decisions", "parameters": [{"in": "query", "name": "candidate", "required": false, "schema": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}}, {"in": "query", "name": "token", "required": false, "schema": {"description": "token address; decision records store the shortened form 0xabcd...1234", "maxLength": 42, "pattern": "0x[0-9a-fA-F]{40}|0x[0-9a-fA-F]{4}\\.\\.\\.[0-9a-fA-F]{4}", "type": "string"}}, {"in": "query", "name": "action", "required": false, "schema": {"enum": ["enter", "abstain"], "type": "string"}}, {"in": "query", "name": "reason", "required": false, "schema": {"description": "base reason (sensory_only: variants included)", "maxLength": 64, "pattern": "[a-z_]{1,32}", "type": "string"}}, {"in": "query", "name": "stage", "required": false, "schema": {"maxLength": 64, "pattern": "[a-z]{1,16}", "type": "string"}}, {"in": "query", "name": "cursor", "required": false, "schema": {"description": "pagination cursor: next_cursor of the previous page (seq; items are newest first)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "limit", "required": false, "schema": {"default": 50, "description": "page size", "maximum": 100, "minimum": 1, "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "List recorded decisions", "tags": ["public"], "x-access": "public", "x-mcp-tool": "list_decisions", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/decisions/{seq}": {"get": {"description": "FREE (public, rate limited, no wallet needed). One recorded decision in depth: record, captured evaluate() inputs, topology with recorded weights/activations, deterministic rule-based explanation, PLUS connected evidence: the chain record hash, realized shadow outcome, chain counterfactual, research walk, the memory episodes it recalled, and neighbouring decisions on the same token/observation. Every item labelled (RECORDED / PAPER / COUNTERFACTUAL).", "operationId": "get_decision_trace", "parameters": [{"in": "path", "name": "seq", "required": true, "schema": {"description": "chain sequence number of a recorded record", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "include_neighbours", "required": false, "schema": {"default": true, "type": "boolean"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Decision trace with connected evidence", "tags": ["public"], "x-access": "public", "x-mcp-tool": "get_decision_trace", "x-payable": false, "x-rate-cost": 5, "x-read-only": true, "x-unit-op": null}}, "/api/v1/events": {"get": {"description": "FREE (public, rate limited, no wallet needed). Recorded non-decision chain events (memory inserts, learning closes, counterfactual walks, generations, evolution, promotions), newest first. Evidence: RECORDED / PAPER / COUNTERFACTUAL per item.", "operationId": "list_circuit_events", "parameters": [{"in": "query", "name": "kind", "required": false, "schema": {"enum": ["baseline_close", "counterfactual", "evolution", "generation", "learning", "memory", "promotion"], "type": "string"}}, {"in": "query", "name": "candidate", "required": false, "schema": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}}, {"in": "query", "name": "cursor", "required": false, "schema": {"description": "pagination cursor: next_cursor of the previous page (seq; items are newest first)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "limit", "required": false, "schema": {"default": 50, "description": "page size", "maximum": 100, "minimum": 1, "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "List recorded circuit events", "tags": ["public"], "x-access": "public", "x-mcp-tool": "list_circuit_events", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/experiments": {"post": {"description": "MEMBER: needs a Brain Lab session or research token of a qualifying wallet (Researcher: iMORPH held in the wallet + iMORPH Earn-staked >= 0.1% of MORPH totalSupply (1,000,000 iMORPH at the current supply); Advanced Researcher: iMORPH Earn-STAKED >= 0.2% of MORPH totalSupply (2,000,000 iMORPH; staked only, held iMORPH does not count) OR an eligible AlphaMorph Model Lineage League (AMLL) NFT OR the Team allowlist) and draws from that wallet's daily allowance. PAYABLE: without a covering membership it can be bought per call with x402 (USDG) when payments are on. Queue a bounded one-step SIMULATED_INTERVENTION experiment through Brain Lab's job service (types: memory_intervention, gonogo_threshold, attention, candidate_comparison; same validation, tier scope and limits as Brain Lab). Returns 202 with the job; poll get_experiment_status, then get_experiment_report. Results are mechanistic, never a performance claim. Evidence: COUNTERFACTUAL (method simulated_intervention). Bounds: /api/lab/meta experiment_bounds.", "operationId": "run_experiment", "parameters": [], "requestBody": {"content": {"application/json": {"schema": {"additionalProperties": false, "properties": {"params": {"description": "type-specific parameters (memory_intervention: mode, scale_ppm; gonogo_threshold: nogo_bias_ppm, go_margin_ppm, go_floor_ppm; attention: top_k, attn_request_ppm, req_floor_ppm; candidate_comparison: none)", "maxProperties": 8, "type": "object"}, "target": {"description": "{scope: single, seq} or {scope: batch, candidate, from_obs?, to_obs?} or (candidate_comparison) {candidate_a, candidate_b, from_obs?, to_obs?}", "maxProperties": 8, "type": "object"}, "type": {"enum": ["memory_intervention", "gonogo_threshold", "attention", "candidate_comparison"], "type": "string"}}, "required": ["type"], "type": "object"}}}, "required": true}, "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "202": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "accepted: job queued"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}, {}], "summary": "Run an experiment", "tags": ["protected"], "x-access": "protected", "x-mcp-tool": "run_experiment", "x-payable": true, "x-rate-cost": 1, "x-read-only": false, "x-unit-op": "experiment.*"}}, "/api/v1/experiments/{job_id}": {"get": {"description": "MEMBER/PAYER (owner only; 404 to anyone else). State of one of your experiment jobs (queued/running/succeeded/failed/cancelled/timeout), measured CPU and the report id when done.", "operationId": "get_experiment_status", "parameters": [{"in": "path", "name": "job_id", "required": true, "schema": {"description": "24 hex id", "maxLength": 64, "pattern": "[0-9a-f]{24}", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}], "summary": "Experiment status", "tags": ["protected"], "x-access": "protected", "x-mcp-tool": "get_experiment_status", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/experiments/{job_id}/cancel": {"post": {"description": "MEMBER/PAYER (owner only). Cancel a queued job (charged 0) or a running job (charged the measured CPU).", "operationId": "cancel_experiment", "parameters": [{"in": "path", "name": "job_id", "required": true, "schema": {"description": "24 hex id", "maxLength": 64, "pattern": "[0-9a-f]{24}", "type": "string"}}], "requestBody": {"content": {"application/json": {"schema": {"additionalProperties": false, "properties": {}, "type": "object"}}}, "required": false}, "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}], "summary": "Cancel an experiment", "tags": ["protected"], "x-access": "protected", "x-mcp-tool": "cancel_experiment", "x-payable": false, "x-rate-cost": 1, "x-read-only": false, "x-unit-op": null}}, "/api/v1/lineage": {"get": {"description": "FREE (public, rate limited, no wallet needed). Lineage graph: births, status changes, generations and promotions (shadow only). Evidence: RECORDED.", "operationId": "get_lineage", "parameters": [{"in": "query", "name": "candidate", "required": false, "schema": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Lineage", "tags": ["public"], "x-access": "public", "x-mcp-tool": "get_lineage", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/live/circuit-events": {"get": {"description": "FREE (public, rate limited, no wallet needed). The public engine's circuit event stream (alphamorph.si/api/circuits/events) as read by ONE background poller every >= 10 s (requests never reach the engine). Evidence: LIVE (not part of the recorded dataset), with fetched_at, cache_age_s and the upstream event time t. 503 live_unavailable when the cache is stale; 404 live_disabled when the feed is off.", "operationId": "get_live_circuit_events", "parameters": [{"in": "query", "name": "since", "required": false, "schema": {"description": "upstream cursor (event id / seq) to read after", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "limit", "required": false, "schema": {"default": 50, "description": "max events (upstream bound)", "maximum": 200, "minimum": 1, "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "live_disabled: the LIVE feed is switched off on this deployment (research.live.enabled false)"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "live_unavailable: the LIVE cache is stale / upstream unavailable (Retry-After)"}}, "security": [{}, {"bearer": []}], "summary": "Live circuit events", "tags": ["public"], "x-access": "public", "x-mcp-tool": "get_live_circuit_events", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/my/reports": {"get": {"description": "MEMBER/PAYER (owner only). Your saved experiment reports, newest first.", "operationId": "list_my_reports", "parameters": [{"in": "query", "name": "limit", "required": false, "schema": {"default": 50, "description": "max reports", "maximum": 100, "minimum": 1, "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}], "summary": "My reports", "tags": ["protected"], "x-access": "protected", "x-mcp-tool": "list_my_reports", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/openapi.json": {"get": {"operationId": "openapi", "responses": {"200": {"description": "OpenAPI 3.1"}}, "security": [{}], "summary": "This document"}}, "/api/v1/reports/{report_id}": {"get": {"description": "MEMBER/PAYER (owner only; 404 to anyone else). The full Brain Lab report plus a reproducibility block (job id, dataset id + manifest hashes, candidate, observation window, intervention params, protocol version, code revision, result hash, verify instructions, evidence classes and interpretation limits). data.report is byte-identical to the saved Brain Lab report (so `python -m brainlab verify` reproduces its hash); its evidence class is stated in data.reproducibility.evidence and the envelope. Evidence: COUNTERFACTUAL (method simulated_intervention).", "operationId": "get_experiment_report", "parameters": [{"in": "path", "name": "report_id", "required": true, "schema": {"description": "24 hex id", "maxLength": 64, "pattern": "[0-9a-f]{24}", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}], "summary": "Experiment report", "tags": ["protected"], "x-access": "protected", "x-mcp-tool": "get_experiment_report", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/research-results": {"get": {"description": "FREE (public, rate limited, no wallet needed). Catalog of AlphaMorph's published research releases (Hugging Face + Twigpine, tags r0..r3): title, contents, evidence class(es) as stated on each release card, URLs, hashes and the card's own limitation statements (verbatim).", "operationId": "list_research_results", "parameters": [{"in": "query", "name": "release", "required": false, "schema": {"description": "one release id", "maxLength": 64, "pattern": "r[0-9]{1,3}", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Published research releases", "tags": ["public"], "x-access": "public", "x-mcp-tool": "list_research_results", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/search/decisions": {"get": {"description": "FREE (public, rate limited, no wallet needed). Predicate search over recorded decision fields within each candidate's NEWEST window (default 2,000 decisions per candidate): candidate/token/action/reason/stage/source, obs/time range, numeric min/max on recorded fields (go, nogo, margin, threat, plan, acts.<node>, memory_mean, ...) and named presets, e.g. preset=plan_go_final_nogo finds decisions where the planning circuit favoured GO but the final action was NO-GO/abstain. Memory has three separate presets: memory_negative_signal (RECORDED: a negative memory signal was present), memory_contributed_inhibition (RECORDED: it entered the inhibitory pathway with a non-zero term; contribution, not causation) and memory_decision_pivotal (COUNTERFACTUAL: removing memory, memory_intervention mode=remove, changes the decision in a one-step re-evaluation with learned state held fixed; mechanism, not performance); memory_inhibited is a deprecated alias of memory_negative_signal. Each item lists the matched fields and carries its own membership label (category, evidence_class, method, interpretation, index). Evidence: RECORDED (COUNTERFACTUAL for memory_decision_pivotal). Full history: search_historical_decisions.", "operationId": "search_decisions", "parameters": [{"in": "query", "name": "candidate", "required": false, "schema": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}}, {"in": "query", "name": "token", "required": false, "schema": {"description": "token address; decision records store the shortened form 0xabcd...1234", "maxLength": 42, "pattern": "0x[0-9a-fA-F]{40}|0x[0-9a-fA-F]{4}\\.\\.\\.[0-9a-fA-F]{4}", "type": "string"}}, {"in": "query", "name": "action", "required": false, "schema": {"enum": ["enter", "abstain"], "type": "string"}}, {"in": "query", "name": "reason", "required": false, "schema": {"description": "recorded decision reason (e.g. nogo, no_plan, threat_veto, acc_conflict, go); 'sensory_only:' prefixes are matched by the base reason", "maxLength": 64, "pattern": "[a-z_:]{1,40}", "type": "string"}}, {"in": "query", "name": "stage", "required": false, "schema": {"description": "recorded stage: veto, threshold, margin, execution, ...", "maxLength": 64, "pattern": "[a-z]{1,16}", "type": "string"}}, {"in": "query", "name": "source", "required": false, "schema": {"description": "decision source: sensory evidence only or specialist ensemble", "enum": ["sensory", "ensemble"], "type": "string"}}, {"in": "query", "name": "from_obs", "required": false, "schema": {"description": "observation id lower bound (inclusive)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "to_obs", "required": false, "schema": {"description": "upper bound (inclusive)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "from_t", "required": false, "schema": {"description": "unix time lower bound", "maximum": 100000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "to_t", "required": false, "schema": {"description": "unix time upper bound", "maximum": 100000000000, "minimum": 0, "type": "integer"}}, {"description": "min bound on go", "in": "query", "name": "min.go", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on nogo", "in": "query", "name": "min.nogo", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on margin", "in": "query", "name": "min.margin", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on threat", "in": "query", "name": "min.threat", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on plan", "in": "query", "name": "min.plan", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on attn", "in": "query", "name": "min.attn", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acc", "in": "query", "name": "min.acc", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on sens", "in": "query", "name": "min.sens", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on memory_n", "in": "query", "name": "min.memory_n", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on memory_own", "in": "query", "name": "min.memory_own", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on memory_base", "in": "query", "name": "min.memory_base", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on memory_mean", "in": "query", "name": "min.memory_mean", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on plan_threshold", "in": "query", "name": "min.plan_threshold", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on veto_ppm", "in": "query", "name": "min.veto_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on go_margin_ppm", "in": "query", "name": "min.go_margin_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on go_floor_ppm", "in": "query", "name": "min.go_floor_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.thalamus", "in": "query", "name": "min.acts.thalamus", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.prefrontal", "in": "query", "name": "min.acts.prefrontal", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.hippocampus", "in": "query", "name": "min.acts.hippocampus", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.amygdala", "in": "query", "name": "min.acts.amygdala", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.basal_ganglia_go", "in": "query", "name": "min.acts.basal_ganglia_go", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.basal_ganglia_nogo", "in": "query", "name": "min.acts.basal_ganglia_nogo", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.acc", "in": "query", "name": "min.acts.acc", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.cerebellum", "in": "query", "name": "min.acts.cerebellum", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.dopamine", "in": "query", "name": "min.acts.dopamine", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on go", "in": "query", "name": "max.go", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on nogo", "in": "query", "name": "max.nogo", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on margin", "in": "query", "name": "max.margin", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on threat", "in": "query", "name": "max.threat", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on plan", "in": "query", "name": "max.plan", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on attn", "in": "query", "name": "max.attn", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acc", "in": "query", "name": "max.acc", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on sens", "in": "query", "name": "max.sens", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on memory_n", "in": "query", "name": "max.memory_n", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on memory_own", "in": "query", "name": "max.memory_own", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on memory_base", "in": "query", "name": "max.memory_base", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on memory_mean", "in": "query", "name": "max.memory_mean", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on plan_threshold", "in": "query", "name": "max.plan_threshold", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on veto_ppm", "in": "query", "name": "max.veto_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on go_margin_ppm", "in": "query", "name": "max.go_margin_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on go_floor_ppm", "in": "query", "name": "max.go_floor_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.thalamus", "in": "query", "name": "max.acts.thalamus", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.prefrontal", "in": "query", "name": "max.acts.prefrontal", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.hippocampus", "in": "query", "name": "max.acts.hippocampus", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.amygdala", "in": "query", "name": "max.acts.amygdala", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.basal_ganglia_go", "in": "query", "name": "max.acts.basal_ganglia_go", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.basal_ganglia_nogo", "in": "query", "name": "max.acts.basal_ganglia_nogo", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.acc", "in": "query", "name": "max.acts.acc", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.cerebellum", "in": "query", "name": "max.acts.cerebellum", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.dopamine", "in": "query", "name": "max.acts.dopamine", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"in": "query", "name": "preset", "required": false, "schema": {"description": "named deterministic rule: memory_contributed_inhibition = RECORDED (contribution, not causation): acts.hippocampus > 0 AND memory_mean < 0 (negative polarity) AND a recorded hippocampus edge into the basal ganglia carries a non-zero inhibitory term sign * w * polarity * acts.hippocampus (< 0 into basal_ganglia_go or > 0 into basal_ganglia_nogo; w = the learned weight captured with the decision) OR the memory term of the ACC conflict drive (acts.hippocampus // 2 when plan_ok) is > 0; memory_decision_pivotal = COUNTERFACTUAL (simulated_intervention: one-step re-evaluation, learned state held fixed): Brain Lab's memory_intervention mode=remove, same experiment kernel, changes the final action of a decision whose original re-evaluation reproduces the record; recorded threat/risk vetoes are preserved (never flips). Mechanism in that context, not performance; memory_inhibited = DEPRECATED alias of memory_negative_signal (memory_n >= 1 AND memory_mean < 0); memory_negative_signal = RECORDED: memory_n >= 1 AND memory_mean < 0 (the hippocampus retrieved >= 1 episode and their weighted mean recalled return is negative: evidence associated with unfavourable outcomes was PRESENT; says nothing about whether it reached the decision); near_threshold = abs(margin - go_margin_ppm) <= band_ppm AND reason NOT IN (risk_veto, threat_veto); plan_go_final_nogo = plan >= plan_threshold (the planning circuit favoured GO: the engine's plan_ok) AND action == 'abstain'; threat_veto = reason == 'threat_veto' (threat >= veto_ppm; absolute veto)", "enum": ["memory_contributed_inhibition", "memory_decision_pivotal", "memory_inhibited", "memory_negative_signal", "near_threshold", "plan_go_final_nogo", "threat_veto"], "type": "string"}}, {"in": "query", "name": "band_ppm", "required": false, "schema": {"default": 20000, "description": "near_threshold band around go_margin_ppm (ppm)", "maximum": 200000, "minimum": 1, "type": "integer"}}, {"in": "query", "name": "cursor", "required": false, "schema": {"description": "pagination cursor: next_cursor of the previous page (seq; items are newest first)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "limit", "required": false, "schema": {"default": 25, "description": "page size (max 50)", "maximum": 50, "minimum": 1, "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"allOf": [{"$ref": "#/components/schemas/Envelope"}, {"properties": {"data": {"$ref": "#/components/schemas/SearchData"}}, "type": "object"}]}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Search recent decisions", "tags": ["public"], "x-access": "public", "x-mcp-tool": "search_decisions", "x-payable": false, "x-rate-cost": 2, "x-read-only": true, "x-unit-op": null}, "post": {"description": "FREE (public, rate limited, no wallet needed). Predicate search over recorded decision fields within each candidate's NEWEST window (default 2,000 decisions per candidate): candidate/token/action/reason/stage/source, obs/time range, numeric min/max on recorded fields (go, nogo, margin, threat, plan, acts.<node>, memory_mean, ...) and named presets, e.g. preset=plan_go_final_nogo finds decisions where the planning circuit favoured GO but the final action was NO-GO/abstain. Memory has three separate presets: memory_negative_signal (RECORDED: a negative memory signal was present), memory_contributed_inhibition (RECORDED: it entered the inhibitory pathway with a non-zero term; contribution, not causation) and memory_decision_pivotal (COUNTERFACTUAL: removing memory, memory_intervention mode=remove, changes the decision in a one-step re-evaluation with learned state held fixed; mechanism, not performance); memory_inhibited is a deprecated alias of memory_negative_signal. Each item lists the matched fields and carries its own membership label (category, evidence_class, method, interpretation, index). Evidence: RECORDED (COUNTERFACTUAL for memory_decision_pivotal). Full history: search_historical_decisions.", "operationId": "search_decisions_post", "parameters": [], "requestBody": {"content": {"application/json": {"schema": {"additionalProperties": false, "description": "newest-window search", "properties": {"action": {"enum": ["enter", "abstain"], "type": "string"}, "band_ppm": {"default": 20000, "description": "near_threshold band around go_margin_ppm (ppm)", "maximum": 200000, "minimum": 1, "type": "integer"}, "candidate": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}, "cursor": {"description": "pagination cursor: next_cursor of the previous page (seq; items are newest first)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}, "from_obs": {"description": "observation id lower bound (inclusive)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}, "from_t": {"description": "unix time lower bound", "maximum": 100000000000, "minimum": 0, "type": "integer"}, "limit": {"default": 25, "description": "page size (max 50)", "maximum": 50, "minimum": 1, "type": "integer"}, "max": {"additionalProperties": false, "description": "numeric upper bounds (inclusive) on the same fields", "properties": {"acc": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.acc": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.amygdala": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.basal_ganglia_go": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.basal_ganglia_nogo": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.cerebellum": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.dopamine": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.hippocampus": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.prefrontal": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.thalamus": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "attn": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go_floor_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go_margin_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "margin": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_base": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_mean": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_n": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_own": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "nogo": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "plan": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "plan_threshold": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "sens": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "threat": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "veto_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, "type": "object"}, "min": {"additionalProperties": false, "description": "numeric lower bounds (inclusive) on recorded fields: go, nogo, margin, threat, plan, attn, acc, sens, memory_n, memory_own, memory_base, memory_mean, plan_threshold, veto_ppm, go_margin_ppm, go_floor_ppm, acts.thalamus, acts.prefrontal, acts.hippocampus, acts.amygdala, acts.basal_ganglia_go, acts.basal_ganglia_nogo, acts.acc, acts.cerebellum, acts.dopamine", "properties": {"acc": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.acc": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.amygdala": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.basal_ganglia_go": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.basal_ganglia_nogo": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.cerebellum": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.dopamine": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.hippocampus": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.prefrontal": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.thalamus": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "attn": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go_floor_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go_margin_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "margin": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_base": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_mean": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_n": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_own": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "nogo": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "plan": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "plan_threshold": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "sens": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "threat": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "veto_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, "type": "object"}, "preset": {"description": "named deterministic rule: memory_contributed_inhibition = RECORDED (contribution, not causation): acts.hippocampus > 0 AND memory_mean < 0 (negative polarity) AND a recorded hippocampus edge into the basal ganglia carries a non-zero inhibitory term sign * w * polarity * acts.hippocampus (< 0 into basal_ganglia_go or > 0 into basal_ganglia_nogo; w = the learned weight captured with the decision) OR the memory term of the ACC conflict drive (acts.hippocampus // 2 when plan_ok) is > 0; memory_decision_pivotal = COUNTERFACTUAL (simulated_intervention: one-step re-evaluation, learned state held fixed): Brain Lab's memory_intervention mode=remove, same experiment kernel, changes the final action of a decision whose original re-evaluation reproduces the record; recorded threat/risk vetoes are preserved (never flips). Mechanism in that context, not performance; memory_inhibited = DEPRECATED alias of memory_negative_signal (memory_n >= 1 AND memory_mean < 0); memory_negative_signal = RECORDED: memory_n >= 1 AND memory_mean < 0 (the hippocampus retrieved >= 1 episode and their weighted mean recalled return is negative: evidence associated with unfavourable outcomes was PRESENT; says nothing about whether it reached the decision); near_threshold = abs(margin - go_margin_ppm) <= band_ppm AND reason NOT IN (risk_veto, threat_veto); plan_go_final_nogo = plan >= plan_threshold (the planning circuit favoured GO: the engine's plan_ok) AND action == 'abstain'; threat_veto = reason == 'threat_veto' (threat >= veto_ppm; absolute veto)", "enum": ["memory_contributed_inhibition", "memory_decision_pivotal", "memory_inhibited", "memory_negative_signal", "near_threshold", "plan_go_final_nogo", "threat_veto"], "type": "string"}, "reason": {"description": "recorded decision reason (e.g. nogo, no_plan, threat_veto, acc_conflict, go); 'sensory_only:' prefixes are matched by the base reason", "maxLength": 64, "pattern": "[a-z_:]{1,40}", "type": "string"}, "source": {"description": "decision source: sensory evidence only or specialist ensemble", "enum": ["sensory", "ensemble"], "type": "string"}, "stage": {"description": "recorded stage: veto, threshold, margin, execution, ...", "maxLength": 64, "pattern": "[a-z]{1,16}", "type": "string"}, "to_obs": {"description": "upper bound (inclusive)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}, "to_t": {"description": "unix time upper bound", "maximum": 100000000000, "minimum": 0, "type": "integer"}, "token": {"description": "token address; decision records store the shortened form 0xabcd...1234", "maxLength": 42, "pattern": "0x[0-9a-fA-F]{40}|0x[0-9a-fA-F]{4}\\.\\.\\.[0-9a-fA-F]{4}", "type": "string"}}, "type": "object"}}}, "required": false}, "responses": {"200": {"content": {"application/json": {"schema": {"allOf": [{"$ref": "#/components/schemas/Envelope"}, {"properties": {"data": {"$ref": "#/components/schemas/SearchData"}}, "type": "object"}]}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Search recent decisions", "tags": ["public"], "x-access": "public", "x-mcp-tool": "search_decisions", "x-payable": false, "x-rate-cost": 2, "x-read-only": true, "x-unit-op": null}}, "/api/v1/search/historical-decisions": {"get": {"description": "MEMBER: needs a Brain Lab session or research token of a qualifying wallet (Researcher: iMORPH held in the wallet + iMORPH Earn-staked >= 0.1% of MORPH totalSupply (1,000,000 iMORPH at the current supply); Advanced Researcher: iMORPH Earn-STAKED >= 0.2% of MORPH totalSupply (2,000,000 iMORPH; staked only, held iMORPH does not count) OR an eligible AlphaMorph Model Lineage League (AMLL) NFT OR the Team allowlist) and draws from that wallet's daily allowance. PAYABLE: without a covering membership it can be bought per call with x402 (USDG) when payments are on. Same predicates and presets as search_decisions over the FULL recorded history, larger pages (max 200); every item carries the same per-item membership label. Op research.search. Evidence: RECORDED (COUNTERFACTUAL for memory_decision_pivotal).", "operationId": "search_historical_decisions_get", "parameters": [{"in": "query", "name": "candidate", "required": false, "schema": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}}, {"in": "query", "name": "token", "required": false, "schema": {"description": "token address; decision records store the shortened form 0xabcd...1234", "maxLength": 42, "pattern": "0x[0-9a-fA-F]{40}|0x[0-9a-fA-F]{4}\\.\\.\\.[0-9a-fA-F]{4}", "type": "string"}}, {"in": "query", "name": "action", "required": false, "schema": {"enum": ["enter", "abstain"], "type": "string"}}, {"in": "query", "name": "reason", "required": false, "schema": {"description": "recorded decision reason (e.g. nogo, no_plan, threat_veto, acc_conflict, go); 'sensory_only:' prefixes are matched by the base reason", "maxLength": 64, "pattern": "[a-z_:]{1,40}", "type": "string"}}, {"in": "query", "name": "stage", "required": false, "schema": {"description": "recorded stage: veto, threshold, margin, execution, ...", "maxLength": 64, "pattern": "[a-z]{1,16}", "type": "string"}}, {"in": "query", "name": "source", "required": false, "schema": {"description": "decision source: sensory evidence only or specialist ensemble", "enum": ["sensory", "ensemble"], "type": "string"}}, {"in": "query", "name": "from_obs", "required": false, "schema": {"description": "observation id lower bound (inclusive)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "to_obs", "required": false, "schema": {"description": "upper bound (inclusive)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "from_t", "required": false, "schema": {"description": "unix time lower bound", "maximum": 100000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "to_t", "required": false, "schema": {"description": "unix time upper bound", "maximum": 100000000000, "minimum": 0, "type": "integer"}}, {"description": "min bound on go", "in": "query", "name": "min.go", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on nogo", "in": "query", "name": "min.nogo", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on margin", "in": "query", "name": "min.margin", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on threat", "in": "query", "name": "min.threat", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on plan", "in": "query", "name": "min.plan", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on attn", "in": "query", "name": "min.attn", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acc", "in": "query", "name": "min.acc", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on sens", "in": "query", "name": "min.sens", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on memory_n", "in": "query", "name": "min.memory_n", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on memory_own", "in": "query", "name": "min.memory_own", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on memory_base", "in": "query", "name": "min.memory_base", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on memory_mean", "in": "query", "name": "min.memory_mean", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on plan_threshold", "in": "query", "name": "min.plan_threshold", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on veto_ppm", "in": "query", "name": "min.veto_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on go_margin_ppm", "in": "query", "name": "min.go_margin_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on go_floor_ppm", "in": "query", "name": "min.go_floor_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.thalamus", "in": "query", "name": "min.acts.thalamus", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.prefrontal", "in": "query", "name": "min.acts.prefrontal", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.hippocampus", "in": "query", "name": "min.acts.hippocampus", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.amygdala", "in": "query", "name": "min.acts.amygdala", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.basal_ganglia_go", "in": "query", "name": "min.acts.basal_ganglia_go", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.basal_ganglia_nogo", "in": "query", "name": "min.acts.basal_ganglia_nogo", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.acc", "in": "query", "name": "min.acts.acc", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.cerebellum", "in": "query", "name": "min.acts.cerebellum", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "min bound on acts.dopamine", "in": "query", "name": "min.acts.dopamine", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on go", "in": "query", "name": "max.go", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on nogo", "in": "query", "name": "max.nogo", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on margin", "in": "query", "name": "max.margin", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on threat", "in": "query", "name": "max.threat", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on plan", "in": "query", "name": "max.plan", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on attn", "in": "query", "name": "max.attn", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acc", "in": "query", "name": "max.acc", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on sens", "in": "query", "name": "max.sens", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on memory_n", "in": "query", "name": "max.memory_n", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on memory_own", "in": "query", "name": "max.memory_own", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on memory_base", "in": "query", "name": "max.memory_base", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on memory_mean", "in": "query", "name": "max.memory_mean", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on plan_threshold", "in": "query", "name": "max.plan_threshold", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on veto_ppm", "in": "query", "name": "max.veto_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on go_margin_ppm", "in": "query", "name": "max.go_margin_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on go_floor_ppm", "in": "query", "name": "max.go_floor_ppm", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.thalamus", "in": "query", "name": "max.acts.thalamus", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.prefrontal", "in": "query", "name": "max.acts.prefrontal", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.hippocampus", "in": "query", "name": "max.acts.hippocampus", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.amygdala", "in": "query", "name": "max.acts.amygdala", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.basal_ganglia_go", "in": "query", "name": "max.acts.basal_ganglia_go", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.basal_ganglia_nogo", "in": "query", "name": "max.acts.basal_ganglia_nogo", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.acc", "in": "query", "name": "max.acts.acc", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.cerebellum", "in": "query", "name": "max.acts.cerebellum", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"description": "max bound on acts.dopamine", "in": "query", "name": "max.acts.dopamine", "required": false, "schema": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, {"in": "query", "name": "preset", "required": false, "schema": {"description": "named deterministic rule: memory_contributed_inhibition = RECORDED (contribution, not causation): acts.hippocampus > 0 AND memory_mean < 0 (negative polarity) AND a recorded hippocampus edge into the basal ganglia carries a non-zero inhibitory term sign * w * polarity * acts.hippocampus (< 0 into basal_ganglia_go or > 0 into basal_ganglia_nogo; w = the learned weight captured with the decision) OR the memory term of the ACC conflict drive (acts.hippocampus // 2 when plan_ok) is > 0; memory_decision_pivotal = COUNTERFACTUAL (simulated_intervention: one-step re-evaluation, learned state held fixed): Brain Lab's memory_intervention mode=remove, same experiment kernel, changes the final action of a decision whose original re-evaluation reproduces the record; recorded threat/risk vetoes are preserved (never flips). Mechanism in that context, not performance; memory_inhibited = DEPRECATED alias of memory_negative_signal (memory_n >= 1 AND memory_mean < 0); memory_negative_signal = RECORDED: memory_n >= 1 AND memory_mean < 0 (the hippocampus retrieved >= 1 episode and their weighted mean recalled return is negative: evidence associated with unfavourable outcomes was PRESENT; says nothing about whether it reached the decision); near_threshold = abs(margin - go_margin_ppm) <= band_ppm AND reason NOT IN (risk_veto, threat_veto); plan_go_final_nogo = plan >= plan_threshold (the planning circuit favoured GO: the engine's plan_ok) AND action == 'abstain'; threat_veto = reason == 'threat_veto' (threat >= veto_ppm; absolute veto)", "enum": ["memory_contributed_inhibition", "memory_decision_pivotal", "memory_inhibited", "memory_negative_signal", "near_threshold", "plan_go_final_nogo", "threat_veto"], "type": "string"}}, {"in": "query", "name": "band_ppm", "required": false, "schema": {"default": 20000, "description": "near_threshold band around go_margin_ppm (ppm)", "maximum": 200000, "minimum": 1, "type": "integer"}}, {"in": "query", "name": "cursor", "required": false, "schema": {"description": "pagination cursor: next_cursor of the previous page (seq; items are newest first)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}}, {"in": "query", "name": "limit", "required": false, "schema": {"default": 25, "description": "page size (max 200)", "maximum": 200, "minimum": 1, "type": "integer"}}], "responses": {"200": {"content": {"application/json": {"schema": {"allOf": [{"$ref": "#/components/schemas/Envelope"}, {"properties": {"data": {"$ref": "#/components/schemas/SearchData"}}, "type": "object"}]}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}, {}], "summary": "Search the full decision history", "tags": ["protected"], "x-access": "protected", "x-mcp-tool": "search_historical_decisions", "x-payable": true, "x-rate-cost": 2, "x-read-only": true, "x-unit-op": "research.search"}, "post": {"description": "MEMBER: needs a Brain Lab session or research token of a qualifying wallet (Researcher: iMORPH held in the wallet + iMORPH Earn-staked >= 0.1% of MORPH totalSupply (1,000,000 iMORPH at the current supply); Advanced Researcher: iMORPH Earn-STAKED >= 0.2% of MORPH totalSupply (2,000,000 iMORPH; staked only, held iMORPH does not count) OR an eligible AlphaMorph Model Lineage League (AMLL) NFT OR the Team allowlist) and draws from that wallet's daily allowance. PAYABLE: without a covering membership it can be bought per call with x402 (USDG) when payments are on. Same predicates and presets as search_decisions over the FULL recorded history, larger pages (max 200); every item carries the same per-item membership label. Op research.search. Evidence: RECORDED (COUNTERFACTUAL for memory_decision_pivotal).", "operationId": "search_historical_decisions", "parameters": [], "requestBody": {"content": {"application/json": {"schema": {"additionalProperties": false, "description": "full-history search", "properties": {"action": {"enum": ["enter", "abstain"], "type": "string"}, "band_ppm": {"default": 20000, "description": "near_threshold band around go_margin_ppm (ppm)", "maximum": 200000, "minimum": 1, "type": "integer"}, "candidate": {"description": "candidate id, e.g. c0 (the root/baseline circuit) or c12", "maxLength": 64, "pattern": "c[0-9]{1,5}", "type": "string"}, "cursor": {"description": "pagination cursor: next_cursor of the previous page (seq; items are newest first)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}, "from_obs": {"description": "observation id lower bound (inclusive)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}, "from_t": {"description": "unix time lower bound", "maximum": 100000000000, "minimum": 0, "type": "integer"}, "limit": {"default": 25, "description": "page size (max 200)", "maximum": 200, "minimum": 1, "type": "integer"}, "max": {"additionalProperties": false, "description": "numeric upper bounds (inclusive) on the same fields", "properties": {"acc": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.acc": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.amygdala": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.basal_ganglia_go": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.basal_ganglia_nogo": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.cerebellum": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.dopamine": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.hippocampus": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.prefrontal": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.thalamus": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "attn": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go_floor_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go_margin_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "margin": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_base": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_mean": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_n": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_own": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "nogo": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "plan": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "plan_threshold": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "sens": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "threat": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "veto_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, "type": "object"}, "min": {"additionalProperties": false, "description": "numeric lower bounds (inclusive) on recorded fields: go, nogo, margin, threat, plan, attn, acc, sens, memory_n, memory_own, memory_base, memory_mean, plan_threshold, veto_ppm, go_margin_ppm, go_floor_ppm, acts.thalamus, acts.prefrontal, acts.hippocampus, acts.amygdala, acts.basal_ganglia_go, acts.basal_ganglia_nogo, acts.acc, acts.cerebellum, acts.dopamine", "properties": {"acc": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.acc": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.amygdala": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.basal_ganglia_go": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.basal_ganglia_nogo": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.cerebellum": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.dopamine": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.hippocampus": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.prefrontal": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "acts.thalamus": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "attn": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go_floor_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "go_margin_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "margin": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_base": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_mean": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_n": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "memory_own": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "nogo": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "plan": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "plan_threshold": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "sens": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "threat": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}, "veto_ppm": {"maximum": 1000000000, "minimum": -1000000000, "type": "integer"}}, "type": "object"}, "preset": {"description": "named deterministic rule: memory_contributed_inhibition = RECORDED (contribution, not causation): acts.hippocampus > 0 AND memory_mean < 0 (negative polarity) AND a recorded hippocampus edge into the basal ganglia carries a non-zero inhibitory term sign * w * polarity * acts.hippocampus (< 0 into basal_ganglia_go or > 0 into basal_ganglia_nogo; w = the learned weight captured with the decision) OR the memory term of the ACC conflict drive (acts.hippocampus // 2 when plan_ok) is > 0; memory_decision_pivotal = COUNTERFACTUAL (simulated_intervention: one-step re-evaluation, learned state held fixed): Brain Lab's memory_intervention mode=remove, same experiment kernel, changes the final action of a decision whose original re-evaluation reproduces the record; recorded threat/risk vetoes are preserved (never flips). Mechanism in that context, not performance; memory_inhibited = DEPRECATED alias of memory_negative_signal (memory_n >= 1 AND memory_mean < 0); memory_negative_signal = RECORDED: memory_n >= 1 AND memory_mean < 0 (the hippocampus retrieved >= 1 episode and their weighted mean recalled return is negative: evidence associated with unfavourable outcomes was PRESENT; says nothing about whether it reached the decision); near_threshold = abs(margin - go_margin_ppm) <= band_ppm AND reason NOT IN (risk_veto, threat_veto); plan_go_final_nogo = plan >= plan_threshold (the planning circuit favoured GO: the engine's plan_ok) AND action == 'abstain'; threat_veto = reason == 'threat_veto' (threat >= veto_ppm; absolute veto)", "enum": ["memory_contributed_inhibition", "memory_decision_pivotal", "memory_inhibited", "memory_negative_signal", "near_threshold", "plan_go_final_nogo", "threat_veto"], "type": "string"}, "reason": {"description": "recorded decision reason (e.g. nogo, no_plan, threat_veto, acc_conflict, go); 'sensory_only:' prefixes are matched by the base reason", "maxLength": 64, "pattern": "[a-z_:]{1,40}", "type": "string"}, "source": {"description": "decision source: sensory evidence only or specialist ensemble", "enum": ["sensory", "ensemble"], "type": "string"}, "stage": {"description": "recorded stage: veto, threshold, margin, execution, ...", "maxLength": 64, "pattern": "[a-z]{1,16}", "type": "string"}, "to_obs": {"description": "upper bound (inclusive)", "maximum": 1000000000000, "minimum": 0, "type": "integer"}, "to_t": {"description": "unix time upper bound", "maximum": 100000000000, "minimum": 0, "type": "integer"}, "token": {"description": "token address; decision records store the shortened form 0xabcd...1234", "maxLength": 42, "pattern": "0x[0-9a-fA-F]{40}|0x[0-9a-fA-F]{4}\\.\\.\\.[0-9a-fA-F]{4}", "type": "string"}}, "type": "object"}}}, "required": false}, "responses": {"200": {"content": {"application/json": {"schema": {"allOf": [{"$ref": "#/components/schemas/Envelope"}, {"properties": {"data": {"$ref": "#/components/schemas/SearchData"}}, "type": "object"}]}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}, {}], "summary": "Search the full decision history", "tags": ["protected"], "x-access": "protected", "x-mcp-tool": "search_historical_decisions", "x-payable": true, "x-rate-cost": 2, "x-read-only": true, "x-unit-op": "research.search"}}, "/api/v1/status": {"get": {"description": "FREE (public, rate limited, no wallet needed). Dataset id/label/as_of and data age, chain-match result of the replay, refresh status, record counts, evidence legend, API version and whether the LIVE passthrough is up. Evidence: RECORDED (SYNTHETIC on the fixture).", "operationId": "get_brain_status", "parameters": [], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{}, {"bearer": []}], "summary": "Brain status", "tags": ["public"], "x-access": "public", "x-mcp-tool": "get_brain_status", "x-payable": false, "x-rate-cost": 1, "x-read-only": true, "x-unit-op": null}}, "/api/v1/tokens": {"get": {"operationId": "list_research_tokens", "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "ok"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}], "summary": "List your active tokens (no secrets)"}, "post": {"operationId": "create_research_token", "requestBody": {"content": {"application/json": {"schema": {"additionalProperties": false, "properties": {"label": {"maxLength": 64, "type": "string"}, "scopes": {"items": {"enum": ["research:read", "research:experiments"]}, "maxItems": 2, "minItems": 1, "type": "array"}, "ttl_days": {"default": 30, "maximum": 90, "minimum": 1, "type": "integer"}}, "type": "object"}}}, "required": false}, "responses": {"201": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "token issued"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}], "summary": "Issue a research token (needs a Brain Lab session bearer; the token is shown ONCE)"}}, "/api/v1/tokens/{token_id}": {"delete": {"operationId": "revoke_research_token", "parameters": [{"in": "path", "name": "token_id", "required": true, "schema": {"pattern": "^tok_[0-9a-f]{24}$", "type": "string"}}], "responses": {"200": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Envelope"}}}, "description": "revoked"}, "400": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "invalid request"}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "sign-in required / invalid token"}, "402": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "payment required (x402 v2; PAYMENT-REQUIRED header)"}, "403": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "tier / scope does not allow this"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "not found"}, "429": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "rate limited / allowance exhausted (Retry-After)"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "internal error (incl. unlabelled_evidence: fail closed)"}, "503": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "description": "global budget exhausted / LIVE upstream unavailable (never a 402)"}}, "security": [{"bearer": []}], "summary": "Revoke one of your tokens"}}}, "servers": [{"url": "https://lab.alphamorph.si"}]}