Create or update a stored alias in one workspace, optionally for one user.
post/v1/aliases
Request body
namestring required
Display name callers use as the model, e.g. 'fast-model'.
targetstring required
Selector the alias resolves to, as 'provider:model' or 'instance:model'.
user_idstring nullable
User this alias belongs to. Omit for an alias every caller in the workspace sees. A user-scoped alias resolves only for that user and shadows the workspace-wide one of the same name.
workspace_idstring uuid nullable
Workspace this alias belongs to. Omit for the deployment's default workspace. The alias resolves only for requests in that workspace, so two workspaces can each point the same name at a different model.