List Batch Items
curl --request GET \
--url https://api.example.com/storage_batch/{batch_id}/itemsimport requests
url = "https://api.example.com/storage_batch/{batch_id}/items"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/storage_batch/{batch_id}/items', 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_batch/{batch_id}/items",
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_batch/{batch_id}/items"
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_batch/{batch_id}/items")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/storage_batch/{batch_id}/items")
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 Batch Items
List uploaded assets/events assigned to an authorized batch. updated_from is unsupported because batch items are immutable.
GET
/
storage_batch
/
{batch_id}
/
items
List Batch Items
curl --request GET \
--url https://api.example.com/storage_batch/{batch_id}/itemsimport requests
url = "https://api.example.com/storage_batch/{batch_id}/items"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/storage_batch/{batch_id}/items', 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_batch/{batch_id}/items",
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_batch/{batch_id}/items"
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_batch/{batch_id}/items")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/storage_batch/{batch_id}/items")
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_batch/33333333-3333-4333-8333-333333333333/items?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. |
workspace_id | query | Optional workspace UUID within the key organization. Must match X-Workspace-Id when both are supplied. |
batch_id | path | batch id UUID. |
X-Workspace-Id | header | Restrict requests to an authorized workspace UUID. Omit to query the organization. |
Response example
{
"batch_id": "33333333-3333-4333-8333-333333333333",
"items": [
{
"id": "55555555-5555-4555-8555-555555555555",
"created_at": "2026-10-15T12:00:00Z",
"storage_event_id": "77777777-7777-4777-8777-777777777777",
"storage_events": {
"id": "77777777-7777-4777-8777-777777777777",
"created_at": "2026-10-15T12:00:00Z",
"updated_at": "2026-10-15T12:01:00Z",
"provider": "google_drive",
"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
}
}
],
"next_cursor": null
}
Items values
| Field | Meaning |
|---|---|
id | Batch item ID. |
created_at | Assignment creation time. |
storage_event_id | Linked storage event. |
storage_events |
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. This endpoint does not support updated_from because batch item assignments are immutable. Read the polling and error-handling guidance before building a dashboard.Was this page helpful?