Read a file (response is the raw content)
GET /v1/sandboxes/{id}/files
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Sandbox ids are lowercase: sbx_ followed by 16 characters from [a-z0-9]. Hostname labels derived from them are therefore safe to compare after lowercasing.
Query Parameters
Section titled “Query Parameters ”Path inside the sandbox. Must resolve under /work (the writable volume); relative paths are resolved against /work. The root filesystem is read-only.
Responses
Section titled “ Responses ”File content
Headers
Section titled “Headers ”Not found
RFC 9457 problem document
object
https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).
Field-level validation errors
object
The resource is not in a state that allows this
RFC 9457 problem document
object
https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).
Field-level validation errors
object
The file is larger than the sandbox’s disk, so it can only be sparse (for example made with truncate -s). Problem type payload-too-large; the detail gives both sizes. Compress or split the file inside the sandbox and download the result.
RFC 9457 problem document
object
https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).
Field-level validation errors
object
The host reported an error
RFC 9457 problem document
object
https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).
Field-level validation errors
object
The host did not answer within the deadline
RFC 9457 problem document
object
https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).
Field-level validation errors