Skip to main content

FolderList

data object[]required

Possible values: <= 200

  • Array [
  • 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.

  • ]
  • truncatedbooleanrequired

    True when the folder holds more than 200 subfolders and the list was cut.

    FolderList
    {
    "data": [
    {
    "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"
    }
    ],
    "truncated": true
    }