List Storage Events
curl --request GET \
--url https://api.example.com/storage_trigger/{trigger_id}/eventsimport requests
url = "https://api.example.com/storage_trigger/{trigger_id}/events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/storage_trigger/{trigger_id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/storage_trigger/{trigger_id}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/storage_trigger/{trigger_id}/events"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/storage_trigger/{trigger_id}/events")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/storage_trigger/{trigger_id}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyPipeline Observability
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.
GET
/
storage_trigger
/
{trigger_id}
/
events
List Storage Events
curl --request GET \
--url https://api.example.com/storage_trigger/{trigger_id}/eventsimport requests
url = "https://api.example.com/storage_trigger/{trigger_id}/events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/storage_trigger/{trigger_id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/storage_trigger/{trigger_id}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/storage_trigger/{trigger_id}/events"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/storage_trigger/{trigger_id}/events")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/storage_trigger/{trigger_id}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyRequired scope:
Workspace IDs and resource IDs above are examples. Use IDs returned by your own API calls.
When
triggers:read. See API key permissions and the pipeline dashboard guide.
Request
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"
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
{
"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. |
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.Was this page helpful?