Returns processed data for a data entry. You must specify how you want the data returned using the return_as parameter.
The UUID of the data entry
How to return the data: bytes (raw binary), url-download (pre-signed download URL), or url-embed (pre-signed embeddable URL)
Filter type: video to retrieve processed video, or none
Set to true when retrieving processed data for a streaming session
Optional suffix to append to the processed data file path
Response
When return_as is url-download or url-embed:
Pre-signed URL for accessing the processed data file
Filename of the processed data
Additional metadata about the processed data
Returns null if no processed data is available yet.
from atomscale import Client
client = Client(api_key="YOUR_API_KEY")
client.download_videos(
data_ids="d290f1ee-6c54-4b01-90e6-d701748f0851",
dest_dir="processed/",
data_type="processed",
)
{
"url": "https://storage.atomscale.ai/processed/d290f1ee.json?token=...",
"file_name": "rheed_results.json",
"file_format": "json",
"metadata": {}
}