---
title: "GET /index/{uuid}/data_collections"
method: GET
path: "/index/{uuid}/data_collections"
tags: ["index"]
---

# GET /index/{uuid}/data_collections

`GET /index/{uuid}/data_collections`

## Request

- Base URL: `https://api.merqube.com`
- URL: `https://api.merqube.com/index/{uuid}/data_collections`
- Auth: none declared
- TypeScript: <https://skmtc.dev/merqube/apis/merqube-api/docs/index/:uuid/data_collections/get.ts> (a function with typed inputs; its response is checked against the schema)

get the timeseries of data collections for an index

## Path parameters

- `uuid` string, required

## Response `200`

OK

- ListDataCollections
  - `data_collection` DataCollectionsSpec[]
    - `auto_persist` boolean: Boolean to indicate whether to automatically persist the data. Default is false.
    - `compression` 'NONE' | 'GZIP'
    - `date_col` string
    - `format` 'csv'
    - `index_dc_subtype` string, required: Index Data Collection Subtype object key moves to array after transformation
    - `layout_type` 'SINGLE_FILE' | 'YEARLY_DIR_DAILY_FILE': SINGLE_FILE: one file. YEARLY_DIR_DAILY_FILE: one directory per year, each day, a file with YYYYMMDD format.
    - `location` string, required
    - `name` string, required
    - `seed_file_path` string: Seed file for the data collection.
    - `start_time` string

## Other responses

- `403`: not authorized to see this namespace
- `404`: index or data collection does not exist

---

[API](https://skmtc.dev/merqube/apis/merqube-api.md) - [All operations](https://skmtc.dev/merqube/apis/merqube-api/llms.txt) - [OpenAPI document](https://skmtc.dev/merqube/apis/merqube-api/revisions/20f47ca36587?raw)
