Evidence Export Pack
Evidence Export produces a bundled JSON file containing audit logs, workflow step records, and HITL approval decisions for a specified time window. Use it to share governance evidence with internal reviewers, security teams, or compliance stakeholders without giving them direct API access.
This feature is available starting with the Evaluation tier (free).
Evidence Export is available with a free Evaluation license. Register at getaxonflow.com/evaluation-license and set AXONFLOW_LICENSE_KEY on your server.
How It Works
- Call the export endpoint with a date range and optional record types
- AxonFlow bundles matching audit logs, workflow steps, and HITL approvals into a single JSON response
- The response includes export metadata, record counts, and daily usage tracking
- Evaluation exports include a top-level
disclaimerfield; Enterprise exports omit it
Tier Comparison
| Capability | Community | Evaluation | Enterprise |
|---|---|---|---|
| Evidence Export | -- | ✅ | ✅ |
| Evidence Summary | -- | ✅ | ✅ |
| Time window | -- | 14 days max | Unlimited |
| Max records per export | -- | 5,000 | Unlimited |
| Exports per day | -- | 3 | Unlimited |
| Disclaimer | -- | Top-level field | No (clean) |
| Regulator-specific formats | -- | -- | EU AI Act, SEBI, MAS, EBA |
| Scheduled exports | -- | -- | ✅ |
API Reference
Export Evidence Pack
POST /api/v1/evidence/export
curl -X POST "http://localhost:8081/api/v1/evidence/export" \
-H "X-Tenant-ID: my-org" \
-H "Content-Type: application/json" \
-d '{
"start_date": "2026-02-15",
"end_date": "2026-03-01",
"types": ["audit_logs", "workflow_steps", "hitl_approvals"],
"limit": 1000
}'
| Field | Type | Required | Description |
|---|---|---|---|
start_date | string | Yes | Start of date range (YYYY-MM-DD or RFC3339) |
end_date | string | No | End of date range (defaults to now) |
types | string[] | No | Record types to include: audit_logs, workflow_steps, hitl_approvals (all if omitted) |
limit | integer | No | Max records per type (capped by tier limit) |
Response:
{
"export_id": "3a7c9e2f-1b4d-4e8a-9c6f-2d5e8b1a3c7f",
"tenant_id": "my-org",
"tier": "Evaluation",
"date_range": {
"start": "2026-02-15T00:00:00Z",
"end": "2026-03-01T00:00:00Z"
},
"disclaimer": "NOT FOR REGULATORY SUBMISSION - EVALUATION LICENSE",
"record_count": 142,
"audit_logs": [
{
"id": "f1a2b3c4-...",
"tenant_id": "my-org",
"client_id": "client-1",
"request_type": "chat",
"query": "Transfer $500,000 to...",
"blocked": true,
"risk_score": 0.92,
"created_at": "2026-02-28T14:22:00Z"
}
],
"workflow_steps": [
{
"id": 1,
"workflow_id": "wf-abc-123",
"step_id": "step-2",
"step_type": "llm_call",
"status": "completed",
"tenant_id": "my-org",
"started_at": "2026-02-28T14:22:01Z",
"completed_at": "2026-02-28T14:22:03Z"
}
],
"hitl_approvals": [
{
"id": 1,
"request_id": "req-abc-123",
"tenant_id": "my-org",
"original_query": "review-step",
"request_type": "wcp_step_gate",
"status": "approved",
"severity": "high",
"created_at": "2026-02-28T14:22:03Z",
"expires_at": "2026-03-01T14:22:03Z",
"reviewed_at": "2026-02-28T14:35:00Z"
}
],
"exported_at": "2026-03-01T12:00:00Z",
"daily_usage": {
"used": 1,
"limit": 3
}
}
| Field | Type | Description |
|---|---|---|
export_id | string | Unique export identifier (UUID) |
tenant_id | string | Tenant that owns the data |
tier | string | Current license tier |
date_range | object | start and end timestamps |
disclaimer | string | Watermark text (Evaluation only, omitted for Enterprise) |
record_count | integer | Total records across all types |
audit_logs | array | Audit log records (if requested) |
workflow_steps | array | Workflow step records (if requested) |
hitl_approvals | array | HITL approval records (if requested) |
exported_at | string | ISO 8601 export timestamp |
daily_usage | object | Export quota usage (omitted for Enterprise/unlimited) |
Evidence Summary
Returns aggregate counts by record type. Useful for quick checks before running a full export.
GET /api/v1/evidence/summary
curl -X GET "http://localhost:8081/api/v1/evidence/summary" \
-H "X-Tenant-ID: my-org"
The summary looks back over the tier's window (14 days for Evaluation, up to 10 years for Enterprise). No query parameters are needed -- the window is determined by your license tier.
Response:
{
"tenant_id": "my-org",
"tier": "Evaluation",
"window_days": 14,
"counts": {
"audit_logs": 1247,
"workflow_steps": 389,
"hitl_approvals": 42,
"total": 1678
},
"generated_at": "2026-03-01T12:00:00Z",
"disclaimer": "NOT FOR REGULATORY SUBMISSION - EVALUATION LICENSE"
}
| Field | Type | Description |
|---|---|---|
tenant_id | string | Tenant that owns the data |
tier | string | Current license tier |
window_days | integer | Lookback window in days |
counts.audit_logs | integer | Number of audit log records |
counts.workflow_steps | integer | Number of workflow step records |
counts.hitl_approvals | integer | Number of HITL approval records |
counts.total | integer | Sum of all record counts |
generated_at | string | ISO 8601 timestamp |
disclaimer | string | Watermark text (Evaluation only, omitted for Enterprise) |
Evaluation Tier Limits
| Limit | Value |
|---|---|
| Max time window | 14 days |
| Max records per export | 5,000 |
| Exports per day | 3 |
| Disclaimer | Top-level disclaimer field in response |
| Regulator-specific formats | Not available (Enterprise only) |
| Scheduled exports | Not available (Enterprise only) |
Evaluation exports include a top-level disclaimer field:
"disclaimer": "NOT FOR REGULATORY SUBMISSION - EVALUATION LICENSE"
This disclaimer appears once in the export response and in the summary response. It is omitted entirely in Enterprise exports.
Use Cases
Internal Security Review
Export audit logs for a weekly security review:
curl -X POST "http://localhost:8081/api/v1/evidence/export" \
-H "X-Tenant-ID: my-org" \
-H "Content-Type: application/json" \
-d '{
"start_date": "2026-02-22",
"end_date": "2026-03-01",
"types": ["audit_logs"]
}'
HITL Approval Audit
Export all approval decisions for review:
curl -X POST "http://localhost:8081/api/v1/evidence/export" \
-H "X-Tenant-ID: my-org" \
-H "Content-Type: application/json" \
-d '{
"start_date": "2026-02-15",
"end_date": "2026-03-01",
"types": ["hitl_approvals", "workflow_steps"]
}'
Pre-Upgrade Baseline
Before upgrading from Evaluation to Enterprise, export a baseline of your governance activity:
# Check what's available
curl -X GET "http://localhost:8081/api/v1/evidence/summary" \
-H "X-Tenant-ID: my-org"
# Export everything
curl -X POST "http://localhost:8081/api/v1/evidence/export" \
-H "X-Tenant-ID: my-org" \
-H "Content-Type: application/json" \
-d '{
"start_date": "2026-02-15",
"end_date": "2026-03-01"
}'
Related Documentation
- Audit Logging -- How audit logs are captured
- HITL Approval Gates -- Human review for flagged requests
- Policy Simulation & Impact Report -- Test policies before deploying
- Community vs Enterprise -- Full feature comparison
- SEBI Compliance -- Enterprise regulatory export formats