Assets
Assets are files you upload or that are generated through the API. They serve as inputs for agent executions (product photos, logos) and outputs produced by agents (images, videos). Use these endpoints to upload, retrieve metadata, and download files across the full asset lifecycle.
Restrict the result to this list of asset IDs. Combines with agent_id / run_id as an AND — an asset is only returned if it is in this list and matches every other filter.
Return only assets produced by this agent (across all its runs). Uploaded assets are never returned by this filter.
Return only assets produced by this specific run. Uploaded assets are never returned by this filter.
Return the asset you uploaded with this reference id. Use after a 409 on upload to fetch the existing asset.
Maximum number of items to return
20Cursor for pagination (from next_cursor)
Active organization ID for multi-org support
Successful Response
Validation Error
Active organization ID for multi-org support
Successful Response
Complete asset with all metadata.
Unique asset identifier
Client-supplied reference id provided at upload, if any
Asset role: reference (input), intermediate, or output
Media category: image, video, audio, or file
File extension: png, jpg, mp4, pdf, etc.
Visibility level: private, public, or shared
Whether the asset is bookmarked
falseWhether the asset is archived
falseWhether the asset has been downloaded before
falseWhen the asset was created
When the asset was last modified
CDN URL for the asset (thumbnail/preview size)
CDN URL for the full-resolution version
ID of the agent that produced this asset. Null for uploaded assets.
ID of the run that produced this asset. Null for uploaded assets.
Whether this asset is a sample output displayed on the agent card
falseBlurHash string for progressive image loading
Validation Error
Active organization ID for multi-org support
Asset visibility level
privateOptional custom filename
Optional client-supplied reference id, unique per organization. Reusing one returns 409; fetch the existing asset via GET /assets?external_id=. Makes the upload safe to retry without creating a duplicate.
Successful Response
Complete asset with all metadata.
Unique asset identifier
Client-supplied reference id provided at upload, if any
Asset role: reference (input), intermediate, or output
Media category: image, video, audio, or file
File extension: png, jpg, mp4, pdf, etc.
Visibility level: private, public, or shared
Whether the asset is bookmarked
falseWhether the asset is archived
falseWhether the asset has been downloaded before
falseWhen the asset was created
When the asset was last modified
CDN URL for the asset (thumbnail/preview size)
CDN URL for the full-resolution version
ID of the agent that produced this asset. Null for uploaded assets.
ID of the run that produced this asset. Null for uploaded assets.
Whether this asset is a sample output displayed on the agent card
falseBlurHash string for progressive image loading
Validation Error
Convert image to SVG format if applicable
Active organization ID for multi-org support
Successful Response
Validation Error
No content
Last updated

