PalveronPalveronDocs

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. Use enforced to drive your "audit-ready" gauge.

GET /api/v1/compliance/report

GET /api/v1/compliance/report?from=2026-01-01&to=2026-03-31
QueryDefaultValues
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 the dashboard), 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:

FieldMeaning
trace_idID of the trace
integrity_hashStored integrity value of the trace (64 hex digits, no prefix)
flare_tx_hashTransaction 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.

  1. The leaf is the stored integrity value (integrity_hash).
  2. The proof is the stored list of siblings: blockchain_proof.merkle_proof (from the leaf up) with blockchain_proof.merkle_proof_sibling_sides ("right" or "left" per sibling).
  3. 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 left SHA-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.
  4. 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.

statusstatus_reasonMeaning
VERIFIED_ONCHAINnullThe stored proof leads from the stored integrity value to the stored root, and the chain records that root as anchored.
MISMATCHproof_does_not_reach_rootContradiction: the stored proof does not lead from the stored integrity value to the stored root (the chain is not asked).
MISMATCHroot_not_on_chainContradiction: the chain does not record the stored root, although the trace is marked as anchored.
NOT_VERIFIABLEanchor_record_missingMarked as anchored, but there is no anchor record for the trace's batch.
NOT_VERIFIABLEanchor_root_missingThe anchor record carries no root (empty or all zeros).
NOT_VERIFIABLEintegrity_hash_missingThe trace carries no integrity value.
NOT_VERIFIABLEproof_missingA batch of several traces, but no stored proof (absent, JSON null or an empty list).
NOT_VERIFIABLEproof_unreadableThe stored proof is not a list of pairs [sibling of 64 hex digits, boolean].
VERIFICATION_UNAVAILABLEnullThe 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_PENDINGnullQueued for anchoring, not anchored yet.
LOCAL_NOT_ANCHOREDnullNot 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.

FieldContent
verification_method"stored_merkle_proof_onchain_root" for VERIFIED_ONCHAIN, otherwise "none"
trace_id, integrity_hashID and stored integrity value of the trace
blockchain_proofnull, except for a real (not simulated) anchoring with a stored root; then the object below
fallback_reasonCode of an anchoring fallback, otherwise null
what_this_provesFixed English sentence per status
verified_atTime 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"}}:

HTTPerror.codeWhen
400validation_errornone of the three identifiers set
404not_foundno trace for the identifier
429rate_limitedmore than 30 requests per IP address in 60 seconds
503service_unavailablethe trace or its anchor record could not be read; the check established nothing, the request can be retried
500internalthe 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."
}
FieldRequiredDescription
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).

On this page