List Batch Items
List uploaded assets/events assigned to an authorized batch. updated_from is unsupported because batch items are immutable.
Required scope: triggers:read. See API key permissions and the pipeline dashboard guide.
Request
bash
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"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. |
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
json
{
"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 |
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. This endpoint does not support updated_from because batch item assignments are immutable. Read the polling and error-handling guidance before building a dashboard.