Update Llm Model
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/llm-models/{model_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"provider": "<string>",
"model_name": "",
"reasoning": {}
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/llm-models/{model_id}"
payload = {
"name": "<string>",
"provider": "<string>",
"model_name": "",
"reasoning": {}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', provider: '<string>', model_name: '', reasoning: {}})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/llm-models/{model_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"model_name": "<string>",
"provider": "<string>",
"azure_endpoint": "<string>",
"azure_api_version": "<string>",
"has_azure_api_key": false,
"base_url": "<string>",
"has_api_key": false,
"reasoning": {},
"used_by": []
}LLM Models
Update Llm Model
Update an LLM model.
PUT
/
api
/
v1
/
llm-models
/
{model_id}
Update Llm Model
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/llm-models/{model_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>",
"provider": "<string>",
"model_name": "",
"reasoning": {}
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/llm-models/{model_id}"
payload = {
"name": "<string>",
"provider": "<string>",
"model_name": "",
"reasoning": {}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', provider: '<string>', model_name: '', reasoning: {}})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/llm-models/{model_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"model_name": "<string>",
"provider": "<string>",
"azure_endpoint": "<string>",
"azure_api_version": "<string>",
"has_azure_api_key": false,
"base_url": "<string>",
"has_api_key": false,
"reasoning": {},
"used_by": []
}Body
application/json
Response
200 - application/json
OK
