Get Model Alias
Get one model alias.
Needs view_routing or manage_routing.
Authentication
AuthorizationBearer
A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.
Path parameters
alias_id
The alias’s id.
Response
The model alias
created_at
When the alias was created.
description
What the alias is for.
full_name
@alias/<name>, the value clients send as model.
id
The alias's id.
is_active
Whether the alias is active.
managed_by
routing_policy for the slug a routing policy owns; null for your own aliases.
name
The alias, without the @alias/ prefix.
project_id
The project the alias applies to; null for the whole organization.
target_model
Set when target_type is model.
target_policy_id
Set when target_type is routing_config.
target_type
model resolves to one model; routing_config to a routing policy.
Allowed values:
updated_at
When the alias last changed.
vendor
The vendor the target model is pinned to, if any.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error