Sitecore API catalog/Agent API//
- Search for assets
Upload an asset
Retrieve the asset details
Update an asset
Search for assets
Searches for digital assets such as videos, images, and documents using query terms, file types, or tags.
Limitations
- Asset search results are limited to a maximum of 10 items per request.
- This endpoint doesn't support pagination. Parameters such as
pageNumber,pageSize, andcontinuationTokenare ignored. - The response does not include pagination metadata such as
totalCountornext.
Security
HTTPBearer
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/assets/search
- 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/assets/search?query=summer&language=en&type=image' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-sc-job-id: job-1234'Successful response
Array []
The unique identifier of the asset.
Example:"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
The path of the asset in the content tree.
Example:"/sitecore/media library/Images/Sample Image"
Example:"Sample Image Display Name"
Any of:
The display name of the asset, or null if not set.
string
The unique identifier of the template used by the asset.
Example:"9f8c7e6d-5b4a-4c3d-8e7f-1a2b3c4d5e6f"
Response
[ { "itemId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "path": "/sitecore/media library/Images/Sample Image", "name": "Sample Image", "displayName": "Sample Image Display Name", "type": "image", "templateId": "9f8c7e6d-5b4a-4c3d-8e7f-1a2b3c4d5e6f", "templateName": "Image", "innerItem": { … } } ]