---
title: "Set Permissions"
method: PUT
path: "/workspaces/{workspace_id}/agent/permissions"
tags: ["copilot"]
---

# Set Permissions

`PUT /workspaces/{workspace_id}/agent/permissions`

## Request

- Base URL: `https://api.os3robotics.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.os3robotics.com/workspaces/{workspace_id}/agent/permissions`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

The workspace agent's mode and automatic budget: a signed-in owner or admin sets them.

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- PermissionsIn
  - `mode` 'ask' | 'auto', required
  - `auto_month_usd` union
    - number
    - string
  - `suggest` boolean, nullable

## Response `200`

Successful Response

- Permissions
  - `mode` 'ask' | 'auto', required
  - `auto_month_usd` string, required
  - `auto_used_usd` string, required
  - `version` integer, required
  - `suggest` boolean
  - `always_ask` string[], required
  - `never` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/os3robotics/apis/os3-api.md) - [All operations](https://skmtc.dev/os3robotics/apis/os3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/os3robotics/apis/os3-api/revisions/af32cd4f14bb?raw)
