Alfred v1.66.3.0
Alfred
Alfred
  • Introduction
  • Authentication
  • Event API
    • File Events
      • File Add To Job
      • File Category Create
      • File Category Delete
      • File Change Tag
      • File Done
      • File Extracted Data Create
      • File Extracted Data Delete
      • File Failed
      • File Move
      • File Move To Pending
      • File Move To Recycle Bin
      • File Property Create
      • File Property Delete
      • File Remove Tag
      • File Status Update
      • File Update
    • Job Events
      • JobCreateEvent
      • JobExceededRetriesEvent
      • JobFailedEvent
      • JobFinishedEvent
      • JobInvalidEvent
      • JobRetryEvent
      • JobStageUpdateEvent
      • JobStartEvent
    • Event Structures
  • endpoints
    • Alfred
    • File
      • Remote Sources
      • File Status
    • Deferred Session
    • Job
      • Job Stages
    • Tag
    • Metadata
    • Metadata Values
    • Report
    • Account
    • Company
Powered by GitBook
On this page
  • Usage
  • JSON Payload

Was this helpful?

  1. Event API
  2. Job Events

JobRetryEvent

Usage

This event triggers when a job re-attempts to proceed to the next stage after encountering a recoverable failure. This may occur in the following scenarios:

  • Temporary resource limitations causing extraction delays.

  • Intermittent network issues during document upload.

  • Temporary machine learning model unavailability.

JSON Payload

{
  "event_id": "(UUID format) - Unique identifier for the event.",
  "event_type": "Describes the type of event that occurred.",
  "event_time": "(floating-point numeric timestamp) - Unix timestamp representing the time when the event occurred, rounded to whole seconds.",
  "event": {
    "event_name": "Name of the specific event.",
    "event_type": "Type of the event, often matching or related to the outer event_type.",
    "job_id": "(UUID format) - Unique identifier for the job being retried.",
    "user_name": "Username of the individual who is associated with the job retry.",
    "merge": "Boolean - Indicates whether the job involves merging files or similar operations. Here, it is 'false', suggesting no merge is required.",
    "metadata": "Text - Descriptive information or summary about the job, focusing on its context or necessity such as 'Reprocessing after system update'.",
    "file_count": "Integer - The number of files involved in the job.",
    "retries": "Integer - The number of times the job has been retried.",
    "exceeded_retries": "Boolean - Indicates whether the job retries have exceeded the set limit, which in this case is 'false', meaning more attempts are allowed.",
    "error_messages": "Array of Strings - List of error messages encountered during previous attempts to complete the job, providing insight into issues affecting the job.",
    "company_id": "(UUID format) - Unique identifier for the company associated with the job.",
    "company_name": "Name of the company associated with the job.",
    "file_urls": "Array of URLs - List of fully qualified URLs where the associated files are stored, accessible via HTTP or HTTPS.",
    "creation_date": "(ISO 8601 date format) - Date and time when the job was initially created.",
    "update_date": "(ISO 8601 date format) - Date and time when the job or event details were last updated."
  }
}
{
  "event_id": "z1x2c3v4-b5n6-m7q8-w9e0-r1t2y3u4i5o6",
  "event_type": "job_event_type",
  "event_time": "1653443100.00",
  "event": {
    "event_name": "job_retry_event",
    "event_type": "job_event_type",
    "job_id": "90123456-1234-1234-1234-1234567890kl",
    "user_name": "alex_case",
    "merge": "false",
    "metadata": "Reprocessing after system update",
    "file_count": "120",
    "retries": "2",
    "exceeded_retries": "false",
    "error_messages": [
      "System timeout on initial attempt",
      "Partial data corruption on second attempt"
    ],
    "company_id": "09876543-4321-4321-4321-432143214323",
    "company_name": "Innovation Works",
    "file_urls": [
      "https://example.com/files/data1.xlsx",
      "https://example.com/files/data2.xlsx"
    ],
    "creation_date": "2023-05-24T20:00:00Z",
    "

Last updated 1 year ago

Was this helpful?