Skip to main content

FolderView

ASKAI-124: a folder the represented user can open. ai_writable is the effective value, inherited from any ancestor; ai_writable_from names the folder that granted it. No privacy flag and no creator.

idstring<uuid>required
typestringrequired

Possible values: [folder]

namestringrequired

Possible values: non-empty

parent_id(string | null)<uuid>nullablerequired

null for a folder at the top of Files.

pathstringrequired

The folder's place in Files, from the top. Folder names repeat, so the path is what identifies a folder to a person.

ai_writablebooleanrequired

Whether the assistant may organize inside this folder, including creating folders.

ai_writable_from(string | null)<uuid>nullablerequired

The folder that carries the permission, this one or an ancestor; null when not allowed.

FolderView
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "folder",
"name": "string",
"parent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"path": "string",
"ai_writable": true,
"ai_writable_from": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}