---
title: "Get cost app list"
method: POST
path: "/account/v1alpha1/cost-app-list"
tags: ["CostAppList"]
---

# Get cost app list

`POST /account/v1alpha1/cost-app-list`

## Request

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

Get cost app list

## 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 app list

- HelperCostAppListResp
  - `apps` HelperCostApp[]: @Summary Cost app list @Description Cost app list
    - `appName` string: @Summary App Name @Description App Name
    - `appType` integer: @Summary App type @Description App type
    - `namespace` string: @Summary Namespace @Description Namespace
  - `total` integer: @Summary Total @Description Total
  - `totalPage` integer: @Summary Total page @Description Total page

## Other responses

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

## 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-list/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)
