Time Portal Sandbox API
List directory entries with each path relative to the requested directory.
curl "https://api.epochal.com/v1/time-portal/sandbox/sbx_7f3k9q2m4x8p1c6w/files/list?path=%2Fhome%2Fepochal%2Fout" \
-H "x-api-key: $EPOCHAL_API_KEY"One page of entries.
{
"entries": [
{
"path": "/home/epochal/out/result.csv",
"type": "file",
"size": 18432,
"mode": 420,
"mtime": "2026-03-01T00:02:13Z"
}
],
"next_cursor": null
}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_…"Unique sandbox ID.
Example
"sbx_7f3k9q2m4x8p1c6w"Absolute directory path to list.
Example
"/home/epochal/out"Descend recursively into subdirectories.
Pagination cursor from the previous page's next_cursor.
Maximum number of entries to return (1 to 100, default 50).
Range: 1 to 100
200
One page of entries.
Its absolute path; in a directory listing, its path relative to the listed directory.
What kind of file it is.
Its size in bytes.
Minimum: 0
Its permission bits, e.g. 420 for 0644.
Minimum: 0
Last modification timestamp according to the sandbox's clock.
Default: null
Symlink target path, when type is symlink.
Pass as cursor for the next page; absent on the last.
Default: null
curl "https://api.epochal.com/v1/time-portal/sandbox/sbx_7f3k9q2m4x8p1c6w/files/list?path=%2Fhome%2Fepochal%2Fout" \
-H "x-api-key: $EPOCHAL_API_KEY"One page of entries.
{
"entries": [
{
"path": "/home/epochal/out/result.csv",
"type": "file",
"size": 18432,
"mode": 420,
"mtime": "2026-03-01T00:02:13Z"
}
],
"next_cursor": null
}