Skip to content

Dataset

Backstage software catalog datasets for AI training

A Backstage dataset is a company's software catalog as its Backstage developer portal holds it: Component, API, Resource, System, Domain and Group entities, each with an owner, a lifecycle and typed relations such as ownedBy, dependsOn and providesApi, together with TechDocs documentation and scaffolder Templates. SourceX sources it to a buyer's spec from established businesses that run Backstage, with the Git history of the catalog-info.yaml files where the holder can supply it. Each dataset is de-identified, with employee names removed or replaced, and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Catalog entities with owners and typed relations, the descriptor files they were built from, TechDocs sources and scaffolder Templates
Typical systems
Backstage, self-built or a Backstage-based distribution such as Red Hat Developer Hub, with the catalog, TechDocs and scaffolder plugins
Typical history
Current state from the catalog; change history only as far back as the Git history of the catalog-info.yaml and docs files
Modality
Structured entity records, a relation graph, Markdown documentation and YAML templates
Delivery formats
JSONL of entities from the catalog API, an edge list of relations, YAML descriptors with commit history, Markdown for TechDocs
Preparation
User entities removed or tokenized; Group membership tokenized; annotations, links and docs screened for keys, hostnames and names
Licensing
Scoped per catalog, entity kind and documentation set; third-party docs and API definitions checked for who owns them
Availability
Sourced to your spec from businesses that run Backstage; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

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

FieldTypeWhat it holds
entity_refstringThe entity reference in Backstage's kind:namespace/name form, the key every Relation and owner field points to.
kindenumComponent, API, Resource, System, Domain, Group, User, Location or Template, or a custom kind the holder defined.
spec_typestringspec.type of the entity, such as service, website or library for a Component and openapi or grpc for an API.
lifecyclestringspec.lifecycle of a Component or API, usually experimental, production or deprecated.
owner_refstringspec.owner resolved to a tokenized Group or User reference, flagged when that entity is not in the catalog.
system_refstringspec.system of a Component, API or Resource, and through that System its spec.domain.
relationsarrayThe entity's Relation list as the catalog computed it: a type such as ownedBy, dependsOn, providesApi or partOf, and a targetRef.
metadataobjectmetadata.title, description, tags, labels and links from the descriptor, screened for names and internal addresses.
annotationsobjectThe entity's Annotation keys with screened values, such as backstage.io/techdocs-ref and github.com/project-slug.
originobjectWhere the entity came from, read from its backstage.io/managed-by-location Annotation: a catalog-info.yaml in a repository, or a provider.
descriptor_historyarrayGit commits to the entity's catalog-info.yaml with date, author token and change, where the holder supplies the repositories.
api_definitionstringFor an API entity, spec.definition as stored: the OpenAPI, AsyncAPI, GraphQL or protobuf text.
techdocsobjectThe entity's TechDocs site: the mkdocs.yml navigation and the Markdown source pages, not the generated HTML.
templateobjectFor a Template entity, the parameters schema and the ordered steps with action IDs such as fetch:template.
Sample recordIllustrative

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

Example record

{
  "entity_ref": "component:default/invoice-renderer",
  "kind": "Component",
  "spec_type": "service",
  "lifecycle": "production",
  "owner_ref": "group:default/team_014",
  "system_ref": "system:default/billing-platform",
  "metadata": { "title": "Invoice renderer", "description": "Renders invoice and credit note PDFs from ledger events.",
                "tags": ["java", "pdf"], "links": [{ "title": "Runbook", "url": "[INTERNAL_URL_31]" }] },
  "annotations": { "backstage.io/techdocs-ref": "dir:.", "github.com/project-slug": "[ORG]/invoice-renderer",
                   "backstage.io/kubernetes-id": "invoice-renderer", "pagerduty.com/integration-key": "[REMOVED_SECRET]" },
  "origin": { "managed_by_location": "url:[REPO_HOST]/[ORG]/invoice-renderer/blob/main/catalog-info.yaml" },
  "relations": [
    { "type": "ownedBy", "targetRef": "group:default/team_014" },
    { "type": "partOf", "targetRef": "system:default/billing-platform" },
    { "type": "providesApi", "targetRef": "api:default/invoice-render-api" },
    { "type": "consumesApi", "targetRef": "api:default/ledger-events" },
    { "type": "dependsOn", "targetRef": "resource:default/invoice-pdf-bucket" }
  ],
  "descriptor_history": [
    { "commit": "c_41ab9e", "date": "2022-03-14", "author": "user_052", "change": "file added, owner team_009" },
    { "commit": "c_7d02f3", "date": "2023-10-02", "author": "user_118", "change": "spec.owner team_009 to team_014" },
    { "commit": "c_e19c55", "date": "2024-05-21", "author": "user_118", "change": "consumesApi ledger-events added" }
  ],
  "api_definition": null,
  "techdocs": { "nav": ["index.md", "architecture.md", "runbook.md"], "source": "markdown" },
  "template": null
}

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

What AI teams use it for

Ground engineering agents in who owns what

An agent that routes an alert or a pull request needs the mapping from Component to owning Group, which the catalog states outright.

Train dependency and impact reasoning

dependsOn, providesApi and consumesApi edges support questions such as which services are affected when an API changes.

Retrieve docs with their subject attached

Each TechDocs page belongs to a named entity with an owner, a lifecycle and a System, context a wiki export does not carry.

Generate service scaffolding

Templates show how one company creates a new service: the parameters asked for and the steps that publish and register it.

Evaluate catalog upkeep

Descriptor history gives before and after pairs for owner changes, and dangling references are natural test cases for stale metadata.

Use-case guides: Coding agents, Enterprise and computer-use agents, Document AI, enterprise search and RAG

What makes this data valuable

Descriptor history supplied

The Git history of the catalog-info.yaml files, not only a snapshot from the catalog API.

High registration coverage

Most of the holder's repositories and services are in the catalog, measured against its own repository list.

References that resolve

Owners and relation targets exist as entities, with the exceptions flagged.

Relations beyond ownership

dependsOn, providesApi and consumesApi are filled in, not only owner and system.

Docs from source

TechDocs delivered as Markdown with mkdocs.yml from the repositories.

Maintained lifecycle

Deprecated and orphaned entities are marked, and owners point to teams that still exist.

Process

Backstage dataset

This page covers backstage software catalog and TechDocs.Illustrative

The catalog is a typed graph that engineers wrote by hand

Every Backstage entity has a kind, and the built-in kinds divide a company's software the same way everywhere. A Component is a piece of software, an API is an interface, a Resource is infrastructure a component needs, a System groups them and a Domain groups systems. Group and User are the organization. An engineer declares the links in the spec of a catalog-info.yaml file: spec.owner, spec.system, spec.providesApis, spec.consumesApis, spec.dependsOn. The catalog turns each into a pair of relations, ownedBy and ownerOf, partOf and hasPart, providesApi and apiProvidedBy, dependsOn and dependencyOf, and for teams childOf, parentOf, memberOf and hasMember. The result is a graph with a small set of edge types that needs no entity resolution.

The edges are declarations, not observations. Backstage does not watch network traffic or parse imports. A dependsOn edge exists because someone typed it, and a missing one means only that nobody did. The catalog also does not require a reference to resolve: a spec.owner naming a team that has since been renamed yields a relation that points at nothing, and the portal only shows a warning. Those dangling references are real evidence of how an organization drifts, and they should be flagged in a delivery, not repaired.

Annotations make the graph a join table. Keys such as github.com/project-slug and backstage.io/kubernetes-id tie an entity to its repository and its cluster workload. Their values need care, because some integrations store a key in an annotation. Group and User entities are often not written by hand at all. An org provider syncs them from GitHub, Microsoft Entra ID or LDAP, so team membership mirrors the identity system and names real employees.

The database holds today, and Git holds how it got there

Backstage's catalog database is a cache built from sources. The backend reads each registered Location, fetches the catalog-info.yaml it points to, validates and processes it, and stitches the output into the final entity that the catalog API serves. It repeats this on a loop, so an edit to the file replaces the entity and no earlier version is kept. An entity whose file disappears is removed by default, or kept with a backstage.io/orphan annotation where the holder chose that setting. An export through the catalog API, from the entities endpoint or its paged by-query form, therefore returns one moment: every entity as processed, with relations computed, and no way to ask who owned a service last year.

The history lives in the repositories. Each catalog-info.yaml sits beside the code it describes, and its commits show when a service was registered, when ownership moved between teams, when the lifecycle became deprecated and when a dependency was added. Collecting it means following the managed-by-location annotation of each entity back to its repository and reading the log of that one path, in every repository the company has. Entities an org provider generates have no descriptor file, so Groups and Users synced from an identity system exist only as the current snapshot.

The same split runs through the rest of the portal. TechDocs pages are Markdown in the service's repository, built by MkDocs into static HTML that usually sits in object storage, so the Markdown with its Git history is the thing to license. Most of what an entity page displays, such as CI status, deployments, incidents and Kubernetes pods, is fetched live from other systems by plugins and stored nowhere in Backstage. Scaffolder runs are an exception: the backend keeps a task record for each run with the parameters entered and the step log. Those records need screening before any use. To test a sample, confirm that each owner and relation target resolves, and read the descriptor's log for a handful of entities.

What to check before licensing

  • Ask whether the delivery is a catalog snapshot or also includes the Git history of each catalog-info.yaml, and which entity kinds have no history.
  • Check that employee names and team membership in Group and User entities are covered by the holder's right to license or removed, along with profile email and picture fields.
  • Measure coverage by comparing the catalog's Components with the holder's list of repositories, since registration is often voluntary.
  • Count owners and relation targets that do not resolve to an entity in the delivery, and ask whether dangling references were kept and flagged.
  • Screen annotation values, metadata.links, TechDocs pages and scaffolder task records for integration keys, tokens, internal hostnames and customer names.
  • Ask for a dictionary of custom kinds, spec.type values and annotation prefixes, and for the plugins whose data is fetched live and is therefore absent.
  • Have the buyer and the data owner each check the license terms of Backstage, and of any commercial distribution or hosted service in use, on exported data and API use.

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 Backstage catalog include change history?

Not by itself. The catalog database holds only the current processed state of each entity. History exists in Git, in the commits to each catalog-info.yaml and TechDocs file, and has to be collected repository by repository. Entities synced from an identity system have no file and no history, so they arrive as a snapshot only.

How reliable are the dependency relations?

Only as reliable as the engineers who typed them. A dependsOn or consumesApi relation exists because someone declared it, not because Backstage observed it. Ownership is usually kept current, because the portal depends on it, while dependencies are filled in unevenly. Measure how many Components declare any, and treat a missing edge as unknown.

Are employee names in the dataset?

Not unless the holder has the right to share them and the license says so. User entities carry names, emails and pictures, and Group entities list members, usually synced from the company's identity provider. Specify that User entities be replaced with tokens or dropped, and that Groups be kept as team tokens with their parent and child structure. Whether membership is included is the holder's decision, checked against its privacy terms.

What do TechDocs add over a wiki export?

Attachment to the thing documented. A TechDocs site is Markdown usually kept in the same repository as the code, reviewed in the same pull requests, and registered to one entity through the backstage.io/techdocs-ref annotation. Every page therefore has a known owner, lifecycle and System, plus a Git history that lines up with code changes.

Is the schema the same at every company?

No. Backstage is a framework that each company builds into its own portal, so the built-in kinds are shared but custom kinds, spec.type values, annotations and plugins differ. Ask for a dictionary of the holder's extensions with the sample, and do not assume two catalogs use the word service the same way.

Is SourceX affiliated with Spotify or the Cloud Native Computing Foundation?

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