Get Asset
Assets
Get Asset
Retrieve details about a specific asset by its ID
GET
Get Asset
Overview
Fetch metadata and details for a specific uploaded asset using its unique identifier.Request
Path Parameters
The unique identifier of the asset (UUID format)
Headers
Bearer token with your API key:
Bearer sk-bab-your-api-keyResponse
Unique identifier for the asset
Asset filename
S3 URL to access the asset
MIME type of the file
File size in bytes
Current state:
uploading, processing, ready, or errorDuration in seconds (for video/audio files)
Width in pixels (for image/video files)
Height in pixels (for image/video files)
ISO 8601 timestamp of when the asset was uploaded
Examples
Response Example
Error Responses
Asset not found or you don’t have access
Invalid or missing API key
Use Cases
Check upload status
Check upload status
After uploading a large file, poll this endpoint to verify the upload completed successfully:
Verify asset before using in project
Verify asset before using in project
Before referencing an asset in your video project, verify it exists and is accessible:
Get download URL
Get download URL
Retrieve the public URL to download or display the asset:
Next Steps
Upload Asset
Upload a new asset
List Assets
View all your assets