BackgroundJobAttempt Model
BackgroundJobAttempt Model documentation for JavaScript SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| attemptId | Number | Identifier of the attempt | |
| jobId | Number | Identifier of the job that owns this attempt | |
| startedAt | Number | Attempt start timestamp (milliseconds since epoch) | [optional] |
| finishedAt | Number | Attempt completion timestamp (milliseconds since epoch) | [optional] |
| ok | Boolean | Indicates whether the attempt succeeded (null if still running) | [optional] |
| workerId | String | Identifier of the worker processing the attempt | [optional] |
| statusMessage | String | Latest status message reported by the worker | [optional] |
| progressCurrent | Number | Current progress counter value | |
| progressTotal | Number | Total progress target when known | [optional] |
| progressUnit | String | Unit label associated with the progress counters | [optional] |
| progressUpdatedAt | Number | Timestamp when progress was last updated (milliseconds since epoch) | [optional] |
| errorMessage | String | Short error message recorded when the attempt failed | [optional] |
| errorStacktrace | String | Stack trace captured when the attempt failed, if available | [optional] |