Set Workspace Embedding Config
PUT/workspaces/:workspace_id/embedding-config
Set, opt out of, or unset this workspace's default embedding config (AIP-5504).
The last link of the run → project → workspace chain. Projects in this workspace that set no config of their own inherit whatever is set here; a run that sets none of its own inherits through the project.
Three states, matching the other tiers:
- a registered config name — projects here default to that config;
"__none__"— this workspace computes no embeddings, and a project that defers stops here rather than falling through to any further default;None— unset the tier. Resolution then falls off the end of the chain, which is also "no embeddings", but leaves the workspace expressing no opinion.
Unlike renaming, this is allowed on personal workspaces: it is configuration rather than identity, and a personal workspace runs hosted evaluations like any other.
Requires workspace_admin membership of this workspace — the same bar as
:func:patch_workspace, and for the same reason: a platform admin's oversight does not
imply config-write.
Request
Responses
- 200
- 422
Successful Response
Validation Error