Skip to main content
GET
/
data_entries
/
raw_data
/
{data_id}
from atomscale import Client

client = Client(api_key="YOUR_API_KEY")
client.download_videos(
    data_ids="d290f1ee-6c54-4b01-90e6-d701748f0851",
    dest_dir="raw/",
    data_type="raw",
)
{
  "url": "https://storage.atomscale.ai/raw/d290f1ee.mp4?token=...",
  "file_name": "rheed_video_2024_01_15.mp4",
  "file_format": "mp4"
}
Returns the raw, unprocessed data associated with a data entry. You must specify how you want the data returned using the return_as parameter.
data_id
string
required
The UUID of the data entry
return_as
string
required
How to return the data: bytes (raw binary), url-download (pre-signed download URL), or url-embed (pre-signed embeddable URL)

Response

When return_as is url-download or url-embed:
url
string
Pre-signed URL for accessing the raw data file
file_name
string
Original filename
file_format
string
File format/extension
When return_as is bytes, the response body contains the raw file binary data.
from atomscale import Client

client = Client(api_key="YOUR_API_KEY")
client.download_videos(
    data_ids="d290f1ee-6c54-4b01-90e6-d701748f0851",
    dest_dir="raw/",
    data_type="raw",
)
{
  "url": "https://storage.atomscale.ai/raw/d290f1ee.mp4?token=...",
  "file_name": "rheed_video_2024_01_15.mp4",
  "file_format": "mp4"
}