Skip to main content
GET
/
v1
/
compliance
/
evidence-bundle
Export a self-contained, offline-verifiable Evidence Bundle
curl --request GET \
  --url https://api.example.com/v1/compliance/evidence-bundle \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.example.com/v1/compliance/evidence-bundle"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.example.com/v1/compliance/evidence-bundle', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/compliance/evidence-bundle",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.example.com/v1/compliance/evidence-bundle"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.example.com/v1/compliance/evidence-bundle")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.example.com/v1/compliance/evidence-bundle")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "bundleVersion": "1",
  "generatedAt": "<string>",
  "tenantId": "<string>",
  "range": {
    "label": "30d",
    "days": 30,
    "receiptCount": 4821,
    "fromSeq": 1,
    "toSeq": 4821,
    "fromTs": "<string>",
    "toTs": "<string>"
  },
  "anchor": {
    "type": "trusted_first_prev_hash",
    "note": "<string>",
    "prevHash": "<string>"
  },
  "signingKeys": [
    {
      "keyId": "wardin-2026-07",
      "publicKey": "<string>",
      "validFrom": "<string>",
      "validTo": "<string>",
      "revokedAt": "<string>"
    }
  ],
  "unresolvedKeyIds": [
    "<string>"
  ],
  "packs": [
    {
      "framework": "eu_ai_act",
      "version": "v1",
      "title": "EU AI Act — automatic logging & deployer duties",
      "status": "draft",
      "effectiveDate": "2026-07-09",
      "packHash": "<string>",
      "disclaimer": "<string>",
      "source": "baseline",
      "rawYaml": "<string>"
    }
  ],
  "tenantPacks": [
    {
      "framework": "my_framework",
      "version": "v1",
      "effectiveDate": "2026-01-01",
      "packHash": "a1b2c3…",
      "status": "active",
      "rawYaml": "<string>"
    }
  ],
  "receipts": [
    {
      "seq": 4821,
      "receiptId": "018f1234-5678-7abc-def0-123456789abc",
      "requestId": "<string>",
      "tenantId": "<string>",
      "actor": "key-1",
      "provider": "anthropic",
      "model": "claude-3-5-haiku-20241022",
      "promptTokens": 1200,
      "completionTokens": 340,
      "costUsd": 0.0042,
      "checks": [
        {
          "name": "policy",
          "result": "allow"
        }
      ],
      "tsMillis": 1752062096789,
      "prevHash": "<string>",
      "thisHash": "<string>",
      "signature": "<string>",
      "keyId": "<string>",
      "packVersion": "v1",
      "kind": "model_call"
    }
  ],
  "disclaimer": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

Response

bundleVersion
string
required
Example:

"1"

generatedAt
string
required
tenantId
string
required
range
object
required
anchor
object
required
signingKeys
object[]
required

Signing-key registry (EVID-6) for every key_id the receipts reference — so verification survives key rotation without a live endpoint.

unresolvedKeyIds
string[]
required

key_ids referenced by receipts that could NOT be resolved to a public key — their receipts will verify as unverifiable. Empty when complete.

packs
object[]
required
tenantPacks
object[]
required

The tenant’s complete custom-pack archive (active + archived) with raw YAML bytes — so any tenant-authored citation in the window is reproducible offline (there is no git copy for these).

receipts
object[]
required
disclaimer
string
required

Honesty posture — surface verbatim.