Get one attached file
Returns one attachment and, once staged, the sandbox path it is readable at.
Authorizations
A Recursion API key, created in the console under API keys.
Path Parameters
Session id (UUID) as returned by startSession or listSessions.
Resource id as returned by addSessionResources or listSessionResources.
Response
A file attached to a session. The file is placed read-only in the session's sandbox under its files directory, and the agent knows it is there, so it can read it with read_file or from a shell without being told where to look.
A file attached to a session. The file is placed read-only in the session's sandbox under its files directory, and the agent knows it is there, so it can read it with read_file or from a shell without being told where to look.
Size of the file in bytes.
When the resource was attached.
The attached file.
The file's name at upload.
The file's declared media type.
Where the file lands relative to the session's files directory. Defaults to the filename; set it on attach to rename the file or place it in a subdirectory.
Server-assigned id of the attachment, used to detach it.
SHA-256 of the bytes the session mounts. Frozen at attach: a later change to the file does not change this session.
Always file.
file The absolute path where the file is readable inside the sandbox. Absent until staging reaches the sandbox; a resource attached mid-session is staged on the next sandbox call.