---
title: "Get all region consumption amount"
method: POST
path: "/account/v1alpha1/costs/all-region-consumption"
tags: ["ConsumptionAmount"]
---

# Get all region consumption amount

`POST /account/v1alpha1/costs/all-region-consumption`

Get all region consumption amount within a specified time range

## Request body

- HelperConsumptionRecordReq
  - `appName` string — @Summary App Name @Description App Name
  - `appType` string — @Summary App type @Description App type
  - `endTime` string
  - `kubeConfig` string
  - `namespace` string — @Summary Namespace @Description Namespace
  - `owner` string
  - `startTime` string
  - `token` string
  - `userID` string
  - `userUID` string

## Response `200`

successfully retrieved all region consumption amount

- object

## Other responses

- `400` — failed to parse all region consumption amount request
- `401` — authenticate error
- `500` — failed to get all region consumption amount

---

[API](https://skmtc.net/labring/apis/sealos-account-service.md) · [All operations](https://skmtc.net/labring/apis/sealos-account-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labring/sealos-account-service/revisions/185eff260477/schema)
