cURL
curl --request PATCH \ --url https://api.opper.ai/v2/models/aliases/{alias_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "fallback_models": [ "<string>" ], "description": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "fallback_models": [ "<string>" ], "description": "<string>" }
Update a model alias.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the model alias to update
The name of the model alias
255
Ordered list of model names to try as fallbacks
1
Optional description of the model alias
1000
Successful Response
The ID of the model alias