Advanced guide / Chapter 5 of 7
Governance and compliance.
Once several departments run agents, security and finance want one place to set the rules and one place to see what happened. In ACPpotamia, an organization groups your teams, and model policies control which models they can call. The audit log and its export are your evidence afterwards.
Model access policies
A policy is one of three kinds: "all models", "only these models" or "all except these". In patterns, * matches anything.
| Goal | Rule | Patterns |
|---|---|---|
| Only approved vendors | Only these models | claude-*, gpt-5* |
| No premium models in this team | All except these | *opus*, *fable*, gpt-5-pro* |
| A CI key uses only small models | Key: only these | *-mini, claude-haiku-* |
Organization, team and key rules all apply at once. A call that breaks any of them gets HTTP 403 model_not_allowed and never reaches the provider. The error names the rule that refused it, so nobody has to guess.
Organizations and roles
| Role | Can |
|---|---|
| Viewer | See every team's spend, calls and the organization log. |
| Admin | Also: stop and revive all teams, set the organization model policy, export, create teams, and join any team as admin (logged). |
| Owner | Also: add and remove people and set their roles. |
Audit trail and export
| Format | Best for | Range per file |
|---|---|---|
| CSV | Spreadsheets and finance | 366 days |
| JSONL | Data tools, one record per line | 366 days |
| Raw daily archive (.jsonl.gz) | Compliance archives; includes request and response text when payload logging is on | 31 days |
Pull exports from your own pipeline
# Nightly job: yesterday's calls into your SIEM or data lake curl -s "https://acp.examopotamia.com/v1/controlplane/audit/export?format=jsonl&from=$(date -u -d yesterday +%F)&to=$(date -u -d yesterday +%F)" \ -H "Authorization: Bearer $ACP_ADMIN_KEY" \ | your-siem-ingest --source acppotamia
Retention and privacy
- Call records and archives: 365 days, then deleted automatically.
- Provider keys: never stored or logged.
- Request and response text: only when a Pro or Enterprise team turns on payload logging.