---
title: "Regenerate material pipeline steps"
method: POST
path: "/pipeline/{session_id}/regenerate"
tags: ["pipeline"]
---

# Regenerate material pipeline steps

`POST /pipeline/{session_id}/regenerate`

## Path parameters

- `session_id` string, required

## Request body

- RegenerateRequest
  - `steps` PipelineStep[], required — Pipeline steps to re-run from cache
  - `user_prompt` string, nullable — Override user prompt for regeneration
  - `layer_only` boolean — Output only a material binding layer when re-running apply
  - `coverage_policy` 'strict' | 'allow_partial', nullable — Optional coverage policy override for this regeneration

## Response `202`

Regeneration started

- SessionCreated
  - `session_id` string
  - `status` string
  - `message` string
  - `estimated_duration_minutes` integer, nullable

## Other responses

- `400` — Session is running or lacks cached input
- `404` — Session not found
- `422` — Invalid request body

## Changes

- **2026-07-21** `1a8c0d4c92b5` — 1 info
  - added the new optional request property `coverage_policy`
- **2026-05-27** `5738430233e4` — 1 info
  - endpoint added
- **2026-04-29** `790a7e8ac4e2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nvidia/apis/material-agent-service/changes/pipeline/:session_id/regenerate/post.md)

---

[API](https://skmtc.dev/nvidia/apis/material-agent-service.md) · [All operations](https://skmtc.dev/nvidia/apis/material-agent-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nvidia/material-agent-service/revisions/4fde0c1362b3/schema)
