Skip to content
Maua.Culturewire

Metabase

Metabase questions, dashboards, collections and SQL queries

Data and analyticsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Your Metabase URLRequiredHTTPS URL
    • API keySecretRequired

    Where to find them

    1. In Metabase, sign in as an administrator and open “Admin settings” → “Authentication” → “API keys”.
    2. Click “Create API key”, name it and choose the permission group: the key will only see what that group can see.
    3. Copy the key: it is shown only once. The URL is the one for your installation (Metabase Cloud: https://<name>.metabaseapp.com). Requires Metabase 0.47 or later.

Tools (1)

  • Metabase API requestMETABASE_SEND_REQUEST

    Authenticated call to the Metabase API ({url}/api). Any endpoint of the API is allowed. Examples: GET /database, GET /collection, GET /card, GET /dashboard/{id}, POST /card/{id}/query, POST /dataset {"database": 1, "type": "native", "native": {"query": "SELECT 1"}}.

    Required scopes

    No scopes required

    Input

    Metabase API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.