Databricks SDK for JavaScript
    Preparing search index...

    Variable MessageStatus_MessageStatusConst

    MessageStatus_MessageStatus: {
        ASKING_AI: "ASKING_AI";
        CANCELLED: "CANCELLED";
        COMPLETED: "COMPLETED";
        EXECUTING_QUERY: "EXECUTING_QUERY";
        FAILED: "FAILED";
        FETCHING_METADATA: "FETCHING_METADATA";
        FILTERING_CONTEXT: "FILTERING_CONTEXT";
        PENDING_WAREHOUSE: "PENDING_WAREHOUSE";
        QUERY_RESULT_EXPIRED: "QUERY_RESULT_EXPIRED";
        SUBMITTED: "SUBMITTED";
    } = ...

    MessageStatus. The possible values are:

    • FETCHING_METADATA: Fetching metadata from the data sources.
    • FILTERING_CONTEXT: Running smart context step to determine relevant context.
    • ASKING_AI: Waiting for the LLM to respond to the user's question.
    • PENDING_WAREHOUSE: Waiting for warehouse before the SQL query can start executing.
    • EXECUTING_QUERY: Executing a generated SQL query. Get the SQL query result by calling getMessageAttachmentQueryResult API.
    • FAILED: The response generation or query execution failed. See error field.
    • COMPLETED: Message processing is completed. Results are in the attachments field. Get the SQL query result by calling getMessageAttachmentQueryResult API.
    • SUBMITTED: Message has been submitted.
    • QUERY_RESULT_EXPIRED: SQL result is not available anymore. The user needs to rerun the query. Rerun the SQL query result by calling executeMessageAttachmentQuery API.
    • CANCELLED: Message has been cancelled.

    Type Declaration

    • ReadonlyASKING_AI: "ASKING_AI"
    • ReadonlyCANCELLED: "CANCELLED"
    • ReadonlyCOMPLETED: "COMPLETED"
    • ReadonlyEXECUTING_QUERY: "EXECUTING_QUERY"
    • ReadonlyFAILED: "FAILED"
    • ReadonlyFETCHING_METADATA: "FETCHING_METADATA"
    • ReadonlyFILTERING_CONTEXT: "FILTERING_CONTEXT"
    • ReadonlyPENDING_WAREHOUSE: "PENDING_WAREHOUSE"
    • ReadonlyQUERY_RESULT_EXPIRED: "QUERY_RESULT_EXPIRED"
    • ReadonlySUBMITTED: "SUBMITTED"