Create a limit policy
Changed onCreate a usage cap. The policy takes effect immediately: alert rules notify, and block rules reject gateway requests with 429 once the cap is reached.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/limit-policies/
- AuthHTTP bearer
Request body
Response
The created policy.
Changes
- breaking
request body became required
- breaking
the response property
became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the
/response's property format changed fromdoubleto no format for status - breaking
the
response's property format changed fromdoubleto no format for status - info
api operation id
limitPolicies_create_limit_policyremoved and replaced withcreate_limit_policy - info
api tag
Limit Policiesadded - info
api tag
limitPoliciesremoved - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
//became nullable - info
the request property
//became nullable - info
the
request property default valuewas added - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status - info
the response optional property
became read-only for the status
- breaking
- breaking
the response property
//became nullable for the status - info
the request property
//became nullable - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking