Task

Read task progress

GET
/api/task/{taskId}
Read task progress
curl --request GET \
  --url https://rologi-motion.example.com/api/task/TASK-200 \
  --header 'Authorization: Bearer <token>' \
  --header 'Ras-Api-Version: 1' \
  --header 'Ras-Site: WAREHOUSE-01' \
  --header 'Ras-Station: ARM-01'
{
  "taskId": "TASK-200",
  "state": "ACCEPTED",
  "operation": [
    {
      "operationId": "OP-1",
      "state": "PLANNED"
    },
    {
      "operationId": "OP-2",
      "state": "PLANNED"
    }
  ]
}

Read the latest observed task and operation state. A completed operation does not complete a task while required contributions remain. Missing result counts are unknown. A task can require reconciliation even after physical execution has finished.

Related guide: Picking workflow.

Authorizations

Authorization
stringheaderrequired

JWT for your integration. Rologi Motion checks the issuer, the audience and the allowlist for your direction.

Parameters

taskId
stringpathrequired
Ras-Site
stringheaderrequired

Supply exactly one nonempty value authorized for this integration.

Ras-Station
stringheaderrequired

Supply exactly one nonempty value authorized for this integration.

Ras-Api-Version
stringheader

API version. Omit to use the oldest supported version; currently 1.

Response

application/json

Current locally observed task and operation state.

taskId
stringrequired
state
enum<string>required
Available options: ACCEPTED, IN_PROGRESS, RECONCILIATION_REQUIRED, COMPLETED, CANCELLATION_REQUESTED, CANCELLED, FAILED
operation
object[]required

Hide child attributes

operation.operationId
stringrequired
operation.state
enum<string>required
Available options: PLANNED, SUBMISSION_PENDING, SUBMISSION_UNKNOWN, WAITING_FOR_SOURCE, WAITING_FOR_TARGET, COMPLETED, REJECTED, NOT_EXECUTED, CANCELLATION_REQUESTED, IN_PROGRESS
operation.result
object | null

Hide child attributes

operation.result.outcome
enum<string>required
Available options: SUCCESS, PARTIAL, FAILED, UNKNOWN
operation.result.requested
numberrequired
operation.result.unit
stringrequired
operation.result.picked
number | null
operation.result.placed
number | null
operation.result.dropped
number | null
operation.result.errorCode
string | null
operation.result.errorDescription
string | null
operation.result.sourceBin
object | null

Hide child attributes

operation.result.sourceBin.empty
boolean | null

Whether the station reported the source empty. False is an observed value.

operation.result.sourceBin.quantityRemaining
number | null

Nonnegative remaining quantity in the operation unit. Negative reports, including -1, are omitted and audited; your WCS owns inventory reconciliation.

operation.result.targetBin
object | null

Hide child attributes

operation.result.targetBin.full
boolean | null

Whether the station reported the target full. False is an observed value.

operation.result.validationIssues
object[]

Omitted when empty. A counting warning can accompany success; invalid execution quantities produce UNKNOWN with INVALID_ARM_RESULT.

Hide child attributes

operation.result.validationIssues.code
enum<string>required

NEGATIVE_SOURCE_REMAINING is a counting warning only. Other codes invalidate the execution quantities and require reconciliation.

Available options: NEGATIVE_EXECUTION_QUANTITY, PLACED_EXCEEDS_REQUESTED, ACCOUNTED_EXCEEDS_PICKED, NEGATIVE_SOURCE_REMAINING
operation.result.validationIssues.fields
string[]required

Affected fields in the operation result.

activeOperationId
string | null
cancellationRequested
boolean

Cancellation was requested; active work may still finish.

reasonCode
string | null

Reason that execution stopped or requires reconciliation.

executionFinished
boolean | null

New responses/events report whether Motion will prepare further physical work for this task. True frees execution but accounting can still require review. Absent in older payloads means unknown.