Object folders#
The Object folders screen groups Documents and Assistants and lets Roles access the groups they need.

"Object folders" screen: table buttons and columns.
| No. | Interface element | Description |
|---|---|---|
| 1. | Folder expansion arrow | Expands or collapses nested Folders. |
| 2. | Folder selection checkbox | Selects one or more Object folders for group actions. |
| 3. | "Create Folder" button | Opens the form for creating an Object folder. |
| 4. | "Delete Selected" button | Deletes the selected Object folders from Sherpa AI Server. To delete one Folder, use the delete button |
| 5. | "Refresh" button | Refreshes the Object folder list. |
| 6. | "Name" column | Displays the Object folder name. |
| 7. | "Description" column | Displays the Object folder description, if provided. |
| 8. | "Created" column | Displays the Object folder creation date and time. |
| 9. | "Updated" column | Displays the date and time of the last Object folder change. |
| 10. | Edit button | Opens the selected Object folder for editing. |
| 11. | Delete button | Deletes an individual Object folder from the list. |
Access rights#
Role permissions determine which actions a User can perform on Object folders. They are configured in the "Role" popup window, on the "Access" tab, in the "Object folders" row:
- viewing the list — "Read";
- creating a Folder — "Create";
- changing its name and description — "Update";
- deleting a Folder — "Delete".
Automatic selection of a new Folder also requires the "Read" permission and Role access to the new record. Accessible Folders are selected on the "Object folders" tab of the "Role" window.
Example: to manage Object folders, "Create", "Read", "Update", and "Delete" are selected in the "Object folders" row. The other rows are not selected.

"Role" popup window, "Access" tab: Object folder permissions.
Object folder creation#
Before creating a Folder, determine whether it should be a root Folder or a nested Folder. If one table row is selected, the new Folder is created inside the selected Folder. If no rows or several rows are selected, a root Folder is created.
To create a Folder, click "Create Folder" above the table. The following fields are completed in the "Folder" popup window.
Required field:
- "Name" — sets the Object folder name.
Additional field:
- "Description" — explains which materials belong to the Folder and who they are for.
Click "OK" to save the Folder. "Cancel" closes the window without creating a record.
Example: a root Folder is created for training materials. No table rows are selected before opening the window. "Name" is set to Обучение сотрудников (Employee training), and "Description" to Инструкции и учебные материалы (Instructions and training materials).

"Folder" popup window: Object folder creation.
After saving, a Folder accessible to the User is automatically added to the selection in the "Object folders" menu in the top panel. The previous selection is retained, and the counter is updated. In the case shown, Отчеты (Reports) was already selected. After Обучение сотрудников is created, both records are selected, and the counter shows 2.

"Object folders" menu in the top panel: selection after creation.
If the Role does not have access to the new Folder, the selection stays unchanged and a warning appears. Contact an administrator to obtain access. If saving the selection fails, the Folder itself remains created. After resolving the error, select it again in the top panel menu.
Object folder editing#
To change a Folder's name or description, click the edit button
in its table row. The "Folder" window opens.
Required field:
- "Name" — changes the Folder name.
Additional fields:
- "Description" — updates the explanation of the Folder's purpose;
- "GUID" — contains the record's unique identifier and is read-only. The button to its right copies the identifier for use with the API.
Click "OK" to save changes. "Cancel" closes the window without saving.
Example: the description of Обучение сотрудников is updated. "Name" remains Обучение сотрудников, and "Description" is set to Материалы для обучения сотрудников (Employee training materials). The GUID remains unchanged.

"Folder" popup window: Object folder editing.
Object folder GUID in the API#
In the API, object_folder refers to an Object folder from the corresponding interface section. Its GUID is available in the editing window and in the guid field returned by GET /api/v1/object_folders.
When uploading a file with POST /api/v1/folders/{folder_guid}/files, pass the Object folder GUID in object_folder_guid. The folder_guid URL parameter identifies a Folder in the "Documents" section. It is a different identifier. The numeric id does not replace a GUID. Authentication and method descriptions are provided in the API documentation.
Example: to obtain the GUID of Обучение сотрудников, request the Object folder list:
GET /api/v1/object_folders
In the data array, find the record named Обучение сотрудников. Pass its guid value in object_folder_guid when uploading a training file. For {folder_guid}, use the GUID of the Folder receiving the file in "Documents".
Object folders on other screens#
Documents and Assistants belong to the selected Object folders. A Role determines which of these the User can access. The Folder is selected separately on each screen.
"Documents" screen#
In the window for creating or editing a Folder in "Documents", "Object folders" links its materials to the selected Object folder. Clicking the field opens the available records.
Required field:
- "Name" — sets the Folder name in "Documents".
Additional fields:
- "Folder analyzer" — determines how files in this Folder are processed;
- "Description" — explains the purpose of the materials;
- "Object folders" — links the Documents Folder to an Object folder for access configuration.
Example: a Folder is created in "Documents" for training materials. "Name" is set to Учебные материалы (Training materials), and "Folder analyzer" to "Basic (indexing)". "Description" contains Инструкции для новых сотрудников (Instructions for new employees), and "Object folders" is set to Обучение сотрудников.

"Folder" popup window on the "Documents" screen: Object folder selection.
"Roles" screen#
In the "Role" popup window, the "Object folders" tab selects the Folders the User can access. This selection is needed to work with objects in these Folders. Selecting Object folders is optional when creating a Role.
Selecting a parent Folder also selects its nested Folders. To grant access to just one of them, select it separately. Permissions for actions on Documents, Assistants, and other objects are configured on the "Access" tab.
Example: Обучение сотрудников is selected on the "Object folders" tab to grant access to training materials. The other Folders are not selected.

"Role" popup window, "Object folders" tab: Folder selection.
"Assistants" screen#
In the settings window of an existing Assistant, "Object folders" determines which Object folder the record belongs to. Open the list in this field and select the required Folder.
Example: a Folder containing training materials is selected for the existing Assistant Помощник по обучению (Training assistant). In "Edit assistant", on the "Assistant" tab, "Object folders" is set to Обучение сотрудников. After saving, the Assistant will belong to this Folder.

"Edit assistant" popup window, "Assistant" tab: "Object folders" field.