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

# Get Data Stores

`GET /data_stores/`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/data_stores/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

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

## Changes

- **2026-08-08** `103580dad816`: 1 info
  - added the optional property `data_stores/items/hosts` to the response with the `200` status

[Operation history](https://skmtc.dev/myaltimate/apis/myaltimate-api/changes/data_stores/get.md)

---

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