Get agent icon
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/agents/{id}/icon \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/agents/{id}/icon"
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/agents/{id}/icon', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>""<unknown>"{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Agents
Get agent icon
Retrieve the icon for an agent as a WebP image file. Access control: Sys-admin users can access icons for all agents from all companies. Company admin users can access icons for all agents from their company. Regular users can only access icons for agents linked to groups they belong to.
GET
/
api
/
v3
/
agents
/
{id}
/
icon
Get agent icon
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/agents/{id}/icon \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/agents/{id}/icon"
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/agents/{id}/icon', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>""<unknown>"{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}