Update alias
curl --request PATCH \
--url https://paradigm.lighton.ai/api/v3/aliases/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"technical_name": "<string>",
"description": "<string>"
}
'import requests
url = "https://paradigm.lighton.ai/api/v3/aliases/{id}"
payload = {
"name": "<string>",
"technical_name": "<string>",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', technical_name: '<string>', description: '<string>'})
};
fetch('https://paradigm.lighton.ai/api/v3/aliases/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_id": 123,
"name": "<string>",
"technical_name": "<string>",
"description": "<string>",
"model_type": "Large Language Model",
"linked_models": [
{
"priority": 123,
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_name": "<string>",
"model_technical_name": "<string>"
}
]
}{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Models
Update alias
Partially update an alias.
PATCH
/
api
/
v3
/
aliases
/
{id}
Update alias
curl --request PATCH \
--url https://paradigm.lighton.ai/api/v3/aliases/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"technical_name": "<string>",
"description": "<string>"
}
'import requests
url = "https://paradigm.lighton.ai/api/v3/aliases/{id}"
payload = {
"name": "<string>",
"technical_name": "<string>",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', technical_name: '<string>', description: '<string>'})
};
fetch('https://paradigm.lighton.ai/api/v3/aliases/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_id": 123,
"name": "<string>",
"technical_name": "<string>",
"description": "<string>",
"model_type": "Large Language Model",
"linked_models": [
{
"priority": 123,
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_name": "<string>",
"model_technical_name": "<string>"
}
]
}{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
Response
Unique ID for this alias
ID of the company which owns this alias.
Display name for this model alias
Company-wide unique technical name for this model alias
Description of the alias.
Type of models represented by this alias (eg. 'Large Language Model', 'Embedding Model','Vision Language Model', 'Multi-Vector Model)
Large Language Model- Large Language ModelEmbedding Model- Embedding ModelVision Language Model- Vision Language ModelMulti-Vector Model- Multi-Vector Model
Available options:
Large Language Model, Embedding Model, Vision Language Model, Multi-Vector Model Models associated with this alias.
Show child attributes
Show child attributes