Sandboxes

Copy project files into a sandbox

Copy up to 100 of the project's files (by id, or every file under a prefix) into the running sandbox, replacing files at their targets. Each copy is checked against the file's SHA-256. Copies are free.

post/v1/sandboxes/{sandbox_id}/files/import

Request

  • Base URL
    https://api.dexto.ai
  • URL
    https://api.dexto.ai/v1/sandboxes/{sandbox_id}/files/import
  • Auth
    HTTP bearer

Path parameters

sandbox_idstring required

Request body

directorystring

The /workspace directory the files are copied into.

file_idsstring[]

Project files to copy, each to <directory>/<path>.

prefixstring

Copy every project file under this prefix, each to <directory>/<path after the prefix>.

Response

Successful response.

object'list' required

Changes

No recorded changes to this operation across all 1 revision of this API.