---
title: "Get BigQuery datasets"
method: GET
path: "/api/v1/bigquery/sso/datasets"
tags: ["Projects"]
---

# Get BigQuery datasets

`GET /api/v1/bigquery/sso/datasets`

Get BigQuery datasets for a project

## Query parameters

- `projectId` string, required

## Response `200`

Success

- ApiBigqueryDatasets
  - `results` BigqueryDataset[], required
    - `sizeBytes` number, double, nullable
    - `datasetId` string, required
    - `location` string
    - `projectId` string, required
  - `status` 'ok', required

## Other responses

- `default` — Error

---

[API](https://skmtc.net/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.net/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/versions/40c933755c9a/schema)
