Clusters Costs
Obtain the cost of all your clusters at once.
Obtain the costs of all your clusters
Get an array containing all your clusters and how much they are per minute in terms of costs.
- Curl
- Python
curl -X 'GET' \
'https://api.gigapipe.com/v1/clusters/costs/all' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>'
# Payload response ::List[Dictionary]
[
{
"slug": "cluster-test",
"cost": 0.026882283105023334
}
...
]
costs = gigapipe_client.clusters.get_costs()
# Payload response ::List[Dictionary]
[
{
"slug": "cluster-test",
"cost": 0.026882283105023334
}
...
]
Costs Response
Attributes
slug ::String
The cluster slug
cost ::Float
How much this cluster costs per minute