List budget alerts
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/billing/budget/alerts \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/billing/budget/alerts"
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/billing/budget/alerts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": 123,
"is_enabled": true,
"threshold_type": "<string>",
"threshold_value": "<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>"
]
}Budget
List budget alerts
Return all alert thresholds for the company’s budget.
GET
/
api
/
v3
/
billing
/
budget
/
alerts
List budget alerts
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/billing/budget/alerts \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/billing/budget/alerts"
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/billing/budget/alerts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": 123,
"is_enabled": true,
"threshold_type": "<string>",
"threshold_value": "<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>"
]
}