Skip to main content

Get job run

Check the progress and outcome of a job run.

Command in the Databricks toolkit · id ooa.databricks/get_run · 5 inputs (1 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Workspace address (URL)StringNoWorkspace address, e.g. https://adb-1234567890123456.7.azuredatabricks.net or https://dbc-a1b2c3d4-e5f6.cloud.databricks.com.
Run IDStringYesRun id from Run job now.
Access tokenCredentialNoDatabricks personal access token or OAuth token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
Client IDStringNoApplication (client) id of a service principal, to sign in with OAuth instead of a personal access token (G6).
Client secretCredentialNoThe service principal's OAuth secret from the vault (G6).

Outputs​

OutputTypeWhat it is
life_cycle_stateStringWhere the run is, e.g. PENDING, RUNNING or TERMINATED.
result_stateStringSUCCESS, FAILED, TIMEDOUT or CANCELED once finished.
runDictionaryrun_id, life_cycle_state, result_state, state_message, run_page_url, start_time, end_time.