---
title: "Set Model"
method: PUT
path: "/workspaces/{workspace_id}/copilot/model"
tags: ["copilot"]
---

# Set Model

`PUT /workspaces/{workspace_id}/copilot/model`

## 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}/copilot/model`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

The workspace's copilot model (whose vendor its conversations go to): a signed-in owner or
admin chooses one of the configured ones.

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- ModelIn
  - `model` string, required

## Response `200`

Successful Response

- CopilotModel
  - `model` string, nullable, required
  - `default` string, nullable, required
  - `models` 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)
