ARKHEIA 7 / v1.0.1

From intent to verification.

Read the public clearance head, submit signed Mandate or Aegis artifacts, and verify receipt signatures with the pinned engine public key.

Versioned wire contract

These examples use the supplied ARKHEIA clearance wire specification. The live OpenAPI lists the routes but omits their schemas. The provided lease and mandate signatures verify offline; they have not been replayed against the live service.

API base URL

HTTPS
https://arkheia-cps-10.onrender.com

Clients never send issuer seeds or private signing material. Request bodies use strict JSON: no duplicate keys, floats, unknown schema fields, or unsafe integers. The wire body limit is 65,536 bytes.

GET/api/clearance/head

01. Read the clearance head

Inspect the policy version, logical clock, chain head, active key ID, and public engine key. Compare both key fields with independently trusted pins.

BASH
curl --fail-with-body --max-time 20 \
  https://arkheia-cps-10.onrender.com/api/clearance/head
Initial observed head snapshot
JSON · INITIAL SNAPSHOT, NOT CURRENT STATE
{
  "engine_public_key": "9e2c04f0027bce2844eb10241a9b107d215d0dfa384c537acf45d75d4f97aa27",
  "public_key_id": "ed25519:a2008a603a195230",
  "policy_version": "arkheia.mandate-aegis/1.0.1",
  "head_hash": "0000000000000000000000000000000000000000000000000000000000000000",
  "lamport": 0,
  "length": 0
}

lamport is a logical clock, not wall-clock time. Always fetch a current head before preparing a new signed artifact.

POST/api/mandate/verify

02. Verify a signed mandate

The closed request contains type, mandate_id, lamport, tool_call, pool, allocations, lease, delegations, actor, and sig. All are required. The actor signs the mandate; the trusted issuer signs the embedded CUSTOS lease.

BASH
curl --fail-with-body --max-time 20 -X POST \
  https://arkheia-cps-10.onrender.com/api/mandate/verify \
  -H 'Content-Type: application/json' \
  --data-binary @mandate-request.json

Use a fresh signed mandate-request.json. Mandate IDs are single-use. The action must lie within the effective grant’s scopes, budget, and Lamport validity window. Allocation basis points sum to 10,000 and must conserve the integer pool.

Download the offline signed fixture
Do not replay the fixture

The fixture names payments.transfer. It proves the supplied signing format locally; it is not a reusable payment approval or a safe live test payload.

POST/api/aegis/evaluate

03. Evaluate with Aegis-Swarm

Submit a signed OBSERVATION or HUMAN_RELEASE artifact. Observations are signed by a trusted sensor. Human releases carry approvals from the configured release authorities.

BASH
curl --fail-with-body --max-time 20 -X POST \
  https://arkheia-cps-10.onrender.com/api/aegis/evaluate \
  -H 'Content-Type: application/json' \
  --data-binary @aegis-request.json
Human release field template
USER-SUPPLIED TEMPLATE · REPLACE AND SIGN PLACEHOLDERS
{
  "type": "HUMAN_RELEASE",
  "subject": "<hex32>",
  "quarantine_receipt_hash": "<hex32>",
  "policy_version": "arkheia.mandate-aegis/1.0.1",
  "invariant_check": {"passed": true, "evidence_digest": "<hex32>"},
  "lamport": 0,
  "nonce": "<hex16>",
  "approvals": [{"authority": "<hex32>", "sig": "<hex64>"}]
}

This field template was supplied separately by the user; the attached wire excerpt ends during OBSERVATION. Each approval signs ARKHEIA/aegis/human-release/v1, a zero byte, and JCS of the artifact without approvals. Never send the placeholder template as a signed artifact.

Handle rejections explicitly

Malformed or unauthorized requests return opaque rejections. A receipt_hash is not a signature or execution permit. Empty JSON currently returns HTTP 403.

HTTP 403 · OBSERVED
{
  "schema": "ARKHEIA/clearance/rejection/v1",
  "code": "X*",
  "decision": "REJECTED",
  "receipt_hash": "…"
}
Use a client wrapper

Download the supplied wire specification

Public API contract observed November 28, 2026.View source