cURL
curl --request GET \ --url https://api.example.com/v1/policy-engine/policies/{policyId}
{ "policy": {} }
Get policy details
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"
{ "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" } }