failRun(command: RunsFailRunCommand!, idempotencyKey: String): RunsRun!
Arguments
Input fields
command
Response
Returns RunsRun!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation FailRun($command: RunsFailRunCommand!, $idempotencyKey: String) {
failRun(command: $command, idempotencyKey: $idempotencyKey) {
id
projectId
runId
status
createdAt
}
}{
"command": {
"runId": "11111111-1111-4111-8111-111111111111",
"input": {
"error": {
"code": "TASK_FAILED",
"message": "The task could not be completed."
}
}
}
}