---
title: "Update Workspace"
method: PATCH
path: "/agent-loop/workspaces/{workspace_id}"
tags: ["agent-loop"]
---

# Update Workspace

`PATCH /agent-loop/workspaces/{workspace_id}`

Update workspace settings.

## Path parameters

- `workspace_id` string, required

## Request body

- UpdateWorkspaceRequest
  - `is_public` boolean, nullable
  - `confirmed_make_public` boolean, nullable — Required and must be true when changing a workspace from private to public to ensure user understands the implications.
  - `name` string, nullable
  - `pinned` boolean, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/tryscott/apis/one-shot-api.md) · [All operations](https://skmtc.net/tryscott/apis/one-shot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryscott/one-shot-api/versions/28bdface01df/schema)
