Skip to main content
PUT
Error

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workspace_id
string<uuid>
required

Body

application/json

Replace a workspace's model subset, or clear it to inherit every org model.

inherit_all
boolean
required
catalog_ids
string<uuid>[]

Response

Successful Response

A workspace's model subset and the organization models it can pick from.

inherit_all
boolean
required

True when the workspace has no subset and uses every organization-enabled model.

catalog_ids
string<uuid>[]
required

Catalog IDs in the workspace's subset. Empty when inherit_all is true.

candidates
WorkspaceAgentModelCandidate · object[]
required

Models enabled for the organization. Provider URLs are left out: they can carry credentials, and a candidate may sit outside the workspace's subset.