Skip to content
Docs
GitHub

Workspace root listing

Preview

Manage execution sessions and rooms, and their files, tasks, storage, databases and managed sandboxes.

Public APIEverruns Cloud and self-hosted Platform

GET/v1/workspaces/{workspace_id}/fs

See authentication for credentials and permissions.

workspace_id
required
string

Workspace ID (wsp_<32-hex>)

recursive
boolean

List recursively

Responses

200Directory listing

Directory listing

Media typeapplication/json

Response wrapper for list endpoints. All list endpoints return responses wrapped in a data field.

object
data
required

Array of items returned by the list operation.

Array<object>

File metadata without content

object
created_at
required

Timestamp when this entry was created (RFC 3339).

string format: date-time
id
required

Internal database UUID for this file entry.

string format: uuid
is_directory
required

true when this entry represents a directory; false for a regular file.

boolean
is_readonly
required

Whether the entry was marked read-only at creation. Read-only entries cannot be edited or deleted by the session.

boolean
name
required

File or directory name (the last segment of path).

string
path
required

Absolute path within the session workspace (e.g. /notes.md).

string
session_id
required

UUID of the owning session.

string format: uuid
size_bytes
required

File size in bytes. 0 for directories.

integer format: int64
updated_at
required

Timestamp when this entry was last updated (RFC 3339).

string format: date-time

Example

{
"data": [
{
"created_at": "2026-05-25T10:14:00Z",
"id": "550e8400-e29b-41d4-a716-446655440000",
"is_directory": false,
"is_readonly": false,
"name": "notes.md",
"path": "/notes.md",
"session_id": "01933b5a-0000-7000-8000-000000000001",
"size_bytes": 4096,
"updated_at": "2026-05-25T10:15:30Z"
}
]
}
404Workspace not found

Workspace not found

500Internal server error

Internal server error