Skip to content

SetComputationStatus

The details of the computation status to be set.

statusstring

The computation status.

Enum:"CompletedSuccessfully""CompletedWithErrors""Stopped""ProgressEvent""ComputationLogEvent"
Example:"CompletedSuccessfully"
computationErrorsArray of objects(ComputationError)

The computation errors. There should not be any computation errors if the status of the computation is being set to 'CompletedSuccessfully'.

Example:
[ { "addresses": [ … ], "message": "Something went wrong." } ]

A message to provide a progress report on the status of an ongoing computation. Messages are logged as events.

Example:
{ "timeStamp": "2020-01-01T00:00:00.000Z", "progressStatus": "Queued", "source": "External application", "body": "This is a progress event message" }
computationLogEventobject(ComputationLogEvent)

The computationLogEvent. The log event should contain a list of logs associated with the computation.

{ "status": "CompletedWithErrors", "computationErrors": [ { … } ] }