ABS Core
API Reference

Policies API

Manage governance policies for your agents.

Policies API

The Policies API lets you create, list, update, and delete governance policies attached to your tenants and agents.

List Policies

GET /v1/policies

Returns all active policies for the authenticated tenant.

{
  "data": [
    {
      "id": "pol_abc123",
      "name": "financial-guard",
      "type": "rate_limit",
      "risk": 80,
      "enabled": true,
      "created_at": "2026-02-01T00:00:00Z"
    }
  ]
}

Create Policy

POST /v1/policies

{
  "name": "block-pii-exfiltration",
  "type": "content_filter",
  "risk": 95,
  "rules": {
    "patterns": ["ssn", "cpf", "credit_card"],
    "action": "DENY"
  }
}

Response

{
  "id": "pol_xyz789",
  "name": "block-pii-exfiltration",
  "created_at": "2026-02-19T22:00:00Z"
}

Update Policy

PUT /v1/policies/:id

Send only the fields you want to change.

Delete Policy

DELETE /v1/policies/:id

Returns 204 No Content on success.

Starter Policy Packs

ABS ships with pre-built policy packs for common use cases:

PackPolicies Included
FREE_TIER_POLICIESRate limit, content filter, entropy check
RUNTIME_PAID_POLICIESAll free tier + bond enforcement, hallucination shield, PII redaction

Apply a starter pack via POST /v1/policies/apply-pack with { "pack": "RUNTIME_PAID_POLICIES" }.

On this page