Dataset
Dagster asset definition and run history datasets for AI training
A Dagster dataset is the record of a business's data pipelines as its Dagster deployment holds them: the Python repository that defines assets, asset checks, jobs, schedules, sensors and resources, with commit history, and the run and event log tables that record each run, step event, asset materialization and check result per partition. SourceX sources it to a buyer's spec from established businesses that run Dagster, self-hosted or on Dagster+. Each dataset is de-identified, with secrets and data values in metadata and logs removed, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- A Dagster code repository with commit history, joined by asset key and run ID to run records and event log rows
- Typical systems
- Dagster open source or Dagster+, Serverless or Hybrid: code locations, run and event log storage, schedule and sensor ticks, compute logs, and the dbt project where dagster-dbt loads one
- Typical history
- Self-hosted: as long as the instance database was kept and runs not deleted; Dagster+: the retention on the organization's plan, which the buyer should ask for
- Modality
- Python source and config; structured run and event rows; log messages and stack traces as text
- Delivery formats
- Git repository; runs, events and ticks as JSONL or Parquet with the serialized event decoded; compute logs as text files where they exist
- Preparation
- Secrets and connection strings removed from code, run config and logs; data values in metadata removed; people replaced with role pseudonyms
- Licensing
- Scoped per code location and date range; states whether only code and histories or also produced tables are licensed
- Availability
- Sourced to your spec; compute logs and old events may no longer exist, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| asset_key | array | The asset key path declared by @asset or generated by an integration, which joins a definition in code to its events in the log. |
| definition | object | From the code location's Definitions: source file and function, group_name, owners, kinds, code_version and partitions definition. |
| deps | array | Upstream asset keys the asset declares through function arguments or deps, the edges of the asset graph. |
| code_ref | object | The repository commit matched to the run, with how the match was made, since a run record does not as a rule store a commit. |
| run_id | string | The run's UUID from run storage, carried by every event log row of that run. |
| run | object | The run record: job name, status, start and end time, tags such as dagster/partition and dagster/backfill, and parent_run_id for a re-execution. |
| run_config | object | The run config stored in the run body, with secrets removed and environment variable references kept as names. |
| event_type | enum | The row's dagster_event_type, such as STEP_FAILURE, ASSET_MATERIALIZATION_PLANNED, ASSET_MATERIALIZATION, ASSET_OBSERVATION or ASSET_CHECK_EVALUATION. |
| step_key | string | The step of the run that emitted the event, from the event log's step_key column. |
| timestamp | string | When the event was recorded, from the event log row. |
| partition | string | The partition key the materialization or check applied to, such as a date; null for an unpartitioned asset. |
| metadata | object | Metadata entries on a materialization or observation, such as dagster/row_count, dagster/column_schema, paths and table previews, screened for data values. |
| check_result | object | For an asset check evaluation: the check name, whether it passed, its severity of WARN or ERROR and its metadata. |
| error | object | For failure events: the exception class, message and stack trace, plus the compute log reference where one resolves. |
Field names from the table above; values are masked placeholders.
Example record
{
"asset_key": [
"analytics",
"orders_daily"
],
"definition": {
"file": "pipelines/assets/orders.py",
"function": "orders_daily",
"group_name": "analytics",
"owners": [
"team:data-platform"
],
"code_version": "3",
"partitions_def": "DailyPartitionsDefinition"
},
"deps": [
[
"raw",
"orders"
]
],
"code_ref": {
"commit": "4e1b9c7",
"matched_by": "deploy_time"
},
"run_id": "0b7c41f2-93de-4a56-8e0f-5d2a7c19b3e4",
"run": {
"job_name": "daily_analytics_job",
"status": "SUCCESS",
"start_time": "2024-06-04T05:00:12Z",
"end_time": "2024-06-04T05:07:48Z",
"tags": {
"dagster/partition": "2024-06-03",
"dagster/schedule_name": "daily_analytics"
},
"parent_run_id": null
},
"run_config": {
"resources": {
"warehouse": {
"config": {
"password": {
"env": "WAREHOUSE_PASSWORD"
}
}
}
}
},
"event_type": "ASSET_MATERIALIZATION",
"step_key": "analytics__orders_daily",
"timestamp": "2024-06-04T05:07:41.220Z",
"partition": "2024-06-03",
"metadata": {
"dagster/row_count": 18450,
"dagster/column_schema": [
{
"name": "order_id",
"type": "string"
}
],
"preview": "[TABLE_PREVIEW_REMOVED]"
},
"check_result": null,
"error": null
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train coding agents on asset-based pipelines
Real @asset definitions with partitions, resources and checks, and the commits that changed them, show how production Dagster code is written.
Learn failure and repair
A failed run, its stack trace, the linked re-execution and the commit between them form a debugging example with a known fix.
Tell code bugs from data problems
Row counts and check results per partition show when a run failed because upstream data was late or malformed, not because code changed.
Reason over lineage
The declared asset graph lets a model predict what a change to one asset breaks downstream, and the event log shows what did break.
Evaluate data engineering agents
Held-out failures with logged outcomes make test items: diagnose the step, choose partitions to backfill, write the missing check.
Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Mostly assets, not bare ops
Asset-based pipelines give every run a named output, where op-only jobs leave steps without one.
Metadata on materializations
The code attached row counts and schemas, so each event says what was produced and not only that it ran.
Asset checks in use
Check evaluations give a pass or fail on the data itself, per partition.
Compute logs kept in a bucket
A configured compute log manager means stdout and stderr may still exist for old failures.
Runs matchable to commits
Deploy records or code versions tie each run to the code that was live.
Unpruned history
Runs were not deleted in bulk, so failures are present alongside successes.
Record timeline
Dagster dataset
Assets tie the dependency graph to what each run produced
Dagster code declares assets. A Python function under @asset is named for the table, file or model it produces, its asset key, and lists its upstream assets as arguments or deps. The graph is therefore in the code, readable without running anything, where a task-based orchestrator records only that one task ran after another. The dagster-dbt integration makes every dbt model an asset in the same graph, though the SQL stays in the dbt project. Older Dagster code is built from ops and jobs. An op-based job logs steps but records an asset only when the op yields an AssetMaterialization itself, so older pipelines have runs that nothing ties to a table.
When a run is created, Dagster writes an ASSET_MATERIALIZATION_PLANNED event for each asset the run targets. On success it writes ASSET_MATERIALIZATION with the asset key, the partition, the run and whatever metadata the code attached, commonly dagster/row_count, the column schema and a path. A planned event with no materialization after it is an attempt that failed or never ran. Asset checks write ASSET_CHECK_EVALUATION events, a pass or fail with a severity, against the same key. Partitioned assets are logged per partition, so a date rebuilt in a backfill shows as several events, often with different row counts. Run tags name the schedule, sensor or backfill that launched a run, and a re-execution points to the failed run through parent_run_id.
What Dagster does not keep is the code. A run stores a snapshot of the job's structure and its run config, not the Python source. A code_version appears only if the team set one. Tying a run to a commit usually takes deploy records or image tags, and an asset deleted from the code leaves events under a key with no definition.
Structured events survive, and the raw stdout often does not
A Dagster instance keeps runs and events in its own database: SQLite files under DAGSTER_HOME by default, usually PostgreSQL in production. The event log table has one row per event, with run_id, dagster_event_type, timestamp, step_key, asset_key and partition as columns and the full event as serialized JSON. A self-hosted export is a dump of those tables or a read through the DagsterInstance Python API. Dagster renamed pipelines to jobs, but the runs table still names the job in a pipeline_name column. On Dagster+ the storage is run by Dagster Labs, so history comes out through the GraphQL API, not a database dump, and reaches back only as far as the retention on the organization's plan, which the buyer should ask for.
The event log holds structured events: step starts, failures and retries, messages written with context.log, and for a failed step the error class, message and stack trace. It does not hold stdout and stderr. Those are compute logs, captured by a compute log manager to files on local disk or in a bucket, and the event log keeps only a LOGS_CAPTURED pointer to them. On a self-hosted instance where steps ran in short-lived containers and nobody configured a bucket, the files went with the container. The output of a dbt or Spark subprocess is then gone, while the row saying the step failed remains. Dagster+ by default uploads compute logs to storage it manages, unless the deployment turned that off. Deleting a run removes its events, and schedule and sensor tick history can be purged on its own settings.
To test a sample, take one partitioned asset and count materializations per partition against its schedule. Check that planned events have outcomes. Open a few failed steps and see whether their compute log files still resolve. Read metadata entries and run config for table previews and credentials.
What to check before licensing
- Have the data owner and your counsel check Dagster Labs' terms for Dagster+ and its API, or the license of the self-hosted version in use, on exported data and API use.
- Check whether the license covers only pipeline code and histories or also the tables and files the assets produce, and have that written into the scope.
- Check materialization metadata, log messages, stack traces and run config for data values and secrets, including table previews attached as metadata.
- Ask which storage the instance uses, whether runs were deleted or assets wiped, and on Dagster+ what retention applies to the plan, then compare the earliest event with the history claimed.
- Ask where compute logs are written and for how long, and test whether stdout and stderr of ten old failed steps can still be retrieved.
- Ask how a run is tied to the commit that was deployed, and test the method on runs either side of a known code change.
- Ask what share of jobs are asset-based, whether the dbt project behind any dbt assets is included, and whether contractors wrote code the business cannot license.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
What is the difference between Dagster's event log and its compute logs?
The event log is structured rows in Dagster's database, one per event of a run: materializations, check results and failures with stack traces. Compute logs are the raw stdout and stderr of each step, written to files by a compute log manager. The first lasts as long as the database was kept. The second is often missing for older runs, so ask before you count on it.
How far back does Dagster run history go?
It depends on where Dagster runs. A self-hosted instance keeps runs and events for as long as its database was kept and nobody deleted runs. On Dagster+ the service holds the storage, so ask what retention applies to the organization's plan. Either way, ask for the earliest event per asset, since assets added later have shorter histories.
Can a run be matched to the code that produced it?
Not from Dagster's records alone. A run stores the job's structure and config, not the Python source and, as a rule, no commit hash. The match is made from deploy records, image tags or a code_version the team maintained, and for some periods it can only be inferred from timing. Ask for each match to be flagged as explicit or inferred.
Does the dataset include the data the pipelines produced?
Not unless the license says so. The usual scope is the code, the run records and the event log. The tables, files and models the assets write live in a warehouse or object store and are a separate decision for the data owner. Metadata on materializations can still contain values from those tables, which is why it is screened.
Are dbt models that Dagster runs part of the dataset?
They can be. With dagster-dbt, each dbt model appears as a Dagster asset with its own materialization events, but the SQL and tests belong to the dbt project. Ask for that project to be in scope. Without it you get events for assets whose logic is not in the delivery.
Is SourceX affiliated with Dagster Labs?
Dagster is named to identify the system the records come from. That does not imply a partnership with or endorsement by Dagster Labs. The records belong to the business that runs Dagster, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Data pipeline code with run history
Pipeline and transformation code with commit history, run records, data-test results and lineage
- CI/CD pipeline logs and build failures
Pipeline runs with step logs and exit codes, joined to triggering and fixing commits
- Apache Airflow DAGs and run histories
The DAG repository with its commit history, dag_run and task_instance rows from the metadata database, and the task logs that survive
- dbt project code and run artifacts
A dbt project repository with Git history: models, sources, tests, macros, seeds, snapshots and exposures, plus archived run artifacts
- Databricks lakehouse tables and notebooks
Delta tables with transaction logs, volume files, notebooks, job definitions and MLflow runs from one Databricks workspace
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.