• Русский
  • Usage [cost.alauda.io/v1beta1]

    /platform/cost.alauda.io/v1beta1/costs/usage

    get Get metering and billing total usage

    Retrieves metering and billing total usage for platform.

    Parameters

    • start (in query): string required

      Start time, example: 2025-06-01

    • end (in query): string required

      End time, example: 2025-06-30

    • step (in query): string

      Statistical step, support: day|week|month, default is month

    • kind (in query): string

      Statistical kind, support: project|namespace|cluster|project_all|namespace_all|cluster_all, default is project_all

    • name (in query): string

      Statistical name, relative to Statistical kind

    • item (in query): string

      Billing item, support: Cpu|Memory|Storage, default is Cpu

    • method (in query): string

      Billing method, relative to Billing item, support: Effective|Request|Usage|ProjectQuota, default is Effective

    • currentPage (in query): integer

      Current page, default is 1

    • pageSize (in query): integer

      Page size, default is 20

    Response

    CostUsageResponse

    • pageSize: integer

      Page size

    • currentPage: integer

      Current page

    • total: integer

      Total items

    • items: []CostUsageItem

    CostUsageItem

    • project: string

      Project

    • cluster: string

      Cluster

    • namespace: string

      Namespace

    • item: string

      Billing item, support: Cpu|Memory|Storage

    • method: string

      Billing method support: Effective|Request|Usage|ProjectQuota

    • usage: number

      Usage

    • currency: string

      Currency, support: CNY|USD|THB|RUB|AUD|CAD|CHF|DKK|EUR|GBP|IDR|INR|JPY|HKD|SGD

    • start: string

      Start date, example: 20250601

    • end: string

      End date, example: 20250630

    Status

    • kind: string
    • apiVersion: string
    • metadata: object
    • status: string
    • message: string
    • reason: string
    • code: integer

    /platform/cost.alauda.io/v1beta1/projects/{project}/costs/usage

    get Get metering and billing total usage

    Retrieves metering and billing total usage for project.

    Parameters

    • project (in path): string required

      Project

    • start (in query): string required

      Start time, example: 2025-06-01

    • end (in query): string required

      End time, example: 2025-06-30

    • step (in query): string

      Statistical step, support: day|week|month, default is month

    • kind (in query): string

      Statistical kind, support: project|namespace|cluster|project_all|namespace_all|cluster_all, default is project_all

    • name (in query): string

      Statistical name, relative to Statistical kind

    • item (in query): string

      Billing item, support: Cpu|Memory|Storage, default is Cpu

    • method (in query): string

      Billing method, relative to Billing item, support: Effective|Request|Usage|ProjectQuota, default is Effective

    • currentPage (in query): integer

      Current page, default is 1

    • pageSize (in query): integer

      Page size, default is 20

    Response

    CostUsageResponse

    • pageSize: integer

      Page size

    • currentPage: integer

      Current page

    • total: integer

      Total items

    • items: []CostUsageItem

    CostUsageItem

    • project: string

      Project

    • cluster: string

      Cluster

    • namespace: string

      Namespace

    • item: string

      Billing item, support: Cpu|Memory|Storage

    • method: string

      Billing method support: Effective|Request|Usage|ProjectQuota

    • usage: number

      Usage

    • currency: string

      Currency, support: CNY|USD|THB|RUB|AUD|CAD|CHF|DKK|EUR|GBP|IDR|INR|JPY|HKD|SGD

    • start: string

      Start date, example: 20250601

    • end: string

      End date, example: 20250630

    Status

    • kind: string
    • apiVersion: string
    • metadata: object
    • status: string
    • message: string
    • reason: string
    • code: integer