Time Portal Sandbox API
Read a byte range of a file. Returns 206 with Content-Range: bytes <first>-<last>/<size> clamped to the file length; 200 for an empty file; and 416 with Content-Range: bytes */<size> when the range starts past the end. bytes=<first>- reads up to 16 MiB from first.
curl "https://api.epochal.com/v1/time-portal/sandbox/sbx_7f3k9q2m4x8p1c6w/files?path=%2Fhome%2Fepochal%2Fout%2Fresult.csv" \
-H "x-api-key: $EPOCHAL_API_KEY"The file is empty: no bytes.
Read the Time Portal Sandbox API guide
A sandbox is a Linux virtual machine whose clock and network are set to an instant.
x-api-key
Send your API key in the x-api-key header. Create keys in the console; each belongs to one organization.
Example
"ek_…"Byte range to read (bytes=<first>-<last> or bytes=<first>-), up to 64 MiB; defaults to the first 16 MiB. Suffix and multi-range headers return 400.
Example
"bytes=0-16777215"Unique sandbox ID.
Example
"sbx_7f3k9q2m4x8p1c6w"Absolute path inside the sandbox.
Example
"/home/epochal/out/result.csv"curl "https://api.epochal.com/v1/time-portal/sandbox/sbx_7f3k9q2m4x8p1c6w/files?path=%2Fhome%2Fepochal%2Fout%2Fresult.csv" \
-H "x-api-key: $EPOCHAL_API_KEY"The file is empty: no bytes.