Stay organized with collections
Save and categorize content based on your preferences.
A machine ID, or MID, is a globally unique identifier generated and used by a knowledge graph.
In a knowledge graph, every entity has its own MID even though the entities come from different sources.
A master entity with a new MID is created after reconciling and merging entities from multiple places.
In this way, a knowledge graph tracks the data origin for every data point.
Cloud Knowledge Graph MID
Google Cloud Knowledge Graph introduces a new format of MID, c-024dcv3mk. A single-character namespace c is followed by a hyphen and the base-32 representation of an auto-generated alphanumeric ID. This new form of MID without / provides an easier way for modern applications to integrate. In Enterprise Knowledge Graph, there are two types of MIDs:
Namespace
Example
Use
c
c-024dcv3mk
Cloud Knowledge Graph MID
r
r-02b72jsgrbws18
Candidate MID generated from Entity Reconciliation Job
e
e-02b72jsgrbws18
Reconciled master entity MID in private graph
Crossover to Google Knowledge Graph MID
The Google Knowledge Graph is a large knowledge base containing facts about people, places, books, and other kinds of entities. Some examples of Google Knowledge Graph entities include:
/m/0dl567 — Taylor Swift
/m/045c7b — Google
Cloud Knowledge Graph connects existing Google KG MIDs with the new Cloud KG MIDs. If you are already using /m or /g MIDs, you can continue to look up the entities. However, the return entity uses Cloud KG MID as a primary identifier, and Google Knowledge Graph MID is referenced in the identifier section.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eMachine IDs (MIDs) are unique identifiers for entities within a knowledge graph, allowing the tracking of data origin even when entities are merged from various sources.\u003c/p\u003e\n"],["\u003cp\u003eCloud Knowledge Graph uses a new MID format, \u003ccode\u003ec-\u003c/code\u003e, followed by a base-32 alphanumeric ID, offering a streamlined format for modern applications.\u003c/p\u003e\n"],["\u003cp\u003eIn Enterprise Knowledge Graph, MIDs can be \u003ccode\u003ec\u003c/code\u003e, for Cloud Knowledge Graph, \u003ccode\u003er\u003c/code\u003e, for candidate MIDs, or \u003ccode\u003ee\u003c/code\u003e for reconciled master entity MIDs in a private graph.\u003c/p\u003e\n"],["\u003cp\u003eCloud Knowledge Graph links existing Google Knowledge Graph MIDs (\u003ccode\u003e/m/\u003c/code\u003e or \u003ccode\u003e/g/\u003c/code\u003e) to the new Cloud KG MIDs, enabling continued lookup while using the Cloud KG MID as the primary identifier.\u003c/p\u003e\n"]]],[],null,[]]