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
| Parameter | Location | Meaning |
|---|---|---|
limit | query | Page size from 1 to 100; default 25. Progress and notification configuration pages count tiles. |
cursor | query | Opaque next_cursor from the previous page. Pass verbatim and preserve the original filters. Do not decode or construct it. |
from | query | Inclusive ISO 8601 lower bound on creation time. |
to | query | Inclusive ISO 8601 upper bound on creation time. |
updated_from | query | Inclusive ISO 8601 update watermark. Restart pagination on each poll and fetch every page before advancing it. |
workspace_id | query | Optional workspace UUID within the key organization. Must match X-Workspace-Id when both are supplied. |
status | query | Exact persisted status; for example pending for events or open for batches. |
folder_id | query | Provider parent folder ID for event/folder queries; batches use batch_folder_node_id. |
trigger_id | path | trigger id UUID. |
X-Workspace-Id | header | Restrict 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
| Field | Meaning |
|---|---|
id | Storage event ID. |
created_at | Event creation time. |
updated_at | Last event row update. |
provider | google_drive, dropbox, or aws_s3. |
kind | Persisted event kind, for example FILE_UPSERT or FILE_DELETE. |
name | File or folder name. |
status | Event status, for example pending, processed, ignored, or error. |
attempts | Processing attempt count. |
last_error | Last ingestion error, including errors that occur before any batch is created. |
drive_node_id | Provider file/folder ID for Drive or Dropbox. |
drive_parent_id | Provider parent folder ID. |
drive_path | Recorded event path; may be unavailable. |
s3_bucket | S3 bucket. |
s3_object_key | S3 object key. |
is_processable | Whether this event is eligible for processing. |
batch_ids | Batches 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.