---
title: "Get Data Store"
method: GET
path: "/data_stores/{data_store_id}"
tags: ["DATA_STORE"]
---

# Get Data Store

`GET /data_stores/{data_store_id}`

Gets the data store by id
:param data_store: data_store object fetched from db
:param auth: auth token.
:return: A data store fetch response containing the data store definition and other metadata.

## Path parameters

- `data_store_id` integer, required

## Response `200`

Successful Response

- DataStoreWithMetadata
  - `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` — Invalid data store id
- `403` — Not supported for public user
- `422` — Validation Error

---

[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/103580dad816/schema)
