GoodMem
ReferenceClient SDKsJavaScript SDKModels

BackgroundJobAttempt Model

BackgroundJobAttempt Model documentation for JavaScript SDK

Properties

NameTypeDescriptionNotes
attemptIdNumberIdentifier of the attempt
jobIdNumberIdentifier of the job that owns this attempt
startedAtNumberAttempt start timestamp (milliseconds since epoch)[optional]
finishedAtNumberAttempt completion timestamp (milliseconds since epoch)[optional]
okBooleanIndicates whether the attempt succeeded (null if still running)[optional]
workerIdStringIdentifier of the worker processing the attempt[optional]
statusMessageStringLatest status message reported by the worker[optional]
progressCurrentNumberCurrent progress counter value
progressTotalNumberTotal progress target when known[optional]
progressUnitStringUnit label associated with the progress counters[optional]
progressUpdatedAtNumberTimestamp when progress was last updated (milliseconds since epoch)[optional]
errorMessageStringShort error message recorded when the attempt failed[optional]
errorStacktraceStringStack trace captured when the attempt failed, if available[optional]

On this page