- dataAppName (required string) - The name of the data app for which you are creating the guest token.
- clientId (required string) - The primary key of the client/organization in the workspace for which you are creating the guest token.
- params (optional JSON object) - Optional token parameters (filters, embed allowlisting, end-user identity, timezone).
-
permissions (optional JSON object) - Dashboard permission toggles. Boolean keys:
isEnableArchiveMetrics,isEnableManageMetrics,isEnableCreateDashboardView,isEnableMetricUpdation,isEnableCustomizeLayout,isEnableUnderlyingData,isEnableDownloadMetrics,isShowSideBar,isShowDashboardName,isDisableMetricCreation. No other keys exist (there is nopermissions.dashboards). - expiryTime (optional number, milliseconds) - How long the token stays valid, measured from the moment it is created. If omitted, the token never expires.
- datasourceName(required string with multi data source connection) - The data source name to be used as data connection. (not applicable for datasource or datamart connection).
- datamartName (optional string) - Scope the token to a specific Datamart.
INVALID_REQUEST_BODY. dataAppId, client_id, and tenant_id are not valid fields — use dataAppName and clientId.
body -> params (optional JSON object) -
- rlsSettings (optional array of JSON object) - if you want to apply any rls settings then here you can pass the “metricId” for which you want to apply the filter and “values” which is an object of filter name and filter value.
- appFilters (optional array of JSON object) - if you want to apply metric-level filters with the app filter variant then here you can pass the “metricId” for which you want to apply the filter and “values” which is an object of filter name and value.
- dashboardAppFilters (optional array of JSON object) - dashboard-level filters to apply on a specific embedded dashboard.
-
allowedEmbeds (optional array of strings) - allowlist of IDs this token is allowed to load. Each entry must match the ID passed to the embed component (
dashboardIdattribute); embed IDs and dashboard IDs both resolve. Loading any other ID fails withUNAUTHORIZED. - userIdentifier (optional string) - unique identifier for the end-user to enable private/publish metrics in embeds.
-
timezone (optional string) - IANA timezone (e.g.
"America/New_York") for timezone-aware queries and date formatting. -
accessPermissions (optional JSON object) - end-user dashboard-filter controls:
isAllowEndUserDashboardFilter(boolean) anddashboardFilterColumns(array of{ tableName, columns }).
- metricId (required string) - the id of the metric you want to apply the rls filters which you can find on the metric page in the header below the metric name.
- values (required JSON object) - the filters name and value pairs that you want to apply.
- metricId (required string) - the id of the metric you want to apply the rls filters which you can find on the metric page in the header below the metric name.
- values (required JSON object) - the filters name and value pairs that you want to apply.
- array of name of filters

