Workspace Actions

Change the routing preference

Changes what the workspace's inference requests are optimized for: price (lowest cost), throughput (highest throughput) or latency (lowest latency).

patch/v1/workspaces/{workspaceID}/change-provider-preferences

Request

  • Base URL
    https://ai.liara.ir
  • URL
    https://ai.liara.ir/v1/workspaces/{workspaceID}/change-provider-preferences
  • Auth
    API key in header Authorization

Path parameters

workspaceIDstring required

The workspace ID

Request body

preference'price' | 'throughput' | 'latency' required

What the workspace's requests are optimized for.

Response

Preferences updated

Changes

No recorded changes to this operation across all 4 revisions of this API.