Sisense
App · 26 actions
Manage Sisense users, groups, dashboards, folders and data model builds.
Actions
| Action | What it does |
|---|---|
| Cancel builds | Stop every running build of a data model. |
| Create folder | Create a dashboard folder, at the top level or inside another folder. |
| Create group | Add a user group to Sisense. |
| Create user | Add a user to Sisense with a role, and optionally to groups. |
| Delete dashboard | Delete a dashboard. |
| Delete folder | Delete a folder and what it holds. |
| Delete group | Delete a user group. |
| Delete user | Delete a user from Sisense. |
| Duplicate dashboard | Make a copy of a dashboard, owned by the connected user. |
| Export dashboard as PDF | Render a dashboard as a PDF file. |
| Get build | Get a build's state by its ID. |
| Get current user | Get the Sisense user the API token belongs to, with their role. |
| Get dashboard | Get one dashboard by ID. |
| Get role | Get one role by its ID or its name, such as consumer for Viewer. |
| Get user | Get one Sisense user by ID. |
| List builds | List data model builds, optionally for one model or in one state. |
| List dashboards | List the dashboards the connected user owns or can see. |
| List data models | List the data models (ElastiCubes and live models). |
| List folders | List the dashboard folders the connected user can see. |
| List groups | List the user groups in Sisense. |
| List roles | List the roles a Sisense user can have. |
| List users | List the users in Sisense, optionally filtered by text, group, role or state. |
| Start build | Start building a data model, or publish a live one. |
| Update dashboard | Rename a dashboard, change its description or move it to another folder. |
| Update folder | Rename a folder or move it into another folder. |
| Update user | Change a user's details, role or groups. |
Cancel builds
Stop every running build of a data model.
Inputs
- Data model
datamodeltextRequired - The data model whose builds to stop.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {}
}Create folder
Create a dashboard folder, at the top level or inside another folder.
Inputs
- Name
nametextRequired - The folder's name.
- Parent folder
parenttext - The folder to create it in. Leave empty for the top level.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"created": "example",
"lastUpdated": "example",
"name": "example",
"oid": "example",
"owner": "example",
"parentId": "example",
"type": "example",
"userId": "example"
}
}Create group
Add a user group to Sisense.
Inputs
- Name
nametextRequired - The group's name, unique in Sisense.
- Hide from sharing
exclude_from_sharingtrue/false - Leave the group out of the people a dashboard can be shared with.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"_id": "example",
"ad": true,
"created": "example",
"lastUpdated": "example",
"mail": "example",
"name": "example",
"roleId": "example"
}
}Create user
Add a user to Sisense with a role, and optionally to groups.
Inputs
- Email
emailtextRequired - The user's email address.
- Username
user_nametext - The name the user signs in with. Sisense uses the email when left empty.
- First name
first_nametext - The user's first name.
- Last name
last_nametext - The user's last name.
- Role
roletextRequired - The user's role, such as Viewer or Designer.
- Groups
groupslist - The groups the user belongs to.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"_id": "example",
"active": true,
"created": "example",
"email": "example",
"firstName": "example",
"groups": [
"example"
],
"lastLogin": "example",
"lastName": "example",
"lastUpdated": "example",
"roleId": "example",
"userName": "example"
}
}Delete dashboard
Delete a dashboard.
Inputs
- Dashboard
dashboardtextRequired - The dashboard.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {}
}Delete folder
Delete a folder and what it holds.
Inputs
- Folder
foldertextRequired - The folder.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {}
}Delete group
Delete a user group. Its members stay in Sisense.
Inputs
- Group
grouptextRequired - The Sisense group.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {}
}Delete user
Delete a user from Sisense.
Inputs
- User
usertextRequired - The Sisense user.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {}
}Duplicate dashboard
Make a copy of a dashboard, owned by the connected user.
Inputs
- Dashboard
dashboardtextRequired - The dashboard.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"created": "example",
"datasource": {
"address": "example",
"database": "example",
"fullname": "example",
"id": "example",
"title": "example"
},
"desc": "example",
"instanceType": "example",
"lastUpdated": "example",
"oid": "example",
"owner": "example",
"parentFolder": "example",
"shares": [
{
"rule": "example",
"shareId": "example",
"subscribe": true,
"type": "example"
}
],
"title": "example",
"type": "example",
"userId": "example"
}
}Export dashboard as PDF
Render a dashboard as a PDF file.
Inputs
- Dashboard
dashboardtextRequired - The dashboard.
- Paper size
paper_formattextRequired - The paper size.One of:
A4,LETTER,LEGAL,A3,TABLOID,A5,A2,A1,A0. - Orientation
orientationtextRequired - Portrait or landscape.One of:
portrait,landscape. - Layout
layouttext - Lay the widgets out as on screen, or one per row.One of:
asis(As on screen),feed(One widget per row). - Show filters
show_filterstrue/false - Print the dashboard's filters.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"content_base64": "example",
"content_type": "example"
}
}Get build
Get a build's state by its ID. Sisense removes finished builds after a while.
Inputs
- Build ID
build_idtextRequired - The build's ID, from Start build or List builds.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"buildType": "example",
"completed": "example",
"created": "example",
"datamodelId": "example",
"datamodelTitle": "example",
"datamodelType": "example",
"oid": "example",
"rowLimit": 1,
"schemaLastUpdate": "example",
"source": "example",
"started": "example",
"status": "example"
}
}Get current user
Get the Sisense user the API token belongs to, with their role.
Inputs
None.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"_id": "example",
"active": true,
"baseRoleName": "example",
"created": "example",
"email": "example",
"firstName": "example",
"groups": [
"example"
],
"lastLogin": "example",
"lastName": "example",
"lastUpdated": "example",
"roleId": "example",
"roleName": "example",
"userName": "example"
}
}Get dashboard
Get one dashboard by ID.
Inputs
- Dashboard
dashboardtextRequired - The dashboard.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"created": "example",
"datasource": {
"address": "example",
"database": "example",
"fullname": "example",
"id": "example",
"title": "example"
},
"desc": "example",
"instanceType": "example",
"lastUpdated": "example",
"oid": "example",
"owner": "example",
"parentFolder": "example",
"shares": [
{
"rule": "example",
"shareId": "example",
"subscribe": true,
"type": "example"
}
],
"title": "example",
"type": "example",
"userId": "example"
}
}Get role
Get one role by its ID or its name, such as consumer for Viewer.
Inputs
- Role
roletextRequired - The role, or its name: consumer (Viewer), contributor (Designer), dataDesigner, dataAdmin or admin.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"_id": "example",
"baseRoleName": "example",
"desc": "example",
"displayName": "example",
"name": "example"
}
}Get user
Get one Sisense user by ID.
Inputs
- User
usertextRequired - The Sisense user.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"_id": "example",
"active": true,
"created": "example",
"email": "example",
"firstName": "example",
"groups": [
"example"
],
"lastLogin": "example",
"lastName": "example",
"lastUpdated": "example",
"roleId": "example",
"userName": "example"
}
}List builds
List data model builds, optionally for one model or in one state.
Inputs
- Data model
datamodeltext - Only builds of this data model.
- Status
statustext - Only builds in this state.One of:
pending,building,done,failed,cancelled.
Outputs
datalist- The response from Sisense.
Example output
{
"data": [
{
"buildType": "example",
"completed": "example",
"created": "example",
"datamodelId": "example",
"datamodelTitle": "example",
"datamodelType": "example",
"oid": "example",
"rowLimit": 1,
"schemaLastUpdate": "example",
"source": "example",
"started": "example",
"status": "example"
}
]
}List dashboards
List the dashboards the connected user owns or can see.
Inputs
- Title
nametext - Only dashboards with this title.
- Folder
foldertext - Only dashboards directly in this folder.
- Data model
datasourcetext - Only dashboards built on this data model, by its title.
Outputs
datalist- The response from Sisense.
Example output
{
"data": [
{
"created": "example",
"datasource": {
"address": "example",
"database": "example",
"fullname": "example",
"id": "example",
"title": "example"
},
"desc": "example",
"instanceType": "example",
"lastUpdated": "example",
"oid": "example",
"owner": "example",
"parentFolder": "example",
"shares": [
{
"rule": "example",
"shareId": "example",
"subscribe": true,
"type": "example"
}
],
"title": "example",
"type": "example",
"userId": "example"
}
]
}List data models
List the data models (ElastiCubes and live models).
Inputs
- Title
titletext - Only the data model with this title.
Outputs
datalist- The response from Sisense.
Example output
{
"data": [
{
"lastBuildTime": "example",
"lastUpdated": "example",
"oid": "example",
"server": "example",
"title": "example",
"type": "example"
}
]
}List folders
List the dashboard folders the connected user can see.
Inputs
- Name
nametext - Only folders with this name.
- Limit
limitnumber - How many to return at most.From 1 to 1000. Default:
50. - Skip
skipnumber - How many to skip first, to read the next page.At least 0.
Outputs
datalist- The response from Sisense.
Example output
{
"data": [
{
"created": "example",
"lastUpdated": "example",
"name": "example",
"oid": "example",
"owner": "example",
"parentId": "example",
"type": "example",
"userId": "example"
}
]
}List groups
List the user groups in Sisense.
Inputs
- Name
nametext - Only the group with this name.
- Limit
limitnumber - How many to return at most.From 1 to 1000. Default:
50. - Skip
skipnumber - How many to skip first, to read the next page.At least 0.
Outputs
datalist- The response from Sisense.
Example output
{
"data": [
{
"_id": "example",
"ad": true,
"created": "example",
"lastUpdated": "example",
"mail": "example",
"name": "example",
"roleId": "example"
}
]
}List roles
List the roles a Sisense user can have.
Inputs
None.
Outputs
datalist- The response from Sisense.
Example output
{
"data": [
{
"_id": "example",
"baseRoleName": "example",
"desc": "example",
"displayName": "example",
"name": "example"
}
]
}List users
List the users in Sisense, optionally filtered by text, group, role or state.
Inputs
- Search
searchtext - Text to find in the user's name or email.
- Email
emailtext - Only the user with this email.
- Group
grouptext - Only members of this group.
- Role
roletext - Only users with this role.
- Active
activetrue/false - Only active users (on) or only inactive ones (off).
- Order
sorttext - The order to list them in.One of:
-created(Newest first),created(Oldest first),email(Email, A to Z),userName(Username, A to Z),-lastUpdated(Recently updated first). - Limit
limitnumber - How many to return at most.From 1 to 1000. Default:
50. - Skip
skipnumber - How many to skip first, to read the next page.At least 0.
Outputs
datalist- The response from Sisense.
Example output
{
"data": [
{
"_id": "example",
"active": true,
"created": "example",
"email": "example",
"firstName": "example",
"groups": [
"example"
],
"lastLogin": "example",
"lastName": "example",
"lastUpdated": "example",
"roleId": "example",
"userName": "example"
}
]
}Start build
Start building a data model, or publish a live one. Returns at once; read the build to follow it.
Inputs
- Data model
datamodeltextRequired - The data model to build.
- Build type
build_typetextRequired - What to build. Live models only publish.One of:
schema_changes(Schema changes only),by_table(By table (each table's own setting)),full(Full rebuild),publish(Publish (live models)). - Row limit
row_limitnumber - Import at most this many rows per table.At least 1.
- Schema
schema_origintext - Build the latest saved schema or the one now running.One of:
latest(Latest saved schema),running(Schema of the running model).
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"buildType": "example",
"completed": "example",
"created": "example",
"datamodelId": "example",
"datamodelTitle": "example",
"datamodelType": "example",
"oid": "example",
"rowLimit": 1,
"schemaLastUpdate": "example",
"source": "example",
"started": "example",
"status": "example"
}
}Update dashboard
Rename a dashboard, change its description or move it to another folder.
Inputs
- Dashboard
dashboardtextRequired - The dashboard.
- Title
titletext - The dashboard's new title.
- Description
descriptiontext - The dashboard's new description.
- Folder
foldertext - The folder to move the dashboard into.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"created": "example",
"datasource": {
"address": "example",
"database": "example",
"fullname": "example",
"id": "example",
"title": "example"
},
"desc": "example",
"instanceType": "example",
"lastUpdated": "example",
"oid": "example",
"owner": "example",
"parentFolder": "example",
"shares": [
{
"rule": "example",
"shareId": "example",
"subscribe": true,
"type": "example"
}
],
"title": "example",
"type": "example",
"userId": "example"
}
}Update folder
Rename a folder or move it into another folder.
Inputs
- Folder
foldertextRequired - The folder.
- Name
nametext - The folder's new name.
- Parent folder
parenttext - The folder to move it into.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"created": "example",
"lastUpdated": "example",
"name": "example",
"oid": "example",
"owner": "example",
"parentId": "example",
"type": "example",
"userId": "example"
}
}Update user
Change a user's details, role or groups. Fields left empty stay as they are.
Inputs
- User
usertextRequired - The Sisense user.
- Email
emailtext - The user's email address.
- Username
user_nametext - The name the user signs in with. Sisense uses the email when left empty.
- First name
first_nametext - The user's first name.
- Last name
last_nametext - The user's last name.
- Role
roletext - The user's role, such as Viewer or Designer.
- Groups
groupslist - The groups the user belongs to. Replaces the user's groups.
Outputs
dataobject- The response from Sisense.
Example output
{
"data": {
"_id": "example",
"active": true,
"created": "example",
"email": "example",
"firstName": "example",
"groups": [
"example"
],
"lastLogin": "example",
"lastName": "example",
"lastUpdated": "example",
"roleId": "example",
"userName": "example"
}
}