API reference · Schema
SandboxFile
objectstringrequiredAlways `sandbox_file`: the type of this object
One of
sandbox_filenamestringrequiredIts name
pathstringrequiredRelative to the workspace
typestringrequired`file`, `directory`, `symlink` (a symbolic link) or `other` (for example a socket)
One of
filedirectorysymlinkothersizeintegerrequiredSize in bytes
modified_atstring (date-time)requiredTime modified (ISO 8601, UTC)
Example
{
"object": "sandbox_file",
"name": "string",
"path": "string",
"type": "file",
"size": 1,
"modified_at": "2026-01-01T00:00:00.000Z"
}