Skip to content

Dataset

Looker LookML model and dashboard datasets for AI training

A Looker dataset is the content of a business's Looker instance: the LookML project whose views, dimensions, measures and explores define how the warehouse is queried, with its Git history, plus the definitions of the Looks and dashboards users saved and, where wanted, System Activity query history. Looker here means the modeling platform, not the separate Looker Studio product. SourceX sources it to a buyer's spec from established businesses that run Looker. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
A LookML repository with its commit history, saved Looks and dashboards as query definitions, and optional System Activity history; no warehouse rows unless agreed
Typical systems
Looker (original) and Looker (Google Cloud core) instances with their LookML projects, Looks, user-defined and LookML dashboards, schedules and System Activity
Typical history
Git history back to the project's first commit where it was kept; System Activity History only for the roughly 90 days Looker retains unless the owner archived it, so specify both
Modality
LookML files and Git commits as code; Look, dashboard, schedule and history records as structured JSON
Delivery formats
A Git repository or bundle of .lkml files, with JSONL for Looks, dashboards, schedules and history rows
Preparation
User names and emails replaced with pseudonyms; filter values, SQL literals and schedule recipients masked; connection settings and user attribute values removed
Licensing
Scoped per LookML project and content folder; states whether warehouse tables are included; imported projects and marketplace blocks checked for third-party rights
Availability
Sourced to your spec; depends on how the owner kept Git history and how far System Activity reaches, and supply is not guaranteed
CodeIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
project_namestringThe LookML project the file or content belongs to, as named on the instance.
content_typeenumLook, user-defined dashboard, LookML dashboard or dashboard element, by the Looker record it came from.
content_refobjectThe Look or dashboard ID with its folder path, title and description, from the Look and Dashboard records.
queryobjectThe Query record behind a Look or tile: model, view (the explore), fields, filters, sorts, pivots and limit.
dynamic_fieldsarrayTable calculations and custom fields saved on the query as expressions, outside the LookML project.
dashboard_filtersarrayA dashboard's filters and the field each tile listens on, from its dashboard filter and element records.
lookml_objectobjectThe parsed view, explore, dimension, measure or derived table a field resolves to, with its file path and parameters such as type and sql.
explore_joinsarrayEach join the explore declares in its model file, with its sql_on, relationship and type.
commitobjectThe Git commit that last changed the LookML object: hash, timestamp, pseudonymous author and message.
scheduleobjectA scheduled plan on the Look or dashboard, with its crontab and format and with recipients removed.
history_eventobjectA row of the System Activity History explore: created time, source, status, runtime and pseudonymous user.
field_usageobjectHow often each view_name.field_name was queried in the retained period, from System Activity's Field Usage explore or counted from the queries History links to.
generated_sqlstringThe SQL Looker generated for the query where it was captured at export, with the LookML commit it was generated against.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "project_name": "analytics_core",
  "content_type": "look",
  "content_ref": {
    "id": "look_1182",
    "folder": "Shared/Finance/Revenue",
    "title": "Net revenue by month, one customer",
    "description": "Net of refunds and credits. Used in the monthly close review."
  },
  "query": {
    "model": "finance",
    "view": "order_items",
    "fields": ["orders.created_month", "order_items.net_revenue"],
    "filters": {
      "orders.created_date": "12 months",
      "orders.status": "-cancelled",
      "orders.billing_email": "[MASKED]"
    },
    "sorts": ["orders.created_month desc"]
  },
  "dynamic_fields": [
    {
      "table_calculation": "mom_change",
      "expression": "${order_items.net_revenue} / offset(${order_items.net_revenue}, 1) - 1"
    }
  ],
  "lookml_object": {
    "file_path": "views/order_items.view.lkml",
    "name": "net_revenue",
    "type": "sum",
    "sql": "${sale_price} - ${refund_amount} - ${credit_amount}"
  },
  "explore_joins": [
    {
      "join": "orders",
      "relationship": "many_to_one",
      "sql_on": "${order_items.order_id} = ${orders.id}"
    }
  ],
  "commit": {
    "hash": "9e41c7a",
    "timestamp": "2023-05-16T15:42:10Z",
    "author": "dev_0c4f",
    "message": "net_revenue: subtract credits as well as refunds"
  },
  "schedule": {"crontab": "0 7 1 * *", "format": "csv", "recipients": "[REMOVED]"},
  "history_event": {
    "created_time": "2024-02-01T07:00:04Z",
    "source": "scheduled_task",
    "runtime_seconds": 6.3,
    "user": "usr_a81d"
  },
  "generated_sql": null
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train coding agents to write LookML

Real views, explores and derived tables with commit history show how a semantic model is built and repaired.

Ground metric questions in definitions

Measures with labels, descriptions and SQL let a model say what a number means from the business's own definition.

Learn from metric changes

A commit that alters a measure's sql, with its message, is a labeled example of a definition being corrected.

Map questions to fields

Look and tile titles paired with the fields and filters chosen are examples of picking the right explore for a question.

Evaluate semantic layer agents

Join relationships and field references can be checked mechanically, so fanout and broken references make test items.

Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Full Git history

Many small commits with real messages, not one bulk import.

Described fields

Dimensions and measures carry label and description parameters written for business users.

Content that resolves

Every field a Look or tile refers to exists in the delivered LookML at the stated commit.

Declared keys and relationships

Views name a primary key and joins state their relationship, so join behavior can be verified.

History that was archived

The owner copied System Activity to the warehouse, so usage reaches past the retained period.

SQL captured with its commit

Generated SQL is stored beside the hash of the LookML that produced it.

System export

Looker dataset

This page covers looker LookML models and dashboards.Illustrative

One definition per number, and a commit for every change

In Looker the person building a chart does not write its SQL. A LookML view maps to a warehouse table through sql_table_name, or to a derived table, and declares dimensions and measures, each with a sql parameter that points at a column as ${TABLE}.column or at another field as ${field_name}. An explore names a base view and its joins, each with a sql_on condition and a relationship such as many_to_one. Users pick fields in an explore and Looker writes the query. A measure such as net revenue is therefore written once, and every Look and dashboard tile that shows it refers to it by name as view_name.field_name. The relationship parameter matters as much as the SQL: Looker uses it with each view's primary key to keep sums from being inflated by a join, so a wrong relationship gives a wrong total with no error.

Every LookML project is a Git repository. Developers edit on personal branches in development mode, commit, and deploy to production. The log of one view file shows the day net revenue began to subtract credits, who changed it and why. That history is only as good as the team's habits: some projects arrived in one large first commit, and some messages say nothing. Where pull requests are required, the review discussion sits with the Git host and is a separate scope.

Not everything is in Git. Dashboards built in the interface and all Looks live in Looker's internal database and are edited in place, so plan on their current state and ask whether any earlier versions exist. Only LookML dashboards are files in the project. Table calculations and custom fields are saved on the individual query, outside LookML, as a second, unreviewed layer of metric logic. And because content refers to fields by name, renaming a dimension in LookML leaves old Looks pointing at a field that no longer exists.

An export is code and definitions, not rows

Looker does not hold the business's tables. It sends each query to the warehouse over a connection and keeps results only in a cache that expires. Even persistent derived tables are built in a scratch schema in the warehouse, not in Looker. An export is therefore three things: the repository, the Look, dashboard and query records read through the Looker API, and System Activity. Rows to run the queries against are a separate item in the license.

System Activity is Looker's own model over its internal database. Its History explore records each query run, with the user, the time, the source such as a dashboard, an explore or a scheduled task, the status, the runtime, and through the linked query the fields and filters used. Google's documentation says History rows are deleted after 90 days, and rows from scheduled tasks after 7, so it shows recent use only, unless the owner has been copying it to the warehouse or the instance has a longer-retention option. Filter values in it can be customer names or email addresses.

The SQL is not stored with a Look. Looker generates it at run time from the saved query, the LookML in production at that moment, the connection's dialect and the user, because user attributes, access filters and Liquid can change the SQL per person. The dependable way to pair a query with its SQL is to generate it on the instance against a known commit, as a named user. To test a sample, resolve every field of a set of Looks to a definition in the delivered LookML, count those that fail, check that every include and imported project resolves, and compare the earliest History row with the period claimed.

What to check before licensing

  • Have the data owner and your counsel check Google's terms for Looker on exported data and API use, for the edition the instance runs.
  • Check whether the license covers only the definitions or also the warehouse tables behind them, and name the tables if you need to run the queries.
  • Check that query history is stripped of user names and of filter values that identify customers, and read the LookML itself for customer names hard-coded in CASE expressions and filters.
  • Ask for the date of the first commit, the number of commits and whether history was squashed or lost when the project changed Git remotes.
  • Ask the owner to run the Content Validator before export and report how many Looks and tiles refer to fields that no longer exist.
  • Ask which files come from imported projects, Looker Blocks or marketplace installs, since that LookML was written by someone else and may not be the business's to license.
  • Ask how far back the History explore reaches on this instance, and whether generated SQL was captured, as which user and against which commit.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Does a Looker export include the data behind the dashboards?

No. Looker holds definitions and sends each query to the warehouse, so an export contains LookML, saved content and usage history but no business rows. If you want to execute the queries or check their results, the warehouse tables the explores read have to be licensed as a separate, named part of the dataset.

Is this the same as Looker Studio data?

No. Looker Studio is a different product with its own report format and no LookML. This page covers Looker, the modeling platform in which developers define views, measures and explores in LookML and users build Looks and dashboards on top. A business may run both, so say which one you mean.

How far back does Looker history go?

It differs by layer. Git history of the LookML project can reach back to its first commit, if the remote kept it. Query history in System Activity is short: Google documents deletion of History rows after 90 days, and sooner for scheduled runs, unless the owner archived them. Looks and dashboards built in the interface are held in their current state, so ask whether earlier versions exist anywhere.

Can each saved query be delivered with its SQL?

Only if the SQL is generated at export time. Looker does not store SQL with a Look or tile. It compiles it when the query runs, from the LookML then in production, the connection's dialect and the user's attributes. A delivery that includes SQL should state the commit and the user it was generated for.

Why is LookML useful for training models?

Because it states business logic explicitly and in one place. Each measure has a type and SQL, each explore declares its joins and their relationships, and labels and descriptions say what fields mean in business terms. With Git history, a model also sees how definitions were corrected over time.

Is SourceX affiliated with Google?

Looker is named to identify the system the records come from. That does not imply a partnership with or endorsement by Google. The records belong to the business that runs Looker, 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.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell 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.

See if your company qualifies