[GET] Task Status
Last updated
Last updated
Use this request to get information about a specific Task, including its processing and auditing information.
GET
/api/v1.0/external/sdtask/status?taskid=12345
taskid
integer
The ID that identifies the task to retrieve data on. This ID is always unique and never changes after it has been created.
externalId
string
(optional)
An optional External ID, valid for your organization and added to the Task at creation, that uniquely identifies it in your Organization.
At least one of taskId
or externalId
must be specified.
GetTaskStatusResponse
taskId
integer
The unique identifier of your Task.
workspaceId
integer
The ID of the workspace this task belongs to.
batchId
integer
(optional)
Optional ID of the Batch this tasks belong to. If the Task does not belong to a Batch, this value will be null.
taskNumber
integer
(optional)
A sequential ID, by Workspace, for each Task. This ID is only available on Tasks created after August 2023.
externalId
string
(optional)
The unique External ID of your Task.
displayName
string
The display name of this Task.
description
string
(optional)
The description of this Task. It is optional and only available to some tenants.
createdOn
datetime
(optional)
UTC timestamp of when the task was created in our system.
taskStatus
The processing status of this Task.
integrationStatus
The integration status of this Task.
taskStatusText
string
(optional)
A textual representation of the Task Status value for ease of use.
integrationStatusText
string
(optional)
A textual representation of the Task Integration Status value for ease of use.
totalPages
integer
For documents represents the number of pages processed. For audio or video, the number of minutes processed. May be 0 if request is made imediately after Task creation.
restartCount
integer
(optional)
The number of re-processing attempts for this Task. Only returned whenever the Task has been re-processed at least once. preProcessingStartedOn
is updated automatically for each (re)process.
preProcessingStartedOn
datetime
(optional)
UTC timestamp indicating the last time pre-processing occurred for this task, i.e. each time the task was (re)processed.
You can use the createdOn
, preProcessingStartedOn
, restartCount
and totalPages
fields to decide if the task requires re-processing, as it may have gotten stuck in processing due to a variety of errors.
(optional)
(optional)