Skip to main content
Pipeline runs and Block runs data are stored in pipeline_run and block_run tables in the database. If you want to query the PipelineRun and BlockRun metadata, you can either directly query the data from database or use Python code to fetch PipelineRun and BlockRun models.

Query from DB

Here is the query from Postgres. You can adapt it to the syntax of other databases when needed.

Query DB models via Python