Overview
Prerequisites:
- This feature is available with the Paradime Enterprise pack.
- Your API keys must have the Custom Integrations Admin capability.
The examples below authenticate with an account API key — pass
Authorization: Bearer <token> and X-Paradime-Workspace: <workspace_uid> (the account key starts with prdm_cmp_). Legacy workspace API keys are still supported: send X-API-KEY and X-API-SECRET headers instead. See API Keys.- Create custom integrations tailored to your specific needs
- Ingest and manage nodes from various data sources and applications
- Upload node information for Paradime to incorporate into its lineage and catalog
- Enhance data visibility by connecting Paradime with your entire data ecosystem
Registering a New Integration
TheintegrationUid in the response will be used in later APIs. This enpoint needs to be called only once when registering a new type of integration.
Defining color for a node:
The color can be one defined from one of the provided color pallets:
- VIOLET
#827be6 - ORANGE
#fb982e - MANDY
#ef6292 - TEAL
#33a9a9 - GREEN
#27ae60
icon_namecan be chosen from Blueprint.js icons library
Example request
- GraphQL
- cURL
Example response
Example response
integrationUid from above will be used in later APIs. The above api needs to be called only once when registering a new type of integration.Adding nodes to an integration
addCustomIntegrationNodes uploads the nodes of a custom integration, with their lineage. Nodes come in three shapes, each with its own list: dashboardLikeNodes, chartLikeNodes, and datasourceLikeNodes. Each node has a stableId, which other nodes and other integrations use to refer to it.
Every push is part of a snapshot. To send more nodes than fit in one call, set snapshotHasMoreNodes: true, pass the snapshotId from the response to the next call, and set snapshotHasMoreNodes: false on the last call.
Each node carries two kinds of lineage:
- Node-level lineage, in
lineage.upstreamReferencesandlineage.downstreamReferences: the warehouse tables (referencesToSqlTables), native integration nodes (referencesToNativeIntegrations), and custom integration nodes (referencesToCustomIntegrations) the node reads from or feeds. - Field-level lineage, in
upstreamFieldsanddownstreamFieldson each field of a chart-like or datasource-like node. See Field-level lineage.
Example request
This example pushes one chart-like node, a report with two fields.revenue sums a column of a dbt™ model’s table, and region is a column of the same table, unchanged.
- GraphQL
Example response
Example response
Field-level lineage
Declare field-level lineage to make your custom integration part of column-level lineage in the catalog. Each field of a chart-like or datasource-like node takes two optional lists ofFieldLineageReference:
upstreamFields: the columns that feed this field.downstreamFields: the columns this field feeds.
Each reference can also set:
transformation: how the value changes on the way.DIRECT(the default) passes it through unchanged,AGGREGATIONaggregates it,EXPRESSIONcomputes a new value from it, andFILTERmeans the column filters the rows of the node, not one of its values. These show as Pass-through, Aggregated, Transformed, and Filtered edges on the canvas.expression: the formula that produces the value, such asSUM(amount). It shows in the edge details, labeled Custom expression.
One field can declare up to 200 references,
upstreamFields and downstreamFields together. One addCustomIntegrationNodes call can declare up to 10,000 references across all its fields. To push more, split the nodes across several calls of the same snapshot.nativeIntegrationField without a nodeId, or a field of your own integration that isn’t in the snapshot. The node’s column lineage is then incomplete, and a trace through it continues at the node level. See When column lineage is incomplete.
List Custom Integrations
Retrieves a list of all custom integrations. This includes both active and inactive integrations.Example request
- GraphQL
- cURL
Example response
Example response