Skip to main content
GET
/
v1
/
policy-engine
/
policies
/
{policyId}
Get Policy
curl --request GET \
  --url https://api.example.com/v1/policy-engine/policies/{policyId}
{
  "policy": {}
}

Get Policy

Retrieve detailed information about a specific policy.

Request

policyId
string
required
Policy identifier

Response

policy
object
Policy object with full rule configuration

Example

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

Response Example

{
  "policy": {
    "policyId": "pol_abc123",
    "tenantId": "ten_abc123",
    "projectId": "proj_abc123",
    "name": "High Value Approval",
    "description": "Require approval for transactions over $10,000",
    "rule": {
      "approvalFlow": {
        "enabled": true,
        "threshold": "10000",
        "approvers": ["usr_admin1", "usr_admin2"],
        "requiredApprovals": 1
      }
    },
    "priority": 100,
    "enabled": true,
    "createAt": "2024-01-15T10:30:00Z",
    "updateAt": "2024-01-15T10:30:00Z"
  }
}