List awake sandboxes
curl --request GET \
--url https://api.fibre.dev/v1/billing/current \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fibre.dev/v1/billing/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fibre.dev/v1/billing/current"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"sessions": [
{}
]
}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}Billing
List awake sandboxes
The billing sessions open now: every sandbox awake and being charged.
GET
/
v1
/
billing
/
current
List awake sandboxes
curl --request GET \
--url https://api.fibre.dev/v1/billing/current \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fibre.dev/v1/billing/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fibre.dev/v1/billing/current"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"sessions": [
{}
]
}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}