Skip to main content
GET
/
api
/
v1
/
builders
/
spending
Get total spending
curl --request GET \
  --url https://{subdomain}.mihu.ai/api/v1/builders/spending \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "currency": "EUR",
    "total_cost": 12.34,
    "vm_count": 3,
    "deployments": [
      {}
    ]
  }
}

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Response

200 - application/json

Spending summary.

success
boolean
Example:

true

data
object