Management API gRPC reference

Services

LibraryService

exabel.api.management.v1.LibraryService

Service to manage library items.

Requests to the LibraryService are executed in the context of the customer's service account (SA).
The SA is a special user that is a member of the customer user group, giving it access to all
folders that are shared with this user group, but not to private folders.

Method NameRequest TypeResponse TypeDescription
ListFoldersListFoldersRequestListFoldersResponseLists all folders.
GetFolderGetFolderRequestFolderGets a folder including its items.
CreateFolderCreateFolderRequestFolderCreates a folder.
UpdateFolderUpdateFolderRequestFolderUpdates a folder.
DeleteFolderDeleteFolderRequest.google.protobuf.EmptyDeletes a folder.
ListItemsListItemsRequestListItemsResponseLists all items of a specific type.
MoveItemsMoveItemsRequestMoveItemsResponseMoves items to a folder.
ListFolderAccessorsListFolderAccessorsRequestListFolderAccessorsResponseLists the accessors of a specific folder.
ShareFolderShareFolderRequest.google.protobuf.EmptyShares a folder with a group.
UnshareFolderUnshareFolderRequest.google.protobuf.EmptyRemoves sharing of a folder with a group.
SearchItemsSearchItemsRequestSearchItemsResponseSearch for folder items.

ListFolders

Lists all folders.

Folders are returned without folder items - use the "Get folder" or "List folder items"
methods to get folder items.

Request: ListFoldersRequest

Response: ListFoldersResponse

GetFolder

Gets a folder including its items.

The folder will be returned with its items.

Request: GetFolderRequest

Response: Folder

CreateFolder

Creates a folder.

Only the display name and description can be set. Items must be added to the new folder
subsequently with the "Move folder items" method.

The folder will be created as private to the service account user. To let other users access
this folder, you must also share it with the "Share folder" method.

It is also possible to create a folder type by calling UpdateFolder
with allow_missing set to true.

Request: CreateFolderRequest

Response: Folder

UpdateFolder

Updates a folder.

Only the display name and description can be updated. Items must be added to a folder with the
"Move folder items" method.

This can also be used to create an entity by setting allow_missing to true.

Note that this method will update all fields unless update_mask is set.

Request: UpdateFolderRequest

Response: Folder

DeleteFolder

Deletes a folder.

The folder must be empty before it can be deleted. Use the "Move folder items" if needed to
move items into another folder.

Request: DeleteFolderRequest

Response: .google.protobuf.Empty

ListItems

Lists all items of a specific type.

List all folder items of a specific type (e.g. derived signal, dashboard). To get all items in
a folder, use the "Get folder" method instead.

Request: ListItemsRequest

Response: ListItemsResponse

MoveItems

Moves items to a folder.

Specify the target folder that items should be moved into. The service account must have write
access to all items that you want to move.

Request: MoveItemsRequest

Response: MoveItemsResponse

ListFolderAccessors

Lists the accessors of a specific folder.

An accessor is a user group with either read-only or read/write access.

Request: ListFolderAccessorsRequest

Response: ListFolderAccessorsResponse

ShareFolder

Shares a folder with a group.

You may find the user group resource names from the "List groups" method in the UserService.

  • To grant write access to a group with only read access, call this method with the write flag set to true.
  • To revoke only write access from a group, call this method with the write flag set to false.

Request: ShareFolderRequest

Response: .google.protobuf.Empty

UnshareFolder

Removes sharing of a folder with a group.

This revokes both read and write access. To revoke only write access, use the "Share folder"
method with the write flag set to false.

Request: UnshareFolderRequest

Response: .google.protobuf.Empty

SearchItems

Search for folder items.

Search for all folder items or items of a specific type (e.g. derived signal, dashboard) across all folders.

Request: SearchItemsRequest

Response: SearchItemsResponse

UserService

exabel.api.management.v1.UserService

Service to manage users and groups.

Supported operations are listing the current customer's user groups and users.

Method NameRequest TypeResponse TypeDescription
ListGroupsListGroupsRequestListGroupsResponseLists all groups. Only groups for the current customer is returned.
ListUsersListUsersRequestListUsersResponseLists all users in the current customer.

ListGroups

Lists all groups. Only groups for the current customer is returned.

List all user groups in your customer, including the users in each user group.

Request: ListGroupsRequest

Response: ListGroupsResponse

ListUsers

Lists all users in the current customer.

List all users in your customer

Request: ListUsersRequest

Response: ListUsersResponse

Messages

Folder

exabel.api.management.v1.Folder

A folder.

FieldTypeLabelDescription
namestringUnique resource name of the folder, e.g. folders/123. In the "Create folder" method, this is ignored and may be left empty.
display_namestringAppears in the Exabel Library in the list of folders.
writeboolWhether the API caller has write access to the folder.
itemsFolderItemrepeatedList of items in the folder. To add or remove folder items, use the "Move folder items" method.
descriptionstringThe description of the folder.

FolderAccessor

exabel.api.management.v1.FolderAccessor

An accessor of a folder.

FieldTypeLabelDescription
groupGroupUser group that has access to the folder.
writeboolWhether the user group has write access. Read access is implied.

FolderItem

exabel.api.management.v1.FolderItem

An item in a folder.

FieldTypeLabelDescription
parentstringResource name of the parent folder, e.g. folders/123.
namestringResource name of the item, e.g. derivedSignals/123 or models/987.
display_namestringAppears in the Exabel Library when viewing items in a folder, and also when the item is opened.
descriptionstringAppears in the Exabel Library under each item, and when the item is opened.
item_typeFolderItemTypeItem type.
create_timegoogle.protobuf.TimestampWhen the item was created.
update_timegoogle.protobuf.TimestampWhen the item was last updated.
created_bystringResource name of the user who created the item.
updated_bystringResource name of the user who last updated the item.

SearchResult

exabel.api.management.v1.SearchResult

A search result.

FieldTypeLabelDescription
itemFolderItemThe folder item.

FolderItemType

An enum representing the type of a folder item.

NameNumberDescription
FOLDER_ITEM_TYPE_INVALID0Invalid item type.
DERIVED_SIGNAL1Derived signal.
PREDICTION_MODEL2Prediction model.
PORTFOLIO_STRATEGY3Portfolio strategy.
DASHBOARD4Dashboard.
DRILL_DOWN5Company or entity drill down view.
TAG6Static tag.
SCREEN7Screen.
FINANCIAL_MODEL8Financial model.
CHART9Chart.

CreateFolderRequest

exabel.api.management.v1.CreateFolderRequest

FieldTypeLabelDescription
folderFolderThe folder to create. Only the display name and description can be set.

DeleteFolderRequest

exabel.api.management.v1.DeleteFolderRequest

FieldTypeLabelDescription
namestringThe resource name of the folder to delete, for example folders/1.

GetFolderRequest

exabel.api.management.v1.GetFolderRequest

FieldTypeLabelDescription
namestringThe folder resource name.

ListFolderAccessorsRequest

exabel.api.management.v1.ListFolderAccessorsRequest

FieldTypeLabelDescription
namestringThe folder resource name.

ListFolderAccessorsResponse

exabel.api.management.v1.ListFolderAccessorsResponse

FieldTypeLabelDescription
folder_accessorsFolderAccessorrepeatedList of user groups with access to the folder. This does not include the users in each user group - those may be queried through the UserService.

ListFoldersRequest

exabel.api.management.v1.ListFoldersRequest

Request to ListFolders.

No fields

ListFoldersResponse

exabel.api.management.v1.ListFoldersResponse

Response from ListFolders.

FieldTypeLabelDescription
foldersFolderrepeatedList of accessible folders.

The items field for each folder will be empty when listing folders - use the "Get folder" or "List folder items" methods to retrieve items. |

ListItemsRequest

exabel.api.management.v1.ListItemsRequest

FieldTypeLabelDescription
parentstringThe folder to list items from. Optional.
item_typeFolderItemTypeSpecify an item type to list.

ListItemsResponse

exabel.api.management.v1.ListItemsResponse

FieldTypeLabelDescription
itemsFolderItemrepeatedList of folder items.

MoveItemsRequest

exabel.api.management.v1.MoveItemsRequest

FieldTypeLabelDescription
itemsstringrepeatedList of resource names of the items to move, e.g. models/123 or derivedSignals/987.
target_folderstringThe resource name of the target folder, for example folders/10.

MoveItemsResponse

exabel.api.management.v1.MoveItemsResponse

No fields

SearchItemsRequest

exabel.api.management.v1.SearchItemsRequest

FieldTypeLabelDescription
folderstringResource name of the folder to search in. Only "folders/-", meaning all folders, is supported.
querystringSearch query.
item_typeFolderItemTypeThe type of items to search for. If not set, all types are included in the result.
page_tokenstringToken for a specific page of results, as returned from a previous search request with the same query parameters.
page_sizeint32Maximum number of results to return. Defaults to 20.

SearchItemsResponse

exabel.api.management.v1.SearchItemsResponse

FieldTypeLabelDescription
resultsSearchResultrepeatedSearch results.
next_page_tokenstringContinuation token.

ShareFolderRequest

exabel.api.management.v1.ShareFolderRequest

FieldTypeLabelDescription
folderstringResource name of the folder to share.
groupstringResource name of the user group to share the folder with.
writeboolWhether the user group should have write access.

UnshareFolderRequest

exabel.api.management.v1.UnshareFolderRequest

FieldTypeLabelDescription
folderstringResource name of the folder to unshare.
groupstringResource name of the user group to unshare the folder from.

UpdateFolderRequest

exabel.api.management.v1.UpdateFolderRequest

FieldTypeLabelDescription
folderFolderThe updated folder. The resource name must be set. Only the display name, and description can be set.
update_maskgoogle.protobuf.FieldMaskUse this to update only selected fields. For example, specify display_name to update only the display name. If allow_missing is set, this field is ignored. Currently, only the display name and description may be modified.

For REST requests, this is a comma-separated string. |
| allow_missing | bool | | If set to true, a new folder will be created if it did not exist, and update_mask is ignored. |

Group

exabel.api.management.v1.Group

A group.

FieldTypeLabelDescription
namestringUnique resource name of the user group, e.g. groups/123.
display_namestringDisplay name of the user group, shown in the Library when sharing a folder with any of the customer user groups.
usersUserrepeatedList of users in this user group. Only populated for some responses (refer to documentation for each method).

User

exabel.api.management.v1.User

A user.

FieldTypeLabelDescription
namestringUnique resource name of the user, e.g. users/123.
emailstringUser's email.
blockedboolWhether the user is blocked from accessing the system.

ListGroupsRequest

exabel.api.management.v1.ListGroupsRequest

Request to ListGroups.

No fields

ListGroupsResponse

exabel.api.management.v1.ListGroupsResponse

Response from ListGroups.

FieldTypeLabelDescription
groupsGrouprepeatedList of user groups, including users in each user group.

ListUsersRequest

exabel.api.management.v1.ListUsersRequest

Request to ListUsers.

No fields

ListUsersResponse

exabel.api.management.v1.ListUsersResponse

Response from ListUsers.

FieldTypeLabelDescription
usersUserrepeatedList of users.