API PROPOSED
Versioned request and response contracts. No hosted endpoint exists yet. The sandbox below runs the same decide() function in your browser against the fixture.
The static state record, artifact index, non-claims, HOLD record and experimental Python report are downloadable JSON files, not responses from the proposed endpoints below.
Endpoints
POST /v1/decisions
POST /v1/decisions/{id}/reassess
GET /v1/receipts/{id}
POST /v1/crosswalks/{version}/evaluate # PROPOSED
POST /v1/research/spectral-runs # PROPOSED, research only
GET /v1/research/spectral-runs/{id} # PROPOSED, research only- Every decision response includes
outcome,reason_codes,fixture_or_domain,policy_ref,mapping_ref,invariant_ref,signature_verification,authority_verification,evidence_verification,valid_time,record_time,receipt_ref,reassessesanddecision_digest. Schema: decision-response.v0.json. - Research endpoints return experimental outputs and never a warrant. There is no
/zeta-zerosendpoint, and none is a governance dependency. - MCP, A2A, DID/VC, metering and settlement are possible later adapters. None is implemented, and none is a prerequisite.
Errors (proposed contract)
The sandbox exercises only 200 and 400. The other codes are specified for a future hosted API.
| HTTP | Code | Meaning |
|---|---|---|
| 200 | — | A determination was made, including HOLD. HOLD is a result, not an error. |
| 400 | MALFORMED_PROPOSAL | Request body failed schema validation. No determination is recorded. |
| 404 | UNKNOWN_RECEIPT | No receipt with that reference. |
| 409 | PRIOR_NOT_FOUND | Reassessment names a prior determination that does not exist. |
| 503 | FIXTURE_UNAVAILABLE | Referenced fixture or policy material cannot be retrieved. |
Sandbox
Loading fixture…