Skip to content
Start here

Account Settings

Fetch Worker Account Settings
workers.account_settings.get(AccountSettingGetParams**kwargs) -> AccountSettingGetResponse
GET/accounts/{account_id}/workers/account-settings
Create Worker Account Settings
workers.account_settings.update(AccountSettingUpdateParams**kwargs) -> AccountSettingUpdateResponse
PUT/accounts/{account_id}/workers/account-settings
ModelsExpand Collapse
class AccountSettingGetResponse:
default_usage_model: Optional[str]
green_compute: Optional[bool]
class AccountSettingUpdateResponse:
default_usage_model: Optional[str]
green_compute: Optional[bool]