---
title: "Get channel used disk space."
method: GET
path: "/2/vod/channels/{channel}/disk-usage"
tags: ["V3 > Channel"]
---

# Get channel used disk space.

`GET /2/vod/channels/{channel}/disk-usage`

Retrieves the disk usage of a channel.

## Path parameters

- `channel` integer, required

## Query parameters

- `name` string, required
- `pack` string, required
- `role` string
- `period` string — <br/>This field must be present and not empty unless the `pack` field is equal to any of the following:`1jhvl2upwockt`, `1jijk03u32izh`
- `free` boolean
- `promo` boolean
- `description` string
- `options` string
- `annotations` boolean
- `renewal_warranty` boolean
- `size` integer — <br/>This field must be present and not empty if the `pack` field is equal to any of the following:`custom`
- `subtitles` boolean
- `vip` boolean
- `max_audio_bitrate` integer
- `max_video_bitrate` integer
- `max_imports` integer
- `debug_encode` boolean
- `os_swift_template` string
- `v1_compat` boolean
- `v1_compat_callback` boolean
- `features` string
- `v1_compat_ftp` integer
- `v1_compat_soap_api` boolean
- `linked_services` object[]
  - `item` union, required
    - string
    - string
  - `service` union, required
    - string
    - string
  - `version` union
    - string
    - string
  - `extra` object
    - `stations` integer[]
    - `size` union
      - string
      - string
- `format` string, nullable — Any valid byte unit, with or without precision specified (tries to format bytes in the most readable unit if nothing is specified):<br/><note><strong>YB</strong>: Yotta Byte</note><note><strong>ZB</strong>: Zetta Byte</note><note><strong>EB</strong>: Exa Byte</note><note><strong>PB</strong>: Peta Byte</note><note><strong>TB</strong>: Tera Byte</note><note><strong>GB</strong>: Giga Byte</note><note><strong>MB</strong>: Mega Byte</note><note><strong>kB</strong>: Kilo Byte</note><note><strong>B</strong>: Byte</note><note><strong>no</strong>: No formatting (raw number of bytes)</note>A precision (digits after '.') may be added with the following notation:<br/><note><strong>6</strong>: 1.322123MB</note><note><strong>/6</strong>: 1.322123MB</note><note><strong>MB/6</strong>: 1.322123MB</note><note><strong>MB/000000</strong>: 1.322123MB</note><note><strong>GB/9</strong>: 0.001322123GB</note>

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` union
    - string
    - integer

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
