v4

latestSwagger 2.02026-08-0343714211.7 MB
pending_work_events
Pending Work Events

List Pending Work Events

List Pending Work Events

get/pending_work_events

Query parameters

cursorstring

Used for pagination. When a list request has more records available, cursors are provided in the response headers X-Files-Cursor-Next and X-Files-Cursor-Prev. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.

per_pageinteger

Number of records to show per page. (Max: 10000, 1,000 or less is recommended).

If set, sort records by the specified field in either asc or desc direction. Valid fields are created_at, status or folder_behavior_id.

If set, return records where the specified field is equal to the supplied value. Valid fields are created_at, folder_behavior_id or status. Valid field combinations are [ folder_behavior_id, created_at ], [ status, created_at ], [ folder_behavior_id, status ] or [ folder_behavior_id, status, created_at ].

If set, return records where the specified field is greater than the supplied value. Valid fields are created_at.

If set, return records where the specified field is greater than or equal the supplied value. Valid fields are created_at.

If set, return records where the specified field is less than the supplied value. Valid fields are created_at.

If set, return records where the specified field is less than or equal the supplied value. Valid fields are created_at.

Response

A list of PendingWorkEvents objects.

idinteger

Event ID

event_typestring

Type of pending work event being recorded.

status'success' | 'failure' | 'partial_failure' | 'in_progress' | 'skipped'

Status of event.

bodystring

Event body.

event_errorsstring[]

Event errors.

created_atstring date-time

Event create date/time.

body_urlstring

Link to log file.

folder_behavior_idinteger

Folder Behavior ID.

Example response

[
  {
    "id": 1,
    "event_type": "example",
    "status": "example",
    "body": "example",
    "event_errors": [
      "example"
    ],
    "created_at": "2000-01-01T01:00:00Z",
    "body_url": "example",
    "folder_behavior_id": 1
  }
]