Databricks SDK for JavaScript
    Preparing search index...

    Interface GetRunOutputResponse

    Run output was retrieved successfully.

    interface GetRunOutputResponse {
        error?: string;
        errorTrace?: string;
        info?: string;
        logs?: string;
        logsTruncated?: boolean;
        metadata?: Run;
        result?:
            | {
                $case: "notebookOutput";
                notebookOutput: NotebookTask_NotebookOutput;
            }
            | { $case: "sqlOutput"; sqlOutput: SqlTask_SqlOutput }
            | { $case: "dbtOutput"; dbtOutput: DbtTask_DbtTaskOutput }
            | { $case: "runJobOutput"; runJobOutput: RunJobTask_RunJobTaskOutput }
            | {
                $case: "cleanRoomsNotebookOutput";
                cleanRoomsNotebookOutput: CleanRoomsNotebookTask_CleanRoomsNotebookTaskOutput;
            }
            | { $case: "dashboardOutput"; dashboardOutput: DashboardTaskOutput }
            | { $case: "dbtCloudOutput"; dbtCloudOutput: DbtCloudTaskOutput }
            | { $case: "dbtPlatformOutput"; dbtPlatformOutput: DbtPlatformTaskOutput }
            | { $case: "alertOutput"; alertOutput: AlertTaskOutput };
    }
    Index

    Properties

    error?: string

    An error message indicating why a task failed or why output is not available. The message is unstructured, and its exact format is subject to change.

    errorTrace?: string

    If there was an error executing the run, this field contains any available stack traces.

    info?: string
    logs?: string

    The output from tasks that write to standard streams (stdout/stderr) such as spark_jar_task, spark_python_task, python_wheel_task.

    It's not supported for the notebook_task, pipeline_task or spark_submit_task.

    restricts this API to return the last 5 MB of these logs.

    logsTruncated?: boolean

    Whether the logs are truncated.

    metadata?: Run

    All details of the run except for its output.

    result?:
        | {
            $case: "notebookOutput";
            notebookOutput: NotebookTask_NotebookOutput;
        }
        | { $case: "sqlOutput"; sqlOutput: SqlTask_SqlOutput }
        | { $case: "dbtOutput"; dbtOutput: DbtTask_DbtTaskOutput }
        | { $case: "runJobOutput"; runJobOutput: RunJobTask_RunJobTaskOutput }
        | {
            $case: "cleanRoomsNotebookOutput";
            cleanRoomsNotebookOutput: CleanRoomsNotebookTask_CleanRoomsNotebookTaskOutput;
        }
        | { $case: "dashboardOutput"; dashboardOutput: DashboardTaskOutput }
        | { $case: "dbtCloudOutput"; dbtCloudOutput: DbtCloudTaskOutput }
        | { $case: "dbtPlatformOutput"; dbtPlatformOutput: DbtPlatformTaskOutput }
        | { $case: "alertOutput"; alertOutput: AlertTaskOutput }

    Type Declaration