Set this workspace's connection policy
Requires `integrations:write`. Turning on `blockPersonalAccounts` immediately drops every cached reachability answer for this workspace, so shared surfaces stop resolving through personal credentials on the next read rather than when their cache expires.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringapplication/json- body
blockPersonalAccounts*booleanrequireWorkspaceRunAs*booleanSuccess
application/json- response
data*curl -X PUT 'https://api.snoze.dev/v1/workspaces/string/connection-policy' \ -H 'Content-Type: application/json' \ -d '{ "blockPersonalAccounts": true, "requireWorkspaceRunAs": true}'{ "data": { "blockPersonalAccounts": true, "requireWorkspaceRunAs": true }}Read this workspace's connection policy
Returns whether personal accounts are blocked in this workspace and whether unattended automations must run on a workspace connection. Both default to off, so a workspace that has never opened the setting reports a permissive policy. Requires `integrations:read`.
List the workspace's model sources
Returns the configured provider keys newest first, each with its kind, label, enabled flag, selected model ids, and a masked hint of the key. Requires the `models:read` permission; the stored key itself is never returned.