---
title: "Return Single Data Store"
method: GET
path: "/v1/data-discovery/data-stores/{dataStoreId}"
tags: ["dataDiscovery"]
---

# Return Single Data Store

`GET /v1/data-discovery/data-stores/{dataStoreId}`

## Request

- Base URL: `https://api.osano.com`
- URL: `https://api.osano.com/v1/data-discovery/data-stores/{dataStoreId}`
- Auth: API key in header `x-osano-api-key`
- TypeScript: <https://skmtc.dev/osano/apis/osano-api-reference/docs/v1/data-discovery/data-stores/:dataStoreId/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a detailed Data Store by ID.

## Path parameters

- `dataStoreId` string, required

## Response `200`

Success

- DataStoreResponse
  - `dataStoreId` integer
  - `name` string
  - `status` string, nullable: The sync status of the data store (e.g., QUEUED, SYNCED, FAILED). Null for internal data stores.
  - `lastSync` string, date-time, nullable: The timestamp of the last sync operation
  - `description` string
  - `alias` string
  - `type` string
  - `active` boolean
  - `created` string, date-time
  - `connector` Connector
    - `connectorId` integer, required
    - `productName` string, required
    - `authType` string, required
  - `owners` DataStoreOwner[]
    - `email` string, email, required
    - `primary` boolean
  - `totalFields` integer: Total count of fields in the data store
  - `unclassifiedFields` integer: Count of fields that have not been classified
  - `fieldsWithUserData` integer: Count of fields that contain user data
  - `metadata` object
  - `labels` DataStoreLabels[]
    - `name` string, required
    - `labelId` string, uuid, nullable

## Other responses

- `400`: Bad Request
- `404`: Not Found

## Changes

- **2026-05-12** `4fc37598750d`: 7 info
  - added the optional property `fieldsWithUserData` to the response with the `200` status
  - added the optional property `labels` to the response with the `200` status
  - added the optional property `lastSync` to the response with the `200` status
  - added the optional property `metadata` to the response with the `200` status
  - …3 more

[Operation history](https://skmtc.dev/osano/apis/osano-api-reference/changes/v1/data-discovery/data-stores/:dataStoreId/get.md)

---

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