Skip to main content
GET
/
agents
/
{id}
/
workspace
Error
A valid request URL is required to generate request examples
{
  "path": "<string>",
  "entries": [
    {
      "name": "<string>",
      "type": "file",
      "size": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Query Parameters

path
string

Directory path to list (default /home/agentuser)

Response

Directory listing

path
string
entries
object[]