MCP Gateway
ApiSandboxes

List Sandbox Files

List files in a sandbox directory.

GET
/api/v1/sandboxes/{sandbox_id}/files

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

Path Parameters

sandbox_id*string
Formatuuid

Query Parameters

path?string
Default"/workspace"
access_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/sandboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08/files"
[
  {}
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}