Skip to main content
GET
/
v1
/
workspaces
/
{id}
/
files
List directory entries at workspace root
curl --request GET \
  --url https://storage.runtools.ai/v1/workspaces/{id}/files \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "type": "file",
    "size": 123,
    "mtime": "2023-11-07T05:31:56Z",
    "path": "<string>",
    "mimeType": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Path Parameters

id
string<uuid>
required

Query Parameters

showHidden
boolean

Response

200 - application/json

Entries.

id
string
name
string
type
enum<string>
Available options:
file,
directory
size
integer
mtime
string<date-time>
path
string
mimeType
string | null