Embedded analytics SDK API
    Preparing search index...

    Type Alias SdkQuestionEntityPublicProps

    SdkQuestionEntityPublicProps:
        | { questionId: SdkQuestionId
        | null; token?: never }
        | { questionId?: never; token: SdkEntityToken | null }

    Type Declaration

    • { questionId: SdkQuestionId | null; token?: never }
      • questionId: SdkQuestionId | null

        The ID of the question.
        This is either:

        • the numerical ID when accessing a question link, i.e. http://localhost:3000/question/1-my-question where the ID is 1
        • the string ID found in the entity_id key of the question object when using the API directly or using the SDK Collection Browser to return data
        • new to show the notebook editor for creating new questions
        • new-native to show the SQL editor for creating new native questions
      • Optionaltoken?: never
    • { questionId?: never; token: SdkEntityToken | null }
      • OptionalquestionId?: never
      • token: SdkEntityToken | null

        A valid JWT token for the guest embed.