Runrunit

Interact with the Runrunit API

Task → Reopen

AI-generated

Summary

Reopen a completed or closed task in Runrunit by specifying its Task ID, optionally previewing the curl request before execution.

Inputs

  • Task ID (required) — The unique identifier of the task to reopen.
  • Mode — Determines whether to execute the API request or just preview the curl command; defaults to executing the request.

Output shape

a single JSON object representing the reopened task's details as returned from the Runrunit API or the curl command preview string

If 'Mode' is set to 'Preview curl', the output will be a curl command string instead of executing the API call. The task must exist and be in a state eligible to be reopened; otherwise, an error will occur.

Links

Discussion