Authorizations
Body
application/json
Array of conditions that define which requests the policy applies to
Minimum length:
1Array of group by fields that define how usage is aggregated
Minimum length:
1Policy type
Available options:
cost, tokens Maximum usage allowed
Required range:
x >= 0Policy name
Maximum length:
255Example:
"Monthly Cost Limit"
Threshold at which to send alerts. Must be less than credit_limit.
Required range:
x >= 0Reset period. If not provided, limit is cumulative.
Available options:
monthly, weekly Workspace ID or slug. Required if not using API key authentication.
Organization ID. Required if not using API key authentication.

