Compliance
Read compliance posture, generate Annex IV reports, and verify Flare attestations.
These endpoints expose the compliance engine: framework-by-framework readiness, exportable evidence, and public attestation verification.
Palveron is not itself certified under SOC 2, ISO 27001, ISO 42001, or HIPAA. The platform provides controls, evidence, and reporting so that your project can pursue and maintain those certifications. The framework listings below describe what Palveron supports, not certifications Palveron holds.
GET /api/v1/compliance/dashboard
Returns the current readiness state for every framework that customers can enable on the project. Palveron supports controls for EU AI Act, DORA, NIST AI RMF, GDPR, HIPAA, SOC 2, ISO 27001, ISO 42001, OWASP Agentic, Singapore PDPA, and Colorado AI.
{
"frameworks": [
{
"id": "eu_ai_act",
"name": "EU AI Act",
"readiness_pct": 0.87,
"missing_controls": 2,
"implemented_controls": 18,
"enforced_controls": 14
}
],
"controls": [
{
"id": "ctrl.shadow_ai.asset_inventory",
"status": "enforced",
"frameworks": ["eu_ai_act", "dora", "nist_ai_rmf"]
}
]
}Statuses: missing, documented, partial, implemented, enforced. enforced means the platform enforces the measure technically. Whether an obligation is met is decided by your audit, not by this status.
GET /api/v1/compliance/report
GET /api/v1/compliance/report?from=2026-01-01&to=2026-03-31| Query | Default | Values |
|---|---|---|
from | — (optional) | ISO 8601 date (e.g. 2026-01-01): start of the trace date range |
to | — (optional) | ISO 8601 date: end of the trace date range |
Generates the full compliance evidence report as a PDF (application/pdf, download attachment). The report always covers all frameworks active on the project and includes: project metadata, the compliance score with its per-dimension breakdown (same calculation as GET /api/v1/compliance/dashboard; the overview of the Compliance Hub does not show it), trace statistics, agent inventory, policy catalogue, recent traces, Flare anchoring configuration, the project's resolved data-retention posture, and the NGE analysis architecture. from/to scope the trace statistics; omitting both produces an all-time report.
Invalid from/to values return 400 with error.code validation_error. Date filters are never silently dropped.
Requires the compliance_report_pdf feature; plans without it receive 403 with error.code forbidden.
POST /api/v1/verify-proof
Public endpoint, no authentication required. It checks one trace against its anchoring on the Flare blockchain, so that external auditors can confirm a governance decision without an account on your project. The check makes a later change visible; it does not prevent one. Each IP address may send 30 requests per 60 seconds.
The request body carries exactly one identifier; if several are set, the first in this order counts:
| Field | Meaning |
|---|---|
trace_id | ID of the trace |
integrity_hash | Stored integrity value of the trace (64 hex digits, no prefix) |
flare_tx_hash | Transaction of the anchoring; the first trace with this value is checked |
{ "trace_id": "cm2x9trace0001" }What is checked
An anchored trace is checked over its own stored Merkle proof; no other trace of its batch is read.
- The leaf is the stored integrity value (
integrity_hash). - The proof is the stored list of siblings:
blockchain_proof.merkle_proof(from the leaf up) withblockchain_proof.merkle_proof_sibling_sides("right"or"left"per sibling). - Starting with the leaf, each step takes SHA-256 over the raw 32 bytes: for a sibling on the right
SHA-256(node ‖ sibling), for a sibling on the leftSHA-256(sibling ‖ node). The result of the last step, as lowercase hex, must be the root stored for the batch (blockchain_proof.merkle_root). In a batch of one trace the list is empty and the leaf is the root. - Only when the proof leads to the stored root does the gateway ask the notary contract at the address of the batch once whether the chain records exactly that root. The anchoring time the chain records is
blockchain_proof.onchain_anchored_at.
With steps 2 and 3 you can recompute the root from the answer alone; step 4 you can retrace in the Flare Block Explorer (blockchain_proof.explorer_url).
Answer (HTTP 200)
{
"verification_result": {
"verified": true,
"status": "VERIFIED_ONCHAIN",
"status_reason": null,
"verification_method": "stored_merkle_proof_onchain_root",
"trace_id": "cm2x9trace0001",
"integrity_hash": "3f9a1c0e5b7d2a4f6c8e0b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1a",
"blockchain_proof": {
"network": "Flare Coston2 Testnet",
"chain_id": "114",
"tx_hash": "0x8b4e2f6a0c1d3e5f7a9b1c3d5e7f9a1b3c5d7e9f1a3b5c7d9e1f3a5b7c9d1e3f",
"block_number": 18734521,
"merkle_root": "c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2",
"merkle_proof": ["7e6d5c4b3a29180f7e6d5c4b3a29180f7e6d5c4b3a29180f7e6d5c4b3a29180f"],
"merkle_proof_sibling_sides": ["right"],
"batch_trace_count": 2,
"onchain_root_confirmed": true,
"onchain_anchored_at": "2026-10-22T09:00:12+00:00",
"explorer_url": "https://coston2-explorer.flare.network/tx/0x8b4e2f6a0c1d3e5f7a9b1c3d5e7f9a1b3c5d7e9f1a3b5c7d9e1f3a5b7c9d1e3f"
},
"fallback_reason": null,
"what_this_proves": "This record's stored integrity hash, combined with its stored Merkle proof (recomputed here with SHA-256), yields the Merkle root stored for its anchor batch, and the Flare blockchain records that root as anchored at the time given in onchain_anchored_at. A later change to this record's integrity hash or to its proof would no longer yield that root and would be detectable by this check.",
"verified_at": "2026-10-22T09:14:03.512331+00:00"
}
}verification_result.status takes exactly one of six values. Where a status has several cases, status_reason names the case; otherwise it is null. verified is true only for VERIFIED_ONCHAIN. Treat status as an open set: a value you do not know is neither a confirmation nor an alarm.
status | status_reason | Meaning |
|---|---|---|
VERIFIED_ONCHAIN | null | The stored proof leads from the stored integrity value to the stored root, and the chain records that root as anchored. |
MISMATCH | proof_does_not_reach_root | Contradiction: the stored proof does not lead from the stored integrity value to the stored root (the chain is not asked). |
MISMATCH | root_not_on_chain | Contradiction: the chain does not record the stored root, although the trace is marked as anchored. |
NOT_VERIFIABLE | anchor_record_missing | Marked as anchored, but there is no anchor record for the trace's batch. |
NOT_VERIFIABLE | anchor_root_missing | The anchor record carries no root (empty or all zeros). |
NOT_VERIFIABLE | integrity_hash_missing | The trace carries no integrity value. |
NOT_VERIFIABLE | proof_missing | A batch of several traces, but no stored proof (absent, JSON null or an empty list). |
NOT_VERIFIABLE | proof_unreadable | The stored proof is not a list of pairs [sibling of 64 hex digits, boolean]. |
VERIFICATION_UNAVAILABLE | null | The stored proof leads to the stored root, but the chain could not be reached (RPC error or 8 seconds without an answer). No integrity finding; retry later. |
ANCHORED_PENDING | null | Queued for anchoring, not anchored yet. |
LOCAL_NOT_ANCHORED | null | Not anchored: anchoring was not applied, was skipped or failed, or was only simulated. There is no on-chain root to check. |
Only the two MISMATCH cases indicate a possible change. NOT_VERIFIABLE says nothing about the content of the trace.
| Field | Content |
|---|---|
verification_method | "stored_merkle_proof_onchain_root" for VERIFIED_ONCHAIN, otherwise "none" |
trace_id, integrity_hash | ID and stored integrity value of the trace |
blockchain_proof | null, except for a real (not simulated) anchoring with a stored root; then the object below |
fallback_reason | Code of an anchoring fallback, otherwise null |
what_this_proves | Fixed English sentence per status |
verified_at | Time of the check (the gateway's clock), not the anchoring time |
blockchain_proof: network, chain_id (string), tx_hash, block_number, merkle_root (stored root), merkle_proof (siblings as strings, null when the stored proof could not be read), merkle_proof_sibling_sides (null like merkle_proof), batch_trace_count (number of traces at anchoring), onchain_root_confirmed (true only when the chain records the root), onchain_anchored_at (anchoring time according to the chain, RFC 3339, otherwise null), explorer_url.
The answer names no number of deleted or remaining traces of a batch.
Errors
Errors are not outcomes of the check. They come in the gateway's error shape {"error": {"code", "message", "request_id"}}:
| HTTP | error.code | When |
|---|---|---|
400 | validation_error | none of the three identifiers set |
404 | not_found | no trace for the identifier |
429 | rate_limited | more than 30 requests per IP address in 60 seconds |
503 | service_unavailable | the trace or its anchor record could not be read; the check established nothing, the request can be retried |
500 | internal | the anchoring state of the trace is outside its known values |
POST /api/v1/compliance/incidents
Report a compliance incident (EU AI Act Art. 73, serious incident reporting).
{
"title": "Biased output in HR screening",
"description": "Agent produced biased output in HR screening.",
"severity": "HIGH",
"incident_type": "fundamental_rights",
"agent_id": "ckagent...",
"affected_users": 12,
"immediate_action": "Agent paused pending review."
}| Field | Required | Description |
|---|---|---|
title | ✅ | Short incident title |
description | ✅ | What happened |
severity | — | e.g. HIGH |
incident_type | — | Free-form category (e.g. fundamental_rights) |
ai_system_id | — | Related registered AI system |
agent_id | — | Related agent |
affected_users | — | Number of affected persons |
immediate_action | — | Mitigation already taken |
The endpoint creates an incident record; incidents are always captured by the attestation rules. Use GET /api/v1/compliance/incidents to list incidents (filters: status, severity, limit, offset).