v2
library
folders
private

Create a new folder.

Args: payload: The folder creation request. user_id: ID of the authenticated user.

Returns: The created LibraryFolder.

post/api/library/folders

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Request body

namestring required
iconstring nullable
colorstring nullable

Hex color code (#RRGGBB)

parent_idstring nullable

Response

Folder created successfully

idstring required
user_idstring required
namestring required
iconstring nullable
colorstring nullable
parent_idstring nullable
created_atstring date-time required
updated_atstring date-time required
agent_countinteger
subfolder_countinteger
organization_idstring nullable
team_idstring nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status