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

# Retry a failed or cancelled task

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

## Path parameters

- `taskId` string, uuid, required

## Response `202`

Task accepted for processing

- SuccessResponseTaskCreated
  - `ok` true
  - `data` TaskCreatedResult
    - `taskId` string, uuid, required
    - `status` 'queued', required
    - `statusUrl` string, required

## Other responses

- `404` — Resource not found

## Changes

- **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/5eb4ed0f33c7/schema)
