---
title: "List data models"
method: GET
path: "/v2/dataModels"
tags: ["Data models"]
---

# List data models

`GET /v2/dataModels`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/dataModels`
- Auth: HTTP bearer

This endpoint retrieves a list of all data models available. You can use the response from this endpoint to review existing data models and determine if there are duplicates or gaps.

### Usage notes
This endpoint requires no parameters for basic requests, but supports query parameters for pagination and response limit.

Users with the Admin account type can optionally retrieve all data models in the organization.

#### Pagination
This endpoint supports pagination, which lets you retrieve large sets of data in manageable segments. The response includes pagination details as follows:
- hasMore: A boolean value indicating whether there are more pages of data available beyond the current page.
- total: The total number of entries available across all pages.
- nextPage: An identifier or token that you can use in a subsequent request to retrieve the next page of data.

#### Example response for pagination
{
  "hasMore": true,
  "total": 104,
  "nextPage": "50"
}
To request additional pages, include the `nextPage` option in your followup request according to the endpoint's parameter requirements. This process can be repeated until the `nextPage` option returns `null`, indicating that no further data is available.

### Usage scenarios
- **Data model navigation:** Allows users to easily navigate through their available of data models and access the one they need.
- **Track lineage**: Identify dependencies and lineage of data sources and data models.

## Query parameters

- `page` string
- `limit` number, double
- `excludeTags` boolean
- `skipPermissionCheck` boolean

## Response `200`

The response body.

- DataModelsListDataModelsResponse200
  - `entries` V2DataModelsGetResponsesContentApplicationJsonSchemaEntriesItems[], required: Array of results returned by the endpoint
    - `dataModelId` string, required: Unique identifier of the data model.
    - `dataModelUrlId` string, required
    - `name` string, required
    - `url` string, required
    - `path` string, required
    - `latestVersion` number, double, required
    - `ownerId` string, required
    - `createdBy` string, required: The identifier of the user who created this object.
    - `updatedBy` string, required: The identifier of the user or process that last updated this object.
    - `createdAt` string, date-time, required: When the object was created.
    - `updatedAt` string, date-time, required: When the object was last updated.
    - `isArchived` boolean
    - `tags` V2DataModelsGetResponsesContentApplicationJsonSchemaEntriesItemsTagsItems[]
      - `versionTagId` string, required: Unique identifier of the tag.
      - `tagName` string, required
      - `sourceVersion` number, double, required
      - `taggedAt` string, date-time, required
  - `nextPage` string, nullable, required: Returns a string that can be used as the `page` parameter in the next request to fetch the next page of results. The last page of results returns `null`.
  - `total` number, double: Total number of results. Useful to determine if there is a need to paginate.
  - `hasMore` boolean: **[Deprecated]** Indicates whether more results are available.

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
