v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-018486293.2 KB
aliases

Set Alias

Create or update a stored alias, global or scoped to 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 a global alias every caller sees. A user-scoped alias resolves only for that user and shadows a global one of the same name.

Response

Successful Response

created_atstring nullable
namestring required
sourcestring required
targetstring required
updated_atstring nullable
user_idstring nullable