curl,
jq and about ten minutes.
Every call here is plain REST with JSON. The same API is also served over gRPC, which
Building an integration uses for a full program.
1. Get a token
In , add an API client with the scopes Edit Entity Types, Edit Entities and Edit Lineage. Only an Admin can grant them. Exchange the client id and secret for a token:2. Add a type
A type is a kind of thing in your tool, such as “Kafka topic”. It gives its entities an icon and tells the catalog how to show them. The quickest way is the app: open , select Add type, and choose a name, a number from 1 to 1000 and an SVG icon. Or send it from a script, with the icon as base64:3. Add an entity
An entity is one thing of that type. Itsid is yours to choose, and sending the same id
again updates the entity, so you can run the call as often as you like.
4. Connect it to a warehouse table
Lineage points at other entities by theirentity_id, the id every entity in the catalog
has. Get the id of the table the topic is filled from in one of these ways.
Copy it from the app. Open the table in the catalog. The page address is
<app host>/catalog/<entity_id>/overview, so the id is the part between /catalog/ and the
tab.
Look it up by its SQL name, as your tool reports it:
Or search the catalog by name:
Then add the edge. The upstream is the table, given by its entity_id. The downstream is
your topic, given by the id you chose in step 3:
The upstream can be any entity in the catalog, for example a dbt model, a dashboard or
another custom entity.
5. Find it in the app
Search the catalog fororders. The topic shows with its icon, and its Lineage tab shows
the ORDERS table upstream. From here it works like any other entity: you can give it an
owner, put it in a data product and alert on it.
Where to go next
Modelling your tool
Which types and traits to use, and which kind of lineage fits each step of your tool
Building an integration
A full program with schemas, SQL, checks and run status, in Go and Python
API surface
Every endpoint, the scope it needs, and the limits
REST API reference
Tokens, regions, and the generated reference for every endpoint