---
title: "Get All Data Set Grants"
method: GET
path: "/dataSetGrants"
tags: ["Data Set Grant"]
---

# Get All Data Set Grants

`GET /dataSetGrants`

## Request

- Base URL: `https://data.lucid.app`
- URL: `https://data.lucid.app/dataSetGrants`
- Auth: OAuth 2
  - Authorization code: `https://lucid.app/oauth2/authorize`
  - Token URL: `https://api.lucid.co/oauth2/token` scopes: `data-service.admin`

Finds and returns all data set grants for the queried data set if the user has access to the data set.

## Query parameters

- `dataSet` string, required

## Response `200`

OK with array of Data Set Grant

- object[]
  - `uri` string, required: URI of the data set grant
  - `dataSet` string, required: Link to get the data set for the grant
  - `permissionType` string, required: Type of permission granted
  - `identifier` string, required: The document id, account id, or user id matching the permission type
  - `role` string, required: Available types are: 'edit' and 'view'

---

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