---
title: "Get cost overview"
method: POST
path: "/account/v1alpha1/cost-overview"
tags: ["CostOverview"]
---

# Get cost overview

`POST /account/v1alpha1/cost-overview`

Get cost overview

## Request body

- HelperGetCostAppListReq
  - `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
  - `page` integer — @Summary Page @Description Page
  - `pageSize` integer — @Summary Page Size @Description Page Size
  - `startTime` string
  - `token` string
  - `userID` string
  - `userUID` string

## Response `200`

successfully get cost overview

- HelperCostOverviewResp
  - `overviews` HelperCostOverview[] — @Summary Cost overview @Description Cost overview
    - `amount` integer — @Summary Amount @Description Amount
    - `appName` string
    - `appType` integer — @Summary App type @Description App type
    - `namespace` string — @Summary Namespace @Description Namespace
    - `regionDomain` string — @Summary Region domain @Description Region domain
  - `total` integer — @Summary Total @Description Total
  - `totalPage` integer — @Summary Total page @Description Total page

## Other responses

- `400` — failed to parse cost overview request
- `401` — authenticate error
- `500` — failed to get cost overview

---

[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)
