- Batch retrieve brand context items
Retrieves specific files or folders from a brand context in a single batched call. File responses include Markdown content. Between 1 and 50 unique IDs per call. A single failed item is returned with fetchStatus is failed and the upstream error message in fetchStatusMessage rather than failing the whole batch. The response carries requested, succeeded, or failed completeness counts alongside the data array.
The unique identifier of the brand context from which to retrieve items. To get this ID, you can use the List brand contexts endpoint to retrieve the list of brand contexts in your organization.
Comma-separated brand context item IDs (UUIDs) of files or folders to fetch, up to 50. To get these IDs, you can use the Retrieve a brand context by ID endpoint to retrieve the complete nested folder or file tree index of the brand context.
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/brand-contexts/{brandContextId}/items
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/brand-contexts/3f2504e0-4f89-11d3-9a0c-0305e82c3301/items?ids=3f2504e0-4f89-11d3-9a0c-0305e82c3301%2Ca1b2c3d4-4f89-11d3-9a0c-0305e82c3301' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-sc-job-id: job-1234'Successful response
{ "requested": 3, "succeeded": 2, "failed": 1, "data": [ { … } ] }