Get file metadata
Retrieve metadata for a specific file by its relative path ID, e.g. uploads/data.csv or outputs/result.png.
Path parameters
file_id
Query parameters
scope_id
Session / container identifier.
namespace
Namespace the file belongs to. Defaults to 'session'.
Response
Successful Response
id
Relative path of the file within the session, e.g. ‘uploads/data.csv’ or ‘outputs/result.png’. Use this value as file_id in subsequent requests.
created_at
ISO-8601 timestamp when the file was created or last modified.
filename
Filename derived from the path.
mime_type
MIME type detected from the file content.
size_bytes
File size in bytes.
downloadable
True for sandbox output files; False for uploaded input files.
scope
Session scope this file belongs to.
type
Object type discriminator, always 'file'.
etag
Content checksum (MD5 hex or S3 ETag). Present after stat; None if unavailable.
namespace
Namespace this file belongs to (e.g. ‘session’, ‘skills’, or a custom namespace).
Errors
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
503
Service Unavailable Error

