import requests
url = "http://localhost:3000/v1/notification/usage_alert"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"enabled": true,
"percent": 50,
"updated_at": "2023-11-07T05:31:56Z"
}Retrieve the usage alert configuration.
import requests
url = "http://localhost:3000/v1/notification/usage_alert"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"enabled": true,
"percent": 50,
"updated_at": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
The unique identifier for the notification
Whether the usage alert is enabled
Percentage of included minutes USED at which the alert is triggered (1-99)
1 <= x <= 99The timestamp when the configuration was last updated