listInsights
Changed onList insights (saved charts) available to the user
Request
- Base URLhttps://dashboard.sls.epilot.io
- URLhttps://dashboard.sls.epilot.io/v1/dashboard/insights
- Auth
- HTTP bearer
- or API key in header x-epilot-org-id
Query parameters
Free-text search over name/title and description (case-insensitive substring).
Filter insights by one or more visualisation ids.
[ "timechart" ]
Filter by one or more tags (see tags_match for any/all semantics).
Whether a result must match any (default) or all of the given tags.
Filter by the id of the creating user.
Filter to resources shared with any of the given user ids.
Filter to resources owned by any of the given user ids.
Filter to resources the given user id may view (owner, shared, org-wide or legacy).
Field to sort by. name and title are aliases for the resource's display name and are normalised per resource: dashboards sort by title and insights by name, whichever of the two values is sent. String sorts are case-insensitive.
Sort direction. Defaults to ascending (preserving the pre-migration order).
Maximum results to return (max 200). Omit to return all matching results (pagination is opt-in).
Number of results to skip, for pagination. Use with limit (page N = offset N*limit).
Response
List of insights available to the user
Example response
{
"results": [
{
"created_by": "10598",
"updated_by": "10598",
"owner_org_id": "739224",
"owners": [
"10598"
],
"shared_with": [
{
"user_id": "10598",
"permission": "view"
}
],
"id": "8d2e1c7a-3b4f-4a2e-9c1d-2f3a4b5c6d7e",
"name": "Opportunities created by journeys every month",
"description": "Monthly count of opportunities grouped by source journey",
"visualisation_id": "timechart",
"visualisation_config": {
"query": {
"dataset": "entity_operations",
"measure": "count_operations",
"dimensions": [
{
"time_with_granularity": "year-month"
}
],
"filters": [
{
"entity_schema": "opportunity"
}
]
},
"options": {
"type": "bar"
}
},
"tags": [
"revenue",
"marketing"
]
}
]
}Changes
- warning
added the new
notesenum value to the///response property for the response status - info
added the enum value
notesto the propertyitems/of thequeryrequest parametervisualisation_id
- warning