---
title: "Get app costs"
method: POST
path: "/account/v1alpha1/costs/app"
tags: ["AppCosts"]
---

# Get app costs

`POST /account/v1alpha1/costs/app`

Get app costs within a specified time range

## Request body

- HelperAppCostsReq
  - `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
  - `orderID` string — @Summary Order ID @Description Order ID @JSONSchema
  - `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 retrieved app costs

- object

## Other responses

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

---

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