---
title: "Retry failed scaffolding"
method: POST
path: "/api/v1/github/scaffold/retry"
tags: ["github", "github-scaffold"]
---

# Retry failed scaffolding

`POST /api/v1/github/scaffold/retry`

Clean up partial state and retry scaffolding from scratch.

## Response `200`

Successful Response

- ScaffoldTriggerResponse — Response from triggering scaffolding.
  - `branch` string, nullable
  - `error` string, nullable
  - `message` string, required
  - `pr_number` integer, nullable
  - `pr_url` string, nullable
  - `status` string, required
  - `success` boolean, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict

---

[API](https://skmtc.dev/kater-ai/apis/kater-api.md) · [All operations](https://skmtc.dev/kater-ai/apis/kater-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kater-ai/kater-api/revisions/d2a2a2d0775e/schema)
