---
title: "Get pending changes for a project"
method: GET
path: "/workspaces/{workspace_id}/projects/{project_id}/pending-changes"
tags: ["Projects"]
---

# Get pending changes for a project

`GET /workspaces/{workspace_id}/projects/{project_id}/pending-changes`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}/pending-changes`
- 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`

This endpoint fetches pending changes for a project including:
        - Non-sync items
        - Pending data update items
        - Pending pipeline changes
        - Files and datasets waiting for a person (unstructured rows, ambiguous dates,
          passwords, sheet selection, schema mismatch)

## 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 to delete

## Response `200`

Pending changes in a project - including pending pipelines, non sync items, and pending data update items

- GetPendingItemsResponse
  - `pending_items` PendingItemsResponse, required
    - `non_sync_items` PendingItem[]
      - `op_id` integer, required
      - `op_type` string, required
      - `op_name` string, required
      - `source_dataview_id` integer, nullable
      - `additional_info` object
      - `data_pass_through` boolean, required
      - `data_update_pending` boolean, required
      - `resource` object, required
    - `pending_data_update_items` PendingItem[]
      - `op_id` integer, required
      - `op_type` string, required
      - `op_name` string, required
      - `source_dataview_id` integer, nullable
      - `additional_info` object
      - `data_pass_through` boolean, required
      - `data_update_pending` boolean, required
      - `resource` object, required
    - `pending_changes` object
    - `active_automations` ActiveAutomation[]
      - `task_id` integer, required
      - `task_type` string, required
      - `task_status` string, required
      - `last_run` string, nullable
      - `last_run_result` object, nullable
      - `automation_id` integer, required
      - `automation_name` string, required
      - `automation_status` string, required
    - `ds_action_needed_items` DsActionNeededItem[]
      - `id` integer, required
      - `name` string, nullable
      - `resource_type` string, required
      - `action_needed` object, required
      - `append_to_ds_id` integer, nullable
      - `created_at` string, date-time, nullable
      - `datasource_resource_id` integer, nullable
      - `needs_review` boolean

## Other responses

- `400`: Bad Request
- `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/fe078afe239b?raw)
