The spend limits object

⚠️
Preview — this feature is being built; the design below is the spec.

The spend_limits object as the API returns it. Every field below appears in every response that returns this object; fields with no value are null rather than missing.

Example

{
  "type": "spend_limits",
  "period": {
    "starting_at": "2026-11-01T00:00:00Z",
    "ending_at": "2026-12-01T00:00:00Z"
  },
  "credits_enabled": true,
  "multi_group_policy": "lower",
  "organization": {
    "monthly_limit_usd": "500.00",
    "spent_usd": "212.4031"
  },
  "workspaces": [
    {
      "workspace_id": "wrkspc_01JC0A2C4E6G8J0L2N4Q",
      "monthly_limit_usd": "400.00",
      "spent_usd": "198.1022"
    }
  ],
  "groups": [
    {
      "group_id": "grp_01JB4D6F8H0K2M4P6R8T",
      "name": "Contractors",
      "monthly_limit_usd": "20.00"
    }
  ],
  "members": [
    {
      "user_id": "user_01J9Y0A2C4E6G8J0L2N4",
      "monthly_limit_usd": null,
      "inherited_limit_usd": "20.00",
      "inherited_from_group_id": "grp_01JB4D6F8H0K2M4P6R8T",
      "effective_limit_usd": "20.00",
      "spent_usd": "6.2200"
    }
  ]
}

Fields

FieldTypeDescription
typestringThe object type, always spend_limits.
periodobjectThe current calendar month in UTC; every limit resets at its end.
credits_enabledbooleanSee the endpoint pages below.
multi_group_policystringhigher or lower: which group limit applies to a member in several limited groups.
organizationobjectNested detail; see the endpoint pages below.
workspacesarrayNested detail; see the endpoint pages below.
groupsarrayNested detail; see the endpoint pages below.
membersarrayNested detail; see the endpoint pages below.

Returned by

Was this page helpful?