Gateway

List rate limit assignments

Lists where rate limit policies apply, optionally filtered by policy or target type. The gateway does not enforce rate limit policies yet; they are saved for the upcoming enforcement release.

get/rate-limits/assignments

Request

  • Base URL: https://api.phaseo.app/v1
  • URL: https://api.phaseo.app/v1/rate-limits/assignments
  • Auth: HTTP bearer

Query parameters

policy_idstring uuid

Only return assignments of this policy.

target_type'key' | 'member' | 'department' | 'guardrail' | 'end_user_default'

What a policy applies to. A department policy is one allowance shared by its members and linked keys. A guardrail policy gives each key and member the guardrail covers its own allowance. end_user_default applies to each end user identified on a request.

Only return assignments of this target type.

offsetinteger

Number of rate limit assignments to skip for pagination.

limitinteger

Maximum number of rate limit assignments to return.

Response

Rate limit assignments

has_moreboolean required

Whether more results follow this page.

Changes

No recorded changes to this operation across all 1 revision of this API.