Create API key from Databrain's dashboard
that should be passed in the headers in these requests.clientId
, dataAppName
. If expiryTime
is not passed, the token will not expire.
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer API TOKEN |
Name | Type | Description |
---|---|---|
dataAppName* | String | Your Data App Name |
clientId* | String | Client ID for whom this guest token is generated. ("clientId": "None" if no tenancy selected) |
params | Object | Additional Params: dashboard, appFilters |
expiryTime | Number | In milliseconds |
datasourceName | String | Datasource name from Data Studio (important in case of multi-datasource embed setup) |
App filter
A metric level filter designed specifically for controlling access to individual metrics. Unlike general RLS settings, it restricts access without requiring end user input or control.
"name"
, "country"
, "timePeriod"
, and "price"
are Dashboard App filters.isShowOnUrl
, the filter will not be visible to end users as search params on URL.
datasourceName
is available in app data studio tab.
'AUTHENTICATION_ERROR'
'INVALID_REQUEST_BODY'
'CLIENT_ID_ERROR'
'WORKSPACE_ID_ERROR'
'DASHBOARD_PARAM_ERROR'
'APP_FILTER_PARAM_ERROR'
'RLS_SETTINGS_PARAM_ERROR'
'INTERNAL_SERVER_ERROR'