Read the decision policy of an approval type
LogsGET /decision-policies/{type}
Returns the tenant's decision policy for one approval type, with its mode and current version. When the tenant has never configured that type, a default policy in human mode is returned without being saved. Requires automations:read; an unknown approval type returns 400.
Parameters
typeApproval type: billing_posting, price_version_publication, manual_journal_entry, supplier_payout, refund, write_off or cut_approval.
Returns
200 Policy with its current mode, limits and version
Permissions automations:read · Roles: admin, analyst, customer_service, finance, operations, owner
curl -X GET "$BUSINESS_API/decision-policies/{type}" \
-H "Authorization: Bearer sk_test_..."
# No matching CLI command; use cURL or direct HTTP.
const res = await fetch("$BUSINESS_API/decision-policies/{type}", {
method: "GET",
headers: {
Authorization: "Bearer sk_test_..."
}
});
const data = await res.json();
import requests
res = requests.get(
"$BUSINESS_API/decision-policies/{type}",
headers={
"Authorization": "Bearer sk_test_..."
}
)
data = res.json()
req, _ := http.NewRequest("GET", "$BUSINESS_API/decision-policies/{type}", nil)
req.Header.Set("Authorization", "Bearer sk_test_...")
resp, err := http.DefaultClient.Do(req)
Policy with its current mode, limits and version