workspace-code-execution-policy

Get Workspace Code Execution Policy

Read a workspace's code-execution policy.

Takes the same role as setting it (an organization owner/admin, or an owner/admin of this workspace), because the policy describes the workspace's security and billing posture rather than one member's allowance. A workspace with no policy answers with the unconfigured one (configured: false), which is the deployment's own behavior described in the same shape rather than a 404.

get/v1/workspaces/{workspace_id}/code-execution-policy

Path parameters

workspace_idstring uuid required

Response

Successful Response

allowed_imagesstring[] required
available_toolsstring[] required
configuredboolean required
created_atstring nullable required
default_purpose_hintstring nullable required
enabledboolean required
exec_timeout_sinteger nullable required
imagestring nullable required
max_iterationsinteger nullable required
sandbox_configuredboolean required
toolsstring[] nullable required
updated_atstring nullable required
workspace_idstring uuid required

Changes