Skip to content

security

Intended Documentation

Audit Export

Query tenant audit events, verify chain integrity, and generate enterprise export artifacts.

Audit Export#

Intended provides two layers of audit access:

  • tenant event query/integrity endpoints
  • enterprise export job endpoints

Query Audit Events#

  • GET /tenants/:tenantId/audit
  • GET /tenants/:tenantId/audit/chain-verification
bash
curl "https://api.intended.so/tenants/tenant_acme_prod/audit?limit=100&offset=0" \
  -H "Authorization: Bearer mrt_live_abc123"

Create Export Job#

  • POST /admin/audit-exports

Body:

  • tenantId (required)
  • environmentKey (optional)
  • includeAnomalies (optional, default true)
  • includeRecommendations (optional, default true)
  • from, to (optional ISO datetime)
bash
curl -X POST https://api.intended.so/admin/audit-exports \
  -H "Authorization: Bearer mrt_live_abc123" \
  -H "x-tenant-id: tenant_acme_prod" \
  -H "Content-Type: application/json" \
  -d '{
    "tenantId": "tenant_acme_prod",
    "from": "2026-03-01T00:00:00Z",
    "to": "2026-03-10T00:00:00Z",
    "includeAnomalies": true,
    "includeRecommendations": true
  }'

Inspect and Download Exports#

  • GET /admin/audit-exports?tenantId=<tenant>
  • GET /admin/audit-exports/:id?tenantId=<tenant>
  • GET /admin/audit-exports/:id/download?tenantId=<tenant>
bash
curl "https://api.intended.so/admin/audit-exports?tenantId=tenant_acme_prod" \
  -H "Authorization: Bearer mrt_live_abc123" \
  -H "x-tenant-id: tenant_acme_prod"

Info

Download responses include artifact digest/signature headers for independent integrity checks.

Next Steps#