cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Question: Is it possible to query for dashboards of a specific user?
Answer: the right direction is with the /admin endpoint.
You can use it to get the primary instances of all dashboards owned by a specific user by their username/email: For example:
/api/v1/dashboards/admin?dashboardType=owner&ownerInfo=true&ownershipType=allRoot&search=owner%3A%20test%40sisense.com&asObject=false
A breakdown of the query parameters used:
  • "ownershipType=allRoot" means search all dashboards in the system, even those I (the current logged in user/owner of the token) have no access to
  • "dashboardType=owner" means only get the "owner instance" of each dashboard (we don't need the viewer clones)
  • "ownerInfo=true" isn't really required but it makes the response objects contain full owner info including an email so i can easily validate the results and filter out any incorrect ones, without having to do another call to /users
  • "search=owner%3A%20test%40sisense.com" which unencoded is "owner: [email protected]". this is a free-text search that supports this specific search by username
Version history
Last update:
‎03-02-2023 09:03 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: