Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

540 B
Raw Blame
type SdkQuestionId = number | "new" | "new-native" | SdkEntityId;

Represents the identifier for a question in the Metabase SDK.

Example

// Numerical ID from question URL
const questionId: SdkQuestionId = 123;

// Entity ID string
const questionId: SdkQuestionId = "abc123def456";

// Create new notebook-style question
const questionId: SdkQuestionId = "new";

// Create new native SQL question
const questionId: SdkQuestionId = "new-native";