---
title: "Rerun all stale pipelines"
method: POST
path: "/workspaces/{workspace_id}/parameters/rerun-all-stale"
tags: ["Parameters"]
---

# Rerun all stale pipelines

`POST /workspaces/{workspace_id}/parameters/rerun-all-stale`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/workspaces/{workspace_id}/parameters/rerun-all-stale`
- 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`

Rerun all stale pipelines in the project

## Path parameters

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

## Query parameters

- `project_id` integer, required: Project ID to rerun all stale pipelines for

## Response `200`

Rerun all stale pipelines

- RerunResponse
  - `message` string, required
  - `dataview_ids` integer[], required

## Other responses

- `202`: Request accepted, processing continues off-line
- `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/9d8804f81a10?raw)
