---
title: "Get all data checks across a project"
method: GET
path: "/workspaces/{workspace_id}/projects/{project_id}/data-checks"
tags: ["Project pipeline data checks"]
---

# Get all data checks across a project

`GET /workspaces/{workspace_id}/projects/{project_id}/data-checks`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}/data-checks`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Returns data checks from all dataview pipelines in the project. Supports filtering by dataview, status, sequence, and check type.

## Path parameters

- `workspace_id` integer, required: Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
- `project_id` integer, required: Project ID of the workspace

## Query parameters

- `fields` string: Data check fields to be returned in a comma-separated format. Check full mode for all fields.
- `sort` string: Returned results are sorted by the combination of the given fields.
- `dataview_id` integer, nullable: Returns only data checks belonging to the given dataview
- `sequence` integer, nullable: Returns all data checks where sequence matches the given value
- `status` 'not_run' | 'bypassed' | 'passed' | 'failed': Returns all data checks where status matches the given value

## Response `200`

Success

- PipelineDataChecks (unresolved $ref)

## Other responses

- `400`: Bad request syntax or unsupported method
- `401`: Authorization error
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/5dfd1c296ded?raw)
