---
title: "Change provider preferences"
method: PATCH
path: "/v1/workspaces/{workspaceID}/change-provider-preferences"
tags: ["Workspace Actions"]
---

# Change provider preferences

`PATCH /v1/workspaces/{workspaceID}/change-provider-preferences`

Changes the provider routing preference for a workspace.
This affects how requests are routed to AI providers.

## Path parameters

- `workspaceID` string, required

## Request body

- ChangeProviderPreferencesRequest
  - `preference` 'price' | 'throughput' | 'latency', required — Provider routing preference

## Response `200`

Preferences updated

## Other responses

- `401` — Missing authentication
- `404` — Workspace not found

---

[API](https://skmtc.dev/liara-cloud/apis/ai-workspaces.md) · [All operations](https://skmtc.dev/liara-cloud/apis/ai-workspaces/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/liara-cloud/ai-workspaces/revisions/dca23912b278/schema)
