Real-time governance, compliance, and observability for autonomous AI agents. Evaluate every tool call before execution. Enforce custom policies. Detect multi-step threats. Stay audit-ready.
Base URL:https://api.airg.nov-tia.com
Quick Start
1. Get Your API Key
Log in to the Dashboard and navigate to the API Keys tab to generate your key (format: airg_...).
Tool calls routed through AIRG integrations pass through enabled evaluation layers, which can short-circuit on a block. Each layer emits a TraceStep with timing, risk contribution, and detail text — making every decision fully explainable.
LAYER 1
⚡ Emergency Stop
Global emergency halt
→
LAYER 2
🛡 Injection Firewall
Pattern detection + normalisation
→
LAYER 3
🔒 Scope Enforcer
Tool whitelist enforcement
→
LAYER 4
📋 Policy Engine
Built-in + custom policies
→
LAYER 5
🧠 Neuro + Chain
Heuristic scoring + pattern detection
→
LAYER 6
✅ Verification
Post-execution compliance
Decision Types
Decision
Meaning
Agent Should
allow
Configured checks passed
Proceed only within authorised scope
review
Needs human review
Queue for approval or skip
block
Dangerous — rejected
Do NOT execute the tool
Data Persistence
Governance records are persisted in PostgreSQL. Encryption, retention and backup guarantees depend on deployment configuration and agreement; confirm them before sending sensitive data.
Authentication & API Keys
Auth Methods
Method
Header / Param
How to Obtain
JWT Bearer
Authorization: Bearer <token>
POST /auth/login
API Key
X-API-Key: airg_<key>
Dashboard API Keys tab or POST /auth/me/rotate-key
Operator and administrator endpoints remain privileged. Documentation does not grant access: the server must enforce tenant boundaries and permissions. Use a non-production environment for mutation examples.
Role
Evaluate
View Logs
Policies
Emergency Stop
Verify
Users
admin
✅
✅
✅ CRUD
✅
✅
✅ CRUD
operator
✅
✅
Read
—
✅
—
auditor
—
✅
Read
—
—
—
💡
Security: Rotate your API key periodically via the Dashboard orPOST /auth/me/rotate-key. Use API Keys for server-to-server integrations.
Integrating Your Agent
Three official SDKs — authenticate with X-API-Key, auto-throw on block decisions.
Python · pip install airg-client
python
from airg import AIRG, BlockedError
gov = AIRG(base_url="https://api.airg.nov-tia.com", api_key="airg_your_key_here")
try:
decision = gov.evaluate("shell", {"command": "ls -la"}, context={
"agent_id": "my-agent",
"session_id": "session-123",
"allowed_tools": ["shell", "http_request", "file_read"],
})
if decision["decision"] == "allow":
execute_tool()
else:
hold_for_review(decision) # REVIEW does not authorize execution
print(f"{decision['decision']} — risk {decision['risk_score']}")
except BlockedError as e:
print(f"Blocked: {e}") # Do NOT execute
Access the dashboard at app.airg.nov-tia.com. All 16 tabs are available based on your account role.
Post-Execution Verification
The verification engine inspects tool results after execution — closing the gap between allowing an intent and validating the outcome.
Verification Checks
The verification engine runs multiple automated checks against tool outputs including credential scanning, destructive output detection, scope compliance validation, anomaly detection, policy re-verification, and behavioural drift analysis. Each check contributes to a final verdict.
Capture the full lifecycle of every agent task — LLM reasoning, tool invocations, retrieval steps, and governance decisions as an OpenTelemetry-inspired span tree.
Pass trace_id and span_id in the evaluation context — the Governor auto-creates a governance span as a child. Zero config required.
Real-Time Streaming (SSE)
The Governor pushes every governance decision to connected clients via Server-Sent Events. The dashboard auto-connects and shows a LIVE badge when the stream is active.
Multiple governance policies are included with every account and active by default. Built-in policies act as system guardrails; custom policies add organization-wide or agent-specific controls on top.
Custom policies can apply to every agent in the organization or only to one agent. Omitagent_id for organization-wide rules. Set agent_id to bind the policy to evaluations whose context.agent_id or top-level agent_id matches.
Scope
How to set it
When it applies
Organization-wide
agent_id omitted or null
Every agent in the authenticated user's organization
Agent-specific
agent_id set to an agent ID
Only matching agent evaluations
Governance Mode
Mode
Behavior
allow-by-default
If no policy or detector blocks/reviews the call, the call is allowed
deny-by-default
Only explicitly allowlisted tools can run
audit-only
Evaluations are logged and scored, but policy blocks are treated as audit signals
Policy severity is a 0-100 score used for risk scoring, escalation, and review priority. AIRG can calculate it from blast_radius, reversibility, anddata_sensitivity using organization severity weights.
Dimension
Default weight
Meaning
blast_radius
0.40
How widely the action can affect systems, users, money, or data
reversibility
0.35
How hard it is to undo the action
data_sensitivity
0.25
Whether the action touches PII, credentials, regulated, or confidential data
Manual scoring is controlled. AIRG validates that the selected action matches the severity range:allow is 0-49, review is 20-89, and block is 50-100. If a manual severity conflicts with the rubric score, include an override_justificationof at least 20 characters. The override is stored in the policy record, version history, and audit trail.
Every edit creates an immutable PolicyVersion snapshot + PolicyAuditLog with JSON diffs. Restore any previous version via the API.
Chain Analysis
The Governor detects multi-step attack patterns by examining session history. When a pattern is detected, the risk score is automatically boosted and the pattern name is stored in the chain_pattern response field.
Detected patterns include credential exfiltration sequences, privilege escalation chains, lateral movement attempts, data staging, scope probing, and other adversarial behaviours. Each pattern applies a dynamic risk boost based on severity.
ℹ
Chain analysis runs automatically on every evaluation. No configuration required. Detected patterns appear in the Chain Analysis dashboard tab.
SURGE v2 — Verifiable Governance Receipts
When the receipt engine is enabled and configured, it can produce hash-chained governance records. Verification detects inconsistencies against a trusted checkpoint. A hash is not a digital signature, and deployment metadata is not independent proof of infrastructure location or execution.
Core Capabilities
Feature
Description
Hash Chain
Each receipt includes the previous receipt's SHA-256 digest — tamper-evident chain
Merkle Checkpoints
Periodic Merkle tree roots for efficient batch verification (default: every 100 receipts)
The export bundle includes plain-English instructions for independent verification using any SHA-256 implementation (openssl, Python hashlib, browser crypto API). No NOVTIA software required.
Escalation & Alerting
Automated escalation engine with 5 notification channels: Email, Slack, WhatsApp, Jira, and generic Webhooks.
Automatic Emergency Stop Triggers
⚠
Automatic quarantine and escalation depend on enabled controls and configured thresholds. Validate thresholds against legitimate workflows before rollout; containment is not a guarantee that every harmful sequence will be detected.
Use the authentication method supported by the endpoint: a Bearer header, an API-key header, or a secure HttpOnly session cookie for supported browser streaming. Never place JWTs or API keys in URLs, where logs and browser history can expose them.
Key Endpoints
Below is a curated endpoint summary, not an exhaustive schema. For current role-filtered interactive exploration with “Try It” functionality, visit the API Explorer.
Authentication & Users
Method
Path
Description
POST
/auth/login
Authenticate and receive a JWT token
POST
/auth/signup
Register a new user account
GET
/auth/me
Current user profile, org, and wallet
GET
/auth/users
List users (admin scoped to org)
POST
/auth/users
Create user (admin+)
PATCH
/auth/users/:id
Update user role/name/status
DELETE
/auth/users/:id
Deactivate user (soft delete)
POST
/auth/users/:id/rotate-key
Rotate a user's API key
POST
/auth/me/rotate-key
Rotate your own API key
GET
/auth/me/keys
List your API keys
POST
/auth/me/keys
Create additional API key
DELETE
/auth/me/keys/:id
Revoke an API key
GET
/auth/login-history
Your login audit trail
GET
/auth/permissions
Available RBAC permissions
GET
/auth/roles
List custom roles
POST
/auth/roles/:name
Create/update custom role
Core Governance
Method
Path
Description
POST
/actions/evaluate
Evaluate a tool call (core endpoint)
GET
/actions
List evaluation logs (paginated)
POST
/actions/verify
Post-execution output verification
GET
/actions/verifications
List verification records (paginated)
POST
/actions/scan-output
Scan tool output for PII/credentials
GET
/actions/stream
SSE stream of governance decisions
GET
/actions/stream/status
SSE stream connection status
Execution Trust
Method
Path
Description
POST
/actions/execution-claims/:action_id
Atomically reserve an allowed action for one gateway execution
POST
/actions/:action_id/execution-permits
Issue a signed, short-lived permit bound to the governed action
POST
/execution-permits/verify
Verify permit signature, audience, action digest and expiry
POST
/execution-permits/consume
Atomically consume a permit before execution
POST
/execution-permits/:permit_id/outcomes
Record the target-reported execution outcome
POST
/execution-outcomes/:outcome_id/observations
Record one immutable authoritative observation
GET
/actions/:action_id/execution-evidence
Read permit, outcome, observation and final receipt evidence
GET
/execution-routes/coverage
Read bounded route-enrollment and alternate-path status
GET
/.well-known/airg-execution-keys.json
Discover active public permit-verification keys
⚠
SDK evaluation is advisory unless the caller enforces the verdict. Permit endpoints are intended for protected gateways, target middleware and execution brokers; they do not prove that every alternate route in a customer environment has been closed.
Policy Management
Method
Path
Description
GET
/policies
List all active policies
GET
/policies/all
List all policies (incl. archived)
POST
/policies
Create an organization-wide or agent-specific policy
PATCH
/policies/:id
Update policy metadata, severity, action, match rules, or scope
POST
/policies/template
Create a new policy
POST
/policies/import
Import policy bundle
GET
/policies/export/all
Export all policies
POST
/policies/simulate
Simulate policy evaluation
GET
/policies/severity-weights
View severity weights
PUT
/policies/severity-weights
Update organization severity weights
POST
/policies/severity/calculate
Preview rubric-derived severity
GET
/policies/governance-mode
Current governance mode
PATCH
/policies/governance-mode
Update organization governance mode
GET
/policies/allowlist
View tool allowlist
POST
/policies/allowlist
Create allow policies for deny-by-default mode
PATCH
/policies/:id/toggle
Enable/disable policy
GET
/policies/:id/versions
Policy version history
POST
/policies/:id/approve
Approve policy change
GET
/policies/audit/trail
Policy audit trail
GET
/policies/audit/stats
Policy audit statistics
Observability & Tracing
Method
Path
Description
POST
/traces/ingest
Ingest OpenTelemetry-style trace spans
GET
/traces
List traces (paginated)
GET
/traces/:trace_id
Get trace detail with span tree
POST
/conversations/turns
Ingest a conversation turn
POST
/conversations/turns/batch
Batch ingest turns
GET
/conversations
List conversations
GET
/conversations/:id/timeline
Conversation timeline
GET
/summary/overview
Dashboard overview statistics
Administration
Method
Path
Description
GET
/admin/status
System status (emergency stop state)
POST
/admin/kill
Engage emergency stop
POST
/admin/resume
Release emergency stop
POST
/admin/quarantine/:agent_id
Quarantine an agent
POST
/admin/unquarantine/:agent_id
Release agent quarantine
GET
/admin/quarantine
List quarantined agents
POST
/admin/budget/reset
Reset budget counters
GET
/admin/budget/status
Budget usage status
Escalation & Notifications
Method
Path
Description
GET
/escalation/queue
List pending escalations
GET
/escalation/queue/stats
Queue statistics
POST
/escalation/queue/:id/resolve
Resolve an escalation
POST
/escalation/queue/bulk-resolve
Bulk resolve escalations
GET
/escalation/config
Escalation rules config
GET
/notifications
List notification channels
POST
/notifications
Create notification channel
POST
/notifications/:id/test
Test a notification channel
SURGE, Compliance & Billing
Method
Path
Description
GET
/surge/v2/status
SURGE engine status and chain integrity
GET
/surge/v2/receipts
List governance receipts
GET
/surge/v2/receipts/:id/verify
Verify a single receipt
GET
/surge/v2/verify
Verify full receipt chain
GET
/surge/v2/export
Download compliance bundle
POST
/surge/v2/issue
Issue governance receipt
GET
/compliance/clauses
Regulatory clause database
POST
/billing/subscribe
Create Stripe subscription
GET
/billing/status/:wallet_id
Subscription status
POST
/moderation/scan
Content moderation scan
GET
/impact/assess
Impact assessment
Meta
Method
Path
Description
GET
/health
Liveness probe
GET
/healthz
Liveness + DB connectivity check
GET
/ready
Full readiness probe (DB + modules)
GET
/modules/status
Module loading status
GET
/settings
Runtime configuration (read-only)
💡
For the complete interactive reference with request/response schemas and “Try It” functionality, sign in and visit the private API Explorer.
Rate Limits
Endpoint Group
Limit
POST /actions/evaluate
100 req/min per agent_id
POST /auth/login
5 req/min per IP
All other endpoints
60 req/min per token
SDKs
Language
Package
Install
Python
airg-client
pip install airg-client
TypeScript
@othnielobasi/airg-client
npm install @othnielobasi/airg-client
Java
com.airg:airg-client
Maven / Gradle 0.3.4
Troubleshooting
Problem
Solution
401 Unauthorized
Check your API key or JWT token. Rotate key via Dashboard → API Keys tab.
403 Forbidden
Your role lacks permission for this endpoint. Contact your account admin.
Policy changes not taking effect
Policy cache has a 10-second TTL. Changes apply automatically after the cache refreshes.
Emergency stop won't release
POST /admin/resume with an admin-level token.
CORS errors from browser
Ensure your domain is allowlisted. Contact support if you need additional origins.
SSE stream disconnects
The stream sends a heartbeat every 15 seconds. Check proxy/load balancer timeouts.
SDK connection timeout
Verify GOVERNOR_URL is https://api.airg.nov-tia.com and outbound HTTPS is allowed.
All actions blocked
Check if emergency stop is engaged: GET /admin/status. Resume if needed.