---
title: "Tasks - retry a failed or cancelled task"
method: POST
path: "/api/v1/tasks/{taskId}/retry"
tags: ["Tasks"]
---

# Tasks - retry a failed or cancelled task

`POST /api/v1/tasks/{taskId}/retry`

Re-queues a failed or cancelled task with the same parameters.

## Path parameters

- `taskId` string, uuid, required

## Response `202`

Task re-queued

- TaskAcceptedResponse — HTTP 202 response when a task is accepted for async processing
  - `ok` true, required
  - `data` TaskCreatedResult, required — Returned when a CAD task is accepted. Poll the statusUrl to track progress.
    - `taskId` string, uuid, required — Unique task identifier - use this to poll for status and retrieve results
    - `status` 'queued', required — Initial task status (always 'queued' upon creation)
    - `statusUrl` string, required — Relative URL to poll for task status updates

## Other responses

- `404` — Not found
- `409` — Task is not in a retryable state

## Changes

- **2026-04-30** `bef883f8a334` — 10 info
  - api operation id `retryTask` removed and replaced with ``
  - added the non-success response with the status `409`
  - the response property `data` became required for the status `202`
  - the response property `ok` became required for the status `202`
  - …6 more
- **2026-04-17** `5eb4ed0f33c7` — 5 breaking, 3 warning, 2 info
  - the response property `data` became optional for the status `202`
  - the response property `ok` became optional for the status `202`
  - the `ok` response property const value `false` was removed for the status `404`
  - the `ok` response property const value `true` was removed for the status `202`
  - …6 more

[Change history](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/changes/api/v1/tasks/:taskId/retry/post.md)

---

[API](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api.md) · [All operations](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitbybit-dev/bitbybit-cad-cloud-api/revisions/1135d4473bc2/schema)
