---
title: "Get streams transcoding chart for reseller"
method: GET
path: "/streaming/statistics/reseller/stream"
tags: ["Streaming Statistics"]
---

# Get streams transcoding chart for reseller

`GET /streaming/statistics/reseller/stream`

Calculates the time series of transcoding minutes of all streams of all subclients. The data is updated near realtime.

## Query parameters

- `from` string, required
- `to` string, required
- `granularity` '1m' | '5m' | '15m' | '1h' | '1d'
- `by_streams` boolean — indicates the format of the answer should be grouped by stream, else by client

## Response `200`

OK

- object[]
  - `client` integer, required
  - `metrics` object, required
    - `streams` integer[], required

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

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