List Account and Workspace budgets
Changed onReturns spending controls for the authenticated Account and Agent usage limits for its Workspaces, groups, and members. Account spending controls apply to usage-based spend. Workspace, group, and member limits apply to Agent usage during the current billing cycle.
Account spending controls are included unless excluded by a type or Workspace filter. A null threshold means that control is not configured. Workspace, group, and member limits are included only when configured.
When multiple filters are provided, all filters apply. Supplying workspaceId excludes Account spending controls. Therefore, combining workspaceId with type=account_spending_controls returns an empty page.
Results are ordered by type, then workspaceId, then group or member ID. Pagination cursors are tied to the authenticated Account and the original type, workspaceId, and limit values. Reusing a cursor with different parameters returns invalid_request.
Request
- Base URLhttps://api.replit.com/v1
- AuthHTTP bearer
Query parameters
Restrict results to a workspace owned by the authenticated Account.
Filter results by budget type.
Maximum number of records to return.
Opaque pagination cursor returned by the previous response.
Response
Configured spending controls and Agent usage limits.
Changes
- warning
added the new
usage_breakdown_too_largeenum value to the/response property for the response status - warning
added the new
usage_breakdown_too_largeenum value to the/response property for the response status - warning
added the new
usage_breakdown_too_largeenum value to the/response property for the response status - warning
added the new
usage_breakdown_too_largeenum value to the/response property for the response status - warning
added the new
usage_breakdown_too_largeenum value to the/response property for the response status - warning
added the new
usage_breakdown_too_largeenum value to the/response property for the response status - warning
added the new
usage_breakdown_too_largeenum value to the/response property for the response status
- warning
- warning
added the new
conflictenum value to the/response property for the response status - warning
added the new
conflictenum value to the/response property for the response status - warning
added the new
conflictenum value to the/response property for the response status - warning
added the new
conflictenum value to the/response property for the response status - warning
added the new
conflictenum value to the/response property for the response status - warning
added the new
conflictenum value to the/response property for the response status - warning
added the new
conflictenum value to the/response property for the response status - warning
added the new
precondition_failedenum value to the/response property for the response status - warning
added the new
precondition_failedenum value to the/response property for the response status - warning
added the new
precondition_failedenum value to the/response property for the response status - warning
added the new
precondition_failedenum value to the/response property for the response status - warning
added the new
precondition_failedenum value to the/response property for the response status - warning
added the new
precondition_failedenum value to the/response property for the response status - warning
added the new
precondition_failedenum value to the/response property for the response status - warning
added the new
precondition_requiredenum value to the/response property for the response status - warning
added the new
precondition_requiredenum value to the/response property for the response status - warning
added the new
precondition_requiredenum value to the/response property for the response status - warning
added the new
precondition_requiredenum value to the/response property for the response status - warning
added the new
precondition_requiredenum value to the/response property for the response status - warning
added the new
precondition_requiredenum value to the/response property for the response status - warning
added the new
precondition_requiredenum value to the/response property for the response status - warning
added the new
request_already_resolvedenum value to the/response property for the response status - warning
added the new
request_already_resolvedenum value to the/response property for the response status - warning
added the new
request_already_resolvedenum value to the/response property for the response status - warning
added the new
request_already_resolvedenum value to the/response property for the response status - warning
added the new
request_already_resolvedenum value to the/response property for the response status - warning
added the new
request_already_resolvedenum value to the/response property for the response status - warning
added the new
request_already_resolvedenum value to the/response property for the response status
- warning