workspace-member-budget-policies

Create Workspace Budget Default

Changed on

Create a budget default.

Materializes it into a per-member scoped_budgets row for every existing active member of the workspace; a member who joins afterwards is materialized when they join.

post/api/v1/workspaces/{workspace_id}/member-budget-policies

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Path parameters

workspace_idstring uuid required

Request body

budget_idstring required

The budget this workspace hands to every member

provider_key_idstring nullable

Narrow the default to one provider instance; omit or null to apply to every provider. A blank value would materialize ceilings that never bind, so it is refused; this does not check that the value names a configured provider instance

Response

Successful Response

budget_duration_secinteger nullable required
budget_idstring required
created_atstring required
idstring required
max_budgetnumber nullable required
namestring nullable required
provider_key_idstring nullable required
request_limitinteger nullable required
reset_alignmentstring nullable required
token_limitinteger nullable required
updated_atstring required
workspace_idstring uuid required

Changes

    • info

      added the optional property to the response with the status

    • info

      api operation id create_workspace_budget_default_api_v1_workspaces__workspace_id__member_budget_policies_post removed and replaced with workspace-member-budget-policies-create_workspace_budget_default