- Reference
Retrieve details of batch uploads
GET /v2/batches/inspect
Retrieves the details of batches uploaded to your instance of Sitecore CDP in the past 30 days. For an upload to be available to retrieve, you must first make the PUT request that allocates a batch upload location.
sidebar. Query parameters
| Name | Type | Description | Example |
|---|---|---|---|
status | string | The batch upload processing status. Possible values:
If unset, no status filters will be used in the request. |
|
createdBefore | string | A date and time of your choice. Only batch uploads created before this date and time within the past 30 days will be returned. Format: YYYY-MM-DDTHH:mm:ss.SSSZ | createdBefore=2026-05-29T07:41.244Z |
createdAfter | string | A date and time of your choice. Only batch uploads created after this date and time within the past 30 days will be returned. Format: YYYY-MM-DDTHH:mm:ss.SSSZ | createdAfter=2026-05-29T07:41.244Z |
offset | integer | The zero-based starting index in the entire collection of the first batch upload to return. Default: 0. | offset=10 |
limit | integer | The maximum number of batch uploads to return for a single request. Minimum: 1.Maximum: 1000.Default: 50. | limit=100 |
The response body contains the following fields:
| Attribute | Type | Description | Example |
|---|---|---|---|
totalCount | integer | The number of batches that were uploaded to your instance of Sitecore CDP in the past 30 days and match the criteria you specified in the request query parameters. | 337 |
offset | integer | The offset used in the request. | 0 |
limit | integer | The limit used in the request. | 50 |
items | array of objects | The list of batch uploads returned. | N/A |
The items array of objects:
| Attribute | Type | Description | Example |
|---|---|---|---|
href | string | The URL of a batch upload. | "http://.../v2/batches/inspect/12af3453-62da-4b31-a646-631b7b5f3009" |
ref | string | The UUID of a batch upload. | "12af3453-62da-4b31-a646-631b7b5f3009" |
status | string | The batch upload processing status. | "error" |
status.log | string | For batch uploads with the error status, the location of the downloadable error log file. | "https://sitecore-batch-service..." |
createdAt | string | The date and time the batch upload was created. | 2026-05-29T07:41.244Z |
modifiedAt | string | The date and time the batch upload was last modified. For example, the last time the status changed. | 2026-05-29T07:41.244Z |
Request without query parameters:
Request with query parameters:
If you have suggestions for improving this article, let us know!