---
title: "Get app cost time range"
method: POST
path: "/account/v1alpha1/cost-app-time-range"
tags: ["AppCostTimeRange"]
---

# Get app cost time range

`POST /account/v1alpha1/cost-app-time-range`

## Request

- Base URL: `https://localhost:2333`
- URL: `https://localhost:2333/account/v1alpha1/cost-app-time-range`
- Auth: none declared

Get app cost time range

## 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 app cost time range

- object

## Other responses

- `400`: failed to parse app cost time range request
- `401`: authenticate error
- `500`: failed to get app cost time range

## Changes

- **2024-08-06** `d2521e9fccb2`: 1 info
  - endpoint added
- **2023-12-13** `ac0fa9d94489`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/labring/apis/sealos-account-service/changes/account/v1alpha1/cost-app-time-range/post.md)

---

[API](https://skmtc.dev/labring/apis/sealos-account-service.md) - [All operations](https://skmtc.dev/labring/apis/sealos-account-service/llms.txt) - [OpenAPI document](https://skmtc.dev/labring/apis/sealos-account-service/revisions/acd38d9540d3?raw)
