List Storage Triggers
curl --request GET \
--url https://api.example.com/storage_triggersimport requests
url = "https://api.example.com/storage_triggers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/storage_triggers', 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_triggers",
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_triggers"
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_triggers")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/storage_triggers")
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 Triggers
List storage-trigger configuration, originating agents, and Drive/Dropbox/S3 roots.
GET
/
storage_triggers
List Storage Triggers
curl --request GET \
--url https://api.example.com/storage_triggersimport requests
url = "https://api.example.com/storage_triggers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/storage_triggers', 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_triggers",
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_triggers"
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_triggers")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/storage_triggers")
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_triggers?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. |
agent_id | query | Originating agent UUID. |
provider | query | Provider string such as google_drive, dropbox, or aws_s3. |
X-Workspace-Id | header | Restrict requests to an authorized workspace UUID. Omit to query the organization. |
Response example
{
"triggers": [
{
"id": "22222222-2222-4222-8222-222222222222",
"workspace_id": "66666666-6666-4666-8666-666666666666",
"agent_node_id": "55555555-5555-4555-8555-555555555555",
"agent_id": "11111111-1111-4111-8111-111111111111",
"provider": "google_drive",
"is_enabled": true,
"batch_enabled": true,
"debounce_minutes": 5,
"batch_by_subfolder": true,
"subfolder_depth": 1,
"needs_reconcile": false,
"reconcile_started_at": null,
"selected_folder_display_path": "/Client/Production",
"created_at": "2026-10-15T12:00:00Z",
"updated_at": "2026-10-15T12:01:00Z",
"drive_trigger_sources": [
{
"external_connection_id": "88888888-8888-4888-8888-888888888888",
"root_folder_id": "drive-folder-7",
"root_folder_name": "Production"
}
],
"s3_trigger_sources": []
}
],
"next_cursor": null
}
Triggers values
| Field | Meaning |
|---|---|
id | Storage trigger subscription ID. |
workspace_id | Owning workspace. |
agent_id | Originating agent. |
agent_node_id | Trigger tile ID. |
provider | Provider value: google_drive, dropbox, or aws_s3. |
is_enabled | Whether the trigger can initiate processing. |
batch_enabled | Whether events are collected into batches. |
debounce_minutes | Quiet period before a batch is eligible to flush. |
batch_by_subfolder | Whether events are grouped by subfolder. |
subfolder_depth | Configured batching folder depth. |
needs_reconcile | Whether watcher discovery requires reconciliation. |
reconcile_started_at | Reconciliation start, when present. |
selected_folder_display_path | Configured source display path; not an immutable folder identifier. |
created_at | Subscription creation time. |
updated_at | Subscription row update time. |
drive_trigger_sources | |
s3_trigger_sources |
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?