Get folder list#

Gets the Sherpa AI Server folder page with filtering and sorting.

ThreadGuid[Text] Optional filter by the chat linked to the folder.
ParentId[Number] Optional filter by the numeric ID of the parent folder; 0 means the root.
NeedChatFoldersInclude chat folders.
Name[Text] Optional filter by folder name.
Description[Text] Optional filter by folder description.
CreatedFrom[Date and time] Lower bound of the creation date in ISO 8601 with an explicit time zone.
CreatedTo[Date and time] Upper bound of the creation date in ISO 8601 with an explicit time zone.
UpdatedFrom[Date and time] Lower bound of the modification date in ISO 8601 with an explicit time zone.
UpdatedTo[Date and time] Upper bound of the modification date in ISO 8601 with an explicit time zone.
ObjectFolderGuids[Array] Optional filter by access folders.
SortFieldSort field.
SortOrderSort direction.
Page[Number] Page number starting from 1; default is 1.
PerPage[Number] Page size from 1 to 100; default is 20.
Timeout[Number] HTTP request timeout in seconds; default is 60.
Folders[Array] Folders on the current page.
PaginationResponse pagination: Page, PerPage, Total.
Processing level

Select the error handling level.

Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block in this diagram is used.

Message level

Select the level of messages that the blocks will emit while running.

Possible values:

  • "Default" - default;
  • "Release" - output disabled;
  • "Debug" - basic information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block in this diagram is used.

Error text[Text] Returns detailed error information if the block execution fails.