List aliases
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/aliases \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/aliases"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/aliases', 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"
}
]{
"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
List aliases
List all aliases for the authenticated user’s company. Sysadmins can filter by company_id to view aliases from any company.
GET
/
api
/
v3
/
aliases
List aliases
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/aliases \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/aliases"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/aliases', 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"
}
]{
"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.
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