Platform API ClientClient group4 methodsProofsMethods

Proofs

Generate, fetch, and verify compliance artifacts. Supports synchronous responses and asynchronous job-based proof generation.

Proof creationArtifact verificationList and retrieval APIs

Proofs

proofs.create()
Curated exampleHTTP endpoint wrapperPOST /api/v1/proofs

POST /api/v1/proofs

Signature

create(request: ComplianceProofRequest): Promise<CreateProofResponse | AsyncProofResponse>

Parameters

NameTypeFlags
requestComplianceProofRequestrequired
TypeScript SDKTypeScript
const proof = await client.proofs.create({
  runId: "run_checkout_001",
  schemaVersion: "v2",
  composed: {
    layers: ["event_integrity", "causal_consistency", "policy_compliance"],
  },
});

if ("proofId" in proof) {
  console.log("Proof ready:", proof.proofId);
} else {
  console.log("Queued proof job:", proof.jobId);
}

Response

{
  "proofId": "prf_01JAZ3R7M5SJNE3Z7S4AW1PQ2N",
  "runId": "run_checkout_001",
  "schemaVersion": "v2",
  "proofHash": "4ea9d0...",
  "layers": [...],
  "createdAt": "2026-02-11T21:04:22.000Z"
}
proofs.get()
Generated exampleHTTP endpoint wrapperGET /api/v1/proofs/{proofId}

GET /api/v1/proofs/{proofId}

Signature

get(proofId: string): Promise<ProofRecord>

Parameters

NameTypeFlags
proofIdstringrequired
TypeScript SDKTypeScript
import { ArelisClient } from "@arelis-ai/governance-api-client";

const client = new ArelisClient({
  baseUrl: "https://api.arelis.digital",
  apiKey: process.env.ARELIS_API_KEY,
});

const proofId = "<proofId>";

const response = await client.proofs.get(proofId);
console.log(response);

Response

// Response type
Promise<ProofRecord>

// Inspect concrete fields from your runtime payload:
// console.log(JSON.stringify(response, null, 2));
proofs.verify()
Generated exampleHTTP endpoint wrapperPOST /api/v1/proofs/verify

POST /api/v1/proofs/verify

Signature

verify(input: ComplianceVerificationInput): Promise<VerifyProofResponse>

Parameters

NameTypeFlags
inputComplianceVerificationInputrequired
TypeScript SDKTypeScript
import { ArelisClient } from "@arelis-ai/governance-api-client";

const client = new ArelisClient({
  baseUrl: "https://api.arelis.digital",
  apiKey: process.env.ARELIS_API_KEY,
});

const input = {} as ComplianceVerificationInput;
// Fill the input payload fields before calling this method.

const response = await client.proofs.verify(input);
console.log(response);

Response

// Response type
Promise<VerifyProofResponse>

// Inspect concrete fields from your runtime payload:
// console.log(JSON.stringify(response, null, 2));
proofs.list()
Generated exampleHTTP endpoint wrapperGET /api/v1/proofs

GET /api/v1/proofs

Signature

list(params?: ListProofsParams): Promise<ListProofsResponse>

Parameters

NameTypeFlags
paramsListProofsParamsoptional
TypeScript SDKTypeScript
import { ArelisClient } from "@arelis-ai/governance-api-client";

const client = new ArelisClient({
  baseUrl: "https://api.arelis.digital",
  apiKey: process.env.ARELIS_API_KEY,
});

const params = {} as ListProofsParams;
// Fill the params payload fields before calling this method.

const response = await client.proofs.list(params);
console.log(response);

Response

// Response type
Promise<ListProofsResponse>

// Inspect concrete fields from your runtime payload:
// console.log(JSON.stringify(response, null, 2));