---
title: "Get prebilling consumption"
method: GET
path: "/fastedge/v1/admin/prebilling_consumption"
tags: ["Billing"]
deprecated: true
---

# Get prebilling consumption

`GET /fastedge/v1/admin/prebilling_consumption`

> **Deprecated.**

## Query parameters

- `from` string, date, required
- `to` string, date, required
- `limit` integer, required
- `offset` integer, required

## Response `200`

Returns prebilling consumption data for the specified parameters

- PrebillingConsumptionResponse
  - `pagination` PrebillingConsumptionPagination
    - `total_pages` integer
    - `current_page` integer
    - `limit` integer
  - `data` PrebillingConsumptionData[]
    - `client_id` integer
    - `date` string, date
    - `subproduct` string
    - `metric_value` integer
    - `metric_unit` string
    - `metric_name` string

## Other responses

- `400` — Bad request
- `503` — Service unavailable

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
