Agent Permissions

Set a team's agent permissions

Changed on

Replaces one team's overrides. A team's decision replaces everyone's for its members (the strictest wins when a member is in several teams that set one), and its allowed and blocked patterns add to everyone's. A permission left out inherits everyone's; saving no permissions removes the team's overrides. Requires the agent_permissions.manage permission with a recent sign-in. Browser upload settings are ignored and preserved unless the client sends X-OpenWork-Browser-Upload-Permissions: 1. Force OpenWork Sandbox requires X-OpenWork-Sandbox-Only: 1 and Use OpenWork Sandbox requires X-OpenWork-Sandbox-Modes: 1. New sandbox requirements are ignored while the sandbox rollout is off.

put/v1/agent-permissions/teams/{teamId}

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

teamId, string typeid required

Den TypeID with 'tem_' prefix and a 26-character base32 suffix.

Request body

AgentPermissionPolicyWrite required
settings, AgentPermissionSettings required

Response

The team's agent permissions saved.

AgentPermissionPolicyResponse required
policy, AgentPermissionPolicy required

Changes

    • info

      added the new optional request property settings/mcpServerSkills

    • info

      added the optional property policy/settings/mcpServerSkills to the response with the status

    • info

      added the new optional request property settings/privateValueCommands

    9 more changes in this revision