Skip to main content
GET
/
v1
/
policy-engine
/
policies
List Policies
curl --request GET \
  --url https://api.example.com/v1/policy-engine/policies
{
  "policies": [
    {}
  ],
  "nextCursor": "<string>",
  "hasMore": true
}

List Policies

Retrieve all policies for a tenant/project with pagination.

Request

tenantId
string
Filter by tenant
projectId
string
Filter by project
cursor
string
Pagination cursor
limit
integer
Results per page (default: 20)

Response

policies
array
Array of policy objects
nextCursor
string
Cursor for next page
hasMore
boolean
Whether more results exist

Example

curl -X GET "https://api.axonvault.io/v1/policy-engine/policies?projectId=proj_abc123" \
  -H "X-Access-Key: ak_live_abc123" \
  -H "X-Signature: ..." \
  -H "X-Timestamp: 2024-01-15T10:30:00Z"

Response Example

{
  "policies": [
    {
      "policyId": "pol_abc123",
      "name": "High Value Approval",
      "priority": 100,
      "enabled": true,
      "createAt": "2024-01-15T10:30:00Z"
    },
    {
      "policyId": "pol_def456",
      "name": "Whitelist Only",
      "priority": 50,
      "enabled": true,
      "createAt": "2024-01-14T08:00:00Z"
    }
  ],
  "nextCursor": "",
  "hasMore": false
}