đŸ› ī¸
Developer docs
Start BuildingGuides
  • ✨Getting Started
  • đŸŽ›ī¸Self Hosted Config
  • âœī¸SSO Login
    • Saml Identity Provider (Idp)
    • Oidc Identity Provider (Idp)
  • đŸŽžī¸Framework Specific Guide
    • âš›ī¸Reactjs
    • âš›ī¸Nextjs
    • âš›ī¸Vuejs
    • âš›ī¸Angular
    • âš›ī¸Svelte
    • âš›ī¸Solid
    • âš›ī¸Vanilla JS
  • â„šī¸Token
  • â„šī¸How to embed?
  • đŸ›ī¸Multi-Tenant Access Control
  • Embed using iFrame (Not Recommended approach)
  • 🔑License Key Validation for Self-Hosted App
  • Test
  • 👩‍đŸ’ģHelpers
    • âœŗī¸Token Body
    • ✅Options
      • Custom Fiscal Year filter setup in DataBrain
    • đŸˆ‚ī¸Server Event
    • Embed Functions
    • Override Language
    • âœˆī¸Embedding Architecture
    • âœˆī¸LLM Architecture
    • ✨LLM Connectors
      • Open AI
      • Claude AI
      • Azure Open AI
      • Llama
      • Mixtral
    • 🆔Workspace Name
    • 🆔Dashboard ID
    • 🆔Metric ID
    • 🆔API Token
    • 🆔End User Metric Creation
    • Embedding APIs
      • Sync Datasource
  • Metric App Filter
  • Dashboard App Filter
  • Chat Mode
    • Step 1: Create Datamart and Workspace
    • Step 2: Create Data App and Embed ID
  • ✨Solutions Alchemy
    • Dashboards for Client Groups
    • Dashboard for Multiple Clients
    • Embedding: Role based Dashboard Filtering
    • Localized Currency Symbols
    • Manage Metrics
Powered by GitBook
On this page
  1. Helpers

Token Body

Here you will see what are the fields to pass in the body while creating a guest token.

JSON body -

  • 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) - Additional things you want to apply for the client/organization.

  • expiryTime (optional time in milliseconds) - The time in which you want the token to be expired.

  • 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).

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.

params -> rlsSettings (optional array of JSON object) -

  • 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.

params -> appFilters (optional array of JSON object) -

  • 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.

params -> hideDashboardFilters(optional array of strings) -

  • array of name of filters

PreviousTestNextOptions

Last updated 16 days ago

👩‍đŸ’ģ
âœŗī¸