Create a model alias
Claims name in the organization’s registry and ranks the candidates once before returning. From then on a request for name is served by the candidate that scores best on the metric in the suite’s active version, and is billed as that model. A name that is already active returns 409.
Authorizations
Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.
Body
The model name callers use. It is claimed in the organization's registry, so it must not already be active.
1 - 255An eval suite owned by this organization.
1 - 255A metric id the suite's active version declares. Its higher_is_better decides which score wins.
1 - 128Two to 16 active models of one API format. The alias only ever serves one of these. Order breaks ties: the earlier model wins an equal score.
2 - 16 elements1 - 255A task of the suite to rank on. Null ranks the metric averaged over every task, counting only runs that cover every task of the version.
1 - 255A candidate to serve until a first winner exists. Null leaves the alias unresolvable until then.
1 - 255Response
OK
The suite version the last recompute ranked. Null before one could be read.
-9007199254740991 <= x <= 9007199254740991responses, completions, embeddings, images, transcriptions, tts, rerank The benchmark winner. Null until one exists.
What a request for the alias is served by: the pin, else the winner, else the default.
pinned, benchmark, default ok: serving a ranked winner. waiting_for_results: no complete result to rank yet, so the last winner or the default holds. metric_missing: the suite's active version no longer declares the metric or task. suite_missing: the suite was deleted. The last two hold the last winner until the alias is edited.
ok, waiting_for_results, metric_missing, suite_missing Whether a request for the alias resolves right now: it serves a model that is still active in the registry.