Skip to main content
POST
Mark a task as failed

Body

application/json
taskId
string
required

Task ID

idempotencyKey
string

Apply this mutation once per key; a replay returns the previous result

reason
string

Failure reason

Response

Success — body conforms to the @Returns schema.

event
object
required
task
object
required
{key}
any