Skip to main content
POST
/
agent-tasks
/
retry
Retry Task Execution
curl --request POST \
  --url https://api.beamstudio.ai/agent-tasks/retry \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'current-workspace-id: <current-workspace-id>' \
  --data '
{
  "taskNodeId": "123e4567-e89b-12d3-a456-426614174000",
  "taskId": "123e4567-e89b-12d3-a456-426614174001",
  "taskNodeFeedbackAsText": "Please use a more formal tone and include all stakeholders",
  "taskNodeFeedbackPerKeys": [
    {
      "outputKey": "email_body",
      "description": "The tone should be more formal and include budget details"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

current-workspace-id
string
required

Body

application/json
taskNodeId
string

The specific task node to retry from

Example:

"123e4567-e89b-12d3-a456-426614174000"

taskId
string

The task ID to retry

Example:

"123e4567-e89b-12d3-a456-426614174001"

taskNodeFeedbackAsText
string

General feedback text to improve the retry execution

Example:

"Please use a more formal tone and include all stakeholders"

taskNodeFeedbackPerKeys
object[]

Structured feedback for specific output fields

Response

201

Task retry initiated successfully