---
title: "Get aggregated information about collection"
method: GET
path: "/v1/collections/{collection_id}/content/info/"
---

# Get aggregated information about collection

`GET /v1/collections/{collection_id}/content/info/`

## Request

- Base URL: `https://app.iconik.io/API/assets`
- URL: `https://app.iconik.io/API/assets/v1/collections/{collection_id}/content/info/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-assets/docs/v1/collections/:collection_id/content/info/get.ts> (a function with typed inputs; its response is checked against the schema)

<br/>The returned information includes count of assets and sub-collections,<br/>total size of all assets (in bytes), total size of all asset proxies<br/>(in bytes) and total duration of video and audio assets (in milliseconds).<br/>The returned information includes count of assets and sub-collections,<br/>total size of all assets (in bytes), total size of all asset proxies<br/>(in bytes) and total duration of video and audio assets (in milliseconds).
Required roles:
 - can_read_collections

## Path parameters

- `collection_id` string, required

## Query parameters

- `only_active` boolean
- `include_subcollections` boolean
- `format_name` string
- `by_storage_id` boolean
- `types` string

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Response `200`

Returns counts, total size, total proxy size, total duration, and optional grouping

- CollectionContentInfoSchema
  - `assets_count` integer
  - `collections_count` integer
  - `storage_info` StorageContentInfo[]
    - `assets_count` integer
    - `file_count` integer
    - `storage_id` string, uuid
    - `total_duration_milliseconds` integer
    - `total_size` integer
  - `title` string
  - `total_duration_milliseconds` integer
  - `total_proxy_size` integer
  - `total_size` integer

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `404`: Collection does not exist
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-assets.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-assets/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-assets/revisions/62580d9e640e?raw)
