List gateway policies
Returns every gateway policy in the current organization.
The response includes both admin-created policies and
runtime-materialized children of default_spend_cap
policies (children carry parent_policy_id).
Spend tracking: each spend-cap policy carries
current_spend_usd — the spend accumulated in the policy’s
active window.
Filters (all optional):
policy_type—spend_cap,default_spend_cap,guard, orroute_configsubject_matcher_key+subject_matcher_value— narrow to policies whose subject_matchers contain{key, value}
For batch lookups by a set of subject values (e.g. many
run_rule_ids at once), use POST
/v1/platform/gateway-policies/search; it accepts the
values in a JSON body and avoids the URL-length ceiling
that a repeated query param would hit at scale.
Authorizations
Query Parameters
Filter by policy_type
Filter by subject matcher key
Filter by subject matcher value (paired with subject_matcher_key)
Response
OK
CurrentSpendUSD is the spend in the policy's current window. Set for any spend_cap policy regardless of enabled state — disabled policies still surface usage so users can see what would have been counted. Nil for non-spend_cap policies or when the spend lookup failed.
ParentPolicyID is set on materialized children of a default_spend_cap to the default's id, and cleared (NULL) only when an admin Create with the same matchers takes over the materialized row. Update on a child preserves the link; Delete on the parent cascade-soft-deletes every child rather than detaching them.

