<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->

# Performing Data Residency Compliance — API Reference

## Actions

| Action | Description |
|--------|-------------|
| audit | Primary analysis action |
| transfers | Secondary analysis or configuration |
| report | Reporting or validation |

## Usage

```bash
node scripts/agent.js --action audit --input /tmp/input.json --output /tmp/output.json
node scripts/agent.js --action transfers --input /tmp/input.json --output /tmp/output.json
node scripts/agent.js --action report --input /tmp/input.json --output /tmp/output.json
```

## Output Format

All actions return JSON with standard envelope:

```json
{
  "tool": "data-residency-auditor",
  "version": "1.0",
  "timestamp": "2026-01-01T00:00:00+00:00",
  "action": "audit"
}
```
