---
title: "Get all datasets"
method: GET
path: "/api/v2/datasets"
tags: ["Datasets"]
---

# Get all datasets

`GET /api/v2/datasets`

Get all datasets that have been configured for an organization.

## Response `200`

OK

- DatasetResponseMulti — Response containing a list of datasets.
  - `data` DatasetResponse[] — The list of datasets returned in response.
    - `attributes` DatasetAttributesResponse — Dataset metadata and configuration(s).
      - `created_at` string, date-time, nullable — Timestamp when the dataset was created.
      - `created_by` string, uuid — Unique ID of the user who created the dataset.
      - `name` string — Name of the dataset.
      - `principals` string[] — List of access principals, formatted as `principal_type:id`. Principal can be 'team' or 'role'.
      - `product_filters` FiltersPerProduct[] — List of product-specific filters.
        - `filters` string[], required — Defines the list of tag-based filters used to restrict access to telemetry data for a specific product. These filters act as access control rules. Each filter must follow the tag query syntax used by Datadog (such as `@tag.key:value`), and only one tag or attribute may be used to define the access strategy per telemetry type.
        - `product` string, required — Name of the product the dataset is for. Possible values are 'apm', 'rum', 'metrics', 'logs', 'error_tracking', 'cloud_cost', 'sd_repoinfo', and 'secruntime'.
    - `id` string — Unique identifier for the dataset.
    - `type` 'dataset' — Resource type, always set to `dataset`.

## Other responses

- `403` — Not Authorized
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
