Skip to main content

Parameters

  • name (str): Folder name (leaf segment when using nested paths). If full_path is omitted, this becomes the canonical path.
  • description (str, optional): Optional description of the folder.
  • full_path (str, optional): Canonical folder path (e.g., "/projects/alpha/specs"). Leading slash is optional; parents are created automatically.
  • parent_id (str, optional): Explicit parent folder ID. Usually not needed—full_path handles hierarchy creation.

Returns

  • Folder: Newly created folder object.

Examples