---
title: "Get Data Stores"
method: GET
path: "/data_stores/"
tags: ["DATA_STORE"]
---

# Get Data Stores

`GET /data_stores/`

Gets all data stores from db
:param db: database session
:param auth: auth token.

## Response `200`

Successful Response

- DataStoreFetchAllResponse
  - `data_stores` DataStoreWithMetadata[], required
    - `id` integer, required
    - `name` string, required
    - `type` string, required
    - `description` string, nullable
    - `created_by` integer, nullable
    - `connection_info` string, nullable
    - `last_modified_by` integer, nullable
    - `can_sync` boolean
    - `auto_sync` boolean
    - `last_synced_at` string, date-time, nullable
    - `last_sync_status` string, nullable
    - `instance_id` integer, nullable
    - `instance_edition` 'ENTERPRISE' | 'STANDARD' | 'BUSINESS_CRITICAL' | 'NA'
    - `is_organization_admin` boolean, nullable
    - `auth_type` string, nullable
    - `connection_name` string, nullable
    - `hosts` TableauHostSites[], nullable
      - `host` string, required
      - `data_store_id` integer, required
      - `sites` string[], required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
