Sisense

App · 26 actions

Manage Sisense users, groups, dashboards, folders and data model builds.

Actions

ActionWhat it does
Cancel buildsStop every running build of a data model.
Create folderCreate a dashboard folder, at the top level or inside another folder.
Create groupAdd a user group to Sisense.
Create userAdd a user to Sisense with a role, and optionally to groups.
Delete dashboardDelete a dashboard.
Delete folderDelete a folder and what it holds.
Delete groupDelete a user group.
Delete userDelete a user from Sisense.
Duplicate dashboardMake a copy of a dashboard, owned by the connected user.
Export dashboard as PDFRender a dashboard as a PDF file.
Get buildGet a build's state by its ID.
Get current userGet the Sisense user the API token belongs to, with their role.
Get dashboardGet one dashboard by ID.
Get roleGet one role by its ID or its name, such as consumer for Viewer.
Get userGet one Sisense user by ID.
List buildsList data model builds, optionally for one model or in one state.
List dashboardsList the dashboards the connected user owns or can see.
List data modelsList the data models (ElastiCubes and live models).
List foldersList the dashboard folders the connected user can see.
List groupsList the user groups in Sisense.
List rolesList the roles a Sisense user can have.
List usersList the users in Sisense, optionally filtered by text, group, role or state.
Start buildStart building a data model, or publish a live one.
Update dashboardRename a dashboard, change its description or move it to another folder.
Update folderRename a folder or move it into another folder.
Update userChange a user's details, role or groups.

Cancel builds

Stop every running build of a data model.

Inputs

Data modeldatamodeltextRequired
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

NamenametextRequired
The folder's name.
Parent folderparenttext
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

NamenametextRequired
The group's name, unique in Sisense.
Hide from sharingexclude_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

EmailemailtextRequired
The user's email address.
Usernameuser_nametext
The name the user signs in with. Sisense uses the email when left empty.
First namefirst_nametext
The user's first name.
Last namelast_nametext
The user's last name.
RoleroletextRequired
The user's role, such as Viewer or Designer.
Groupsgroupslist
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

DashboarddashboardtextRequired
The dashboard.

Outputs

dataobject
The response from Sisense.
Example output
{
  "data": {}
}

Delete folder

Delete a folder and what it holds.

Inputs

FolderfoldertextRequired
The folder.

Outputs

dataobject
The response from Sisense.
Example output
{
  "data": {}
}

Delete group

Delete a user group. Its members stay in Sisense.

Inputs

GroupgrouptextRequired
The Sisense group.

Outputs

dataobject
The response from Sisense.
Example output
{
  "data": {}
}

Delete user

Delete a user from Sisense.

Inputs

UserusertextRequired
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

DashboarddashboardtextRequired
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

DashboarddashboardtextRequired
The dashboard.
Paper sizepaper_formattextRequired
The paper size.One of: A4, LETTER, LEGAL, A3, TABLOID, A5, A2, A1, A0.
OrientationorientationtextRequired
Portrait or landscape.One of: portrait, landscape.
Layoutlayouttext
Lay the widgets out as on screen, or one per row.One of: asis (As on screen), feed (One widget per row).
Show filtersshow_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 IDbuild_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

DashboarddashboardtextRequired
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

RoleroletextRequired
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

UserusertextRequired
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 modeldatamodeltext
Only builds of this data model.
Statusstatustext
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

Titlenametext
Only dashboards with this title.
Folderfoldertext
Only dashboards directly in this folder.
Data modeldatasourcetext
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

Titletitletext
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

Namenametext
Only folders with this name.
Limitlimitnumber
How many to return at most.From 1 to 1000. Default: 50.
Skipskipnumber
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

Namenametext
Only the group with this name.
Limitlimitnumber
How many to return at most.From 1 to 1000. Default: 50.
Skipskipnumber
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

Searchsearchtext
Text to find in the user's name or email.
Emailemailtext
Only the user with this email.
Groupgrouptext
Only members of this group.
Roleroletext
Only users with this role.
Activeactivetrue/false
Only active users (on) or only inactive ones (off).
Ordersorttext
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).
Limitlimitnumber
How many to return at most.From 1 to 1000. Default: 50.
Skipskipnumber
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 modeldatamodeltextRequired
The data model to build.
Build typebuild_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 limitrow_limitnumber
Import at most this many rows per table.At least 1.
Schemaschema_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

DashboarddashboardtextRequired
The dashboard.
Titletitletext
The dashboard's new title.
Descriptiondescriptiontext
The dashboard's new description.
Folderfoldertext
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

FolderfoldertextRequired
The folder.
Namenametext
The folder's new name.
Parent folderparenttext
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

UserusertextRequired
The Sisense user.
Emailemailtext
The user's email address.
Usernameuser_nametext
The name the user signs in with. Sisense uses the email when left empty.
First namefirst_nametext
The user's first name.
Last namelast_nametext
The user's last name.
Roleroletext
The user's role, such as Viewer or Designer.
Groupsgroupslist
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"
  }
}

On this page