d0fc0114da66
Update the workspace agent behavior settings, available only to workspace owners
Update all owner-managed agent behavior settings for the workspace in a single call. The boolean flags require_agent_edits_on_branches and recovery_agent_auto_edits are gated by the agentic_test_editing feature; if the workspace does not have that feature their values are ignored.
Path parameters
Organization id
Request body
Test Recovery Agent mode. Use inherit (plan-level only) to defer to the workspace-level default.
Whether agents must save edits on branches
Whether the recovery agent automatically kicks off test edits
Whether agent-generated failure analysis may assign the failure reason automatically
Response
The updated organization
The ID of the organization
Cloud safe ID representation (e.g. GCP and Kubernetes safe)
Time at which the organization was created
The ID of the user who created this organization
Input/output artifact bucket. Null if not yet created.
Time at which the organization was last updated
The ID of the user who last updated this organization
The display name of the organization
The id of the account this organization is in
flag indicating whether the organization has gone through onboarding
Legacy billing accounts only -- The number of test runs allocated to this workspace
Legacy billing accounts only -- The number of API test runs allocated to this workspace
Legacy billing accounts only -- The number of a11y step runs allocated to this workspace
Set of labs features activated for this workspace
Set of features to exclude from this workspace, overriding account-level grants. When a feature appears here, authorization checks against this workspace will deny it even if the parent account has the feature enabled. Admin-only field.
available runner sizes
The workspace's locale used to create new artifacts (e.g. test failure summaries, element descriptions). Default is 'en'.
Test Recovery Agent mode. Use inherit (plan-level only) to defer to the workspace-level default.
When true, agent-generated failure analysis assigns its suggested failure reason to the test run automatically. When false, the suggested failure reason is still persisted but is not assigned. New workspaces enable this by default. Manual assignments always take precedence.
When true, agents must save new tests and edits to a branch rather than the main branch. Owner-editable; behind the agentic_test_editing feature flag.
When true, the recovery agent automatically kicks off test edits when it identifies a fix. Owner-editable; behind the agentic_test_editing feature flag.
When true, credentials created in this workspace must be cloud credentials, whose secrets can never be read back. Enforced on create for every caller, including API keys, rather than left to whoever creates the credential. Existing non-cloud credentials are unaffected and stay editable. Owner-editable.
Computed effective credit allocation for this workspace. Equals allocations.credits if explicitly set, otherwise the workspace's equal share of remaining account credits.