---
title: "Retries the last failed task"
method: POST
path: "/api/workflow/{workflowId}/retry"
tags: ["workflow-resource"]
---

# Retries the last failed task

`POST /api/workflow/{workflowId}/retry`

## Path parameters

- `workflowId` string, required

## Query parameters

- `resumeSubworkflowTasks` boolean
- `retryIfRetriedByParent` boolean

## Response `204`

No Content

---

[API](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server.md) · [All operations](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/orkescloud/orkes-conductor-api-server/revisions/6ebf0c14ac41/schema)
