Skip to content
Dashboard
API Reference

List Storage Events ​

List ingestion events, including routing errors before any batch or run exists. batch_ids links events to batches; provider payloads and credentials are excluded.

Required scope: triggers:read. See API key permissions and the pipeline dashboard guide.

Request ​

bash
curl "https://api.mosaic.so/storage_trigger/22222222-2222-4222-8222-222222222222/events?limit=25" \
  -H "Authorization: Bearer mk_your_api_key" \
  -H "X-Workspace-Id: 66666666-6666-4666-8666-666666666666"

Workspace IDs and resource IDs above are examples. Use IDs returned by your own API calls.

Parameters ​

ParameterLocationMeaning
limitqueryPage size from 1 to 100; default 25. Progress and notification configuration pages count tiles.
cursorqueryOpaque next_cursor from the previous page. Pass verbatim and preserve the original filters. Do not decode or construct it.
fromqueryInclusive ISO 8601 lower bound on creation time.
toqueryInclusive ISO 8601 upper bound on creation time.
updated_fromqueryInclusive ISO 8601 update watermark. Restart pagination on each poll and fetch every page before advancing it.
workspace_idqueryOptional workspace UUID within the key organization. Must match X-Workspace-Id when both are supplied.
statusqueryExact persisted status; for example pending for events or open for batches.
folder_idqueryProvider parent folder ID for event/folder queries; batches use batch_folder_node_id.
trigger_idpathtrigger id UUID.
X-Workspace-IdheaderRestrict requests to an authorized workspace UUID. Omit to query the organization.

Response example ​

json
{
  "trigger_id": "22222222-2222-4222-8222-222222222222",
  "events": [
    {
      "id": "77777777-7777-4777-8777-777777777777",
      "created_at": "2026-10-15T12:00:00Z",
      "updated_at": "2026-10-15T12:01:00Z",
      "provider": "google_drive",
      "kind": "FILE_UPSERT",
      "name": "clip.mov",
      "status": "error",
      "attempts": 3,
      "last_error": "path_unresolved",
      "drive_node_id": "drive-file-42",
      "drive_parent_id": "drive-folder-7",
      "drive_path": null,
      "s3_bucket": null,
      "s3_object_key": null,
      "is_processable": true,
      "batch_ids": []
    }
  ],
  "next_cursor": null
}

Events values ​

FieldMeaning
idStorage event ID.
created_atEvent creation time.
updated_atLast event row update.
providergoogle_drive, dropbox, or aws_s3.
kindPersisted event kind, for example FILE_UPSERT or FILE_DELETE.
nameFile or folder name.
statusEvent status, for example pending, processed, ignored, or error.
attemptsProcessing attempt count.
last_errorLast ingestion error, including errors that occur before any batch is created.
drive_node_idProvider file/folder ID for Drive or Dropbox.
drive_parent_idProvider parent folder ID.
drive_pathRecorded event path; may be unavailable.
s3_bucketS3 bucket.
s3_object_keyS3 object key.
is_processableWhether this event is eligible for processing.
batch_idsBatches for this trigger containing this event. An empty list means no batch linkage exists yet; it does not imply delivery or successful processing.

When next_cursor is non-null, request the next page with the same filters and that cursor. limit defaults to 25 and is capped at 100. Read the polling and error-handling guidance before building a dashboard.