The invocation_id outputs a UUID generated for this dbt command. This value is useful when auditing or analyzing dbt invocation metadata.


If available, the invocation_id is:

  • available in the compilation context of query-comment
  • included in the metadata field of dbt artifacts
  • included as a label in all BigQuery jobs that dbt originates