curl --request POST \
--url https://api.example.com/api/v2/tasks/{taskId}/complete \
--header 'Content-Type: application/json' \
--data '
{
"result": "<unknown>"
}
'{
"nextTaskId": "<string>"
}Marks a specified task as complete, providing the result of its execution. This may trigger the next task in the workflow.
curl --request POST \
--url https://api.example.com/api/v2/tasks/{taskId}/complete \
--header 'Content-Type: application/json' \
--data '
{
"result": "<unknown>"
}
'{
"nextTaskId": "<string>"
}The unique identifier of the task to complete.
The result data from the task's execution.
Task completed successfully.
Task completed successfully.
The ID of the next task in the workflow, if any, or null.