files

List a directory: names, types, sizes, modes, times. Optionally deep, optionally by glob.

get/v1/sandboxes/{id}/files/list

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/sandboxes/{id}/files/list
  • Auth: HTTP bearer

Path parameters

idstring required

Resource identifier (UUID).

Query parameters

pathstring

Absolute path in the sandbox, e.g. /workspace/app/main.py. Any path the sandbox user may use.

depthinteger
limitinteger
hiddenboolean

Include dotfiles.

globstring

e.g. **/.py, src/.{ts,tsx}; relative to path.

Response

Success

truncatedboolean required

There were more entries than limit.

nextCursorunknown required

Changes

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