METABASE

Generate Metabase Token

Generate a signed JWT token for Metabase embedded analytics.

This endpoint creates a JWT token that can be used with Metabase's embedded analytics feature to authenticate users and control access to dashboards and data.

Args: request: MetabaseJWTRequest containing optional groups and expiration current_user: The authenticated user from the request

Returns: dict: Contains the signed JWT token with user info from request

post/metabase/auth/metabase/token

Request body

expinteger nullable

Response

Successful Response

jwtstring required

Changes