Decube
Try for free
  • ๐Ÿš€Overview
    • Welcome to decube
    • Getting started
      • How to connect data sources
    • Security and Compliance
    • Data Policy
    • Changelog
    • Public Roadmap
  • Support
  • ๐Ÿ”ŒData Warehouses
    • Snowflake
    • Redshift
    • Google Bigquery
    • Databricks
    • Azure Synapse
  • ๐Ÿ”ŒRelational Databases
    • PostgreSQL
    • MySQL
    • SingleStore
    • Microsoft SQL Server
    • Oracle
  • ๐Ÿ”ŒTransformation Tools
    • dbt (Cloud Version)
    • dbt Core
    • Fivetran
    • Airflow
    • AWS Glue
    • Azure Data Factory
    • Apache Spark
      • Apache Spark in Azure Synapse
    • OpenLineage (BETA)
    • Additional configurations
  • ๐Ÿ”ŒBusiness Intelligence
    • Tableau
    • Looker
    • PowerBI
  • ๐Ÿ”ŒData Lake
    • AWS S3
    • Azure Data Lake Storage (ADLS)
      • Azure Function for Metadata
    • Google Cloud Storage (GCS)
  • ๐Ÿ”ŒTicketing and Collaboration
    • ServiceNow
    • Jira
  • ๐Ÿ”’Security and Connectivity
    • Enabling VPC Access
    • IP Whitelisting
    • SSH Tunneling
    • AWS Identities
  • โœ…Data Quality
    • Incidents Overview
    • Incident model feedback
    • Enable asset monitoring
    • Available Monitor Types
    • Available Monitor Modes
    • Catalog: Add/Modify Monitor
    • Set Up Freshness & Volume Monitors
    • Set Up Field Health Monitors
    • Set Up Custom SQL Monitors
    • Grouped-by Monitors
    • Modify Schema Drift Monitors
    • Modify Job Failure Monitors (Data Job)
    • Custom Scheduling For Monitors
    • Config Settings
  • ๐Ÿ“–Catalog
    • Overview of Asset Types
    • Assets Catalog
    • Asset Overview
    • Automated Lineage
      • Lineage Relationship
      • Supported Data Sources and Lineage Types
    • Add lineage relationships manually
    • Add tags and classifications to fields
    • Field Statistcs
    • Preview sample data
  • ๐Ÿ“šGlossary
    • Glossary, Category and Terms
    • Adding a new glossary
    • Adding Terms and Linked Assets
  • Moving Terms to Glossary/Category
  • AI Copilot
    • Copilot's Autocomplete
  • ๐ŸคCollaboration
    • Ask Questions
    • Rate an asset
  • ๐ŸŒData Mesh [BETA]
    • Overview on Data Mesh [BETA]
    • Creating and Managing Domains/Sub-domains
    • Adding members to Domain/Sub-domain
    • Linking Entities to Domains/Sub-domains
    • Adding Data Products to Domains/Subdomains
    • Creating a draft Data Asset
    • Adding a Data Contract - Default Settings
    • Adding a Data Contract - Freshness Test
    • Adding a Data Contract - Column Tests
    • Publishing the Data Asset
  • ๐Ÿ›๏ธGovernance
    • Governance module
    • Classification Policies
    • Auto-classify data assets
  • โ˜‘๏ธApproval Workflow
    • What are Change Requests?
    • Initiate a change request
    • What are Access Requests?
    • Initiate an Access Request
  • ๐Ÿ“‹Reports
    • Overview of Reports
    • Supported sources for Reports
    • Asset Report: Data Quality Scorecard
  • ๐Ÿ“ŠDashboard
    • Dashboard Overview
    • Incidents
    • Quality
  • โฐAlert Notifications
    • Get alerts on email
    • Connect your Slack channels
    • Connect to Microsoft Teams
    • Webhooks integration
  • ๐Ÿ›๏ธManage Access
    • User Management - Overview
    • Invite users
    • Deactivate or re-activate users
    • Revoke a user invite
  • ๐Ÿ”Group-based Access Controls
    • Groups Management - Overview
    • Create Groups & Assign Policies
    • Source-based Policies
    • Administrative-based Policies
    • Module-based Policies
    • What is the "Owners" group?
  • ๐Ÿ—„๏ธOrg Settings
    • Multi-factor authentication
    • Single Sign-On (SSO) with Microsoft
    • Single Sign-On (SSO) with JumpCloud
  • โ“Support
    • Supported Features by Integration
    • Frequently Asked Questions
    • Supported Browsers and System Requirements
  • Public API (BETA)
    • Overview
      • Data API
        • Glossary
        • Lineage
        • ACL
          • Group
      • Control API
        • Users
    • API Keys
Powered by GitBook
On this page
  1. Public API (BETA)
  2. Overview
  3. Data API

Lineage

PreviousGlossaryNextACL

Last updated 4 months ago

Delete Manual Lineage

delete

Delete a manual lineage between two objects

Query parameters
source_idintegerRequired

The ID of the source object

source_typestring ยท enumRequired

The type of the source object

Possible values:
target_idintegerRequired

The ID of the target object

target_typestring ยท enumRequired

The type of the target object

Possible values:
Responses
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
delete
DELETE /api/v1/data/catalog/lineage/manual_lineage?source_id=1&source_type=dataset&target_id=1&target_type=dataset HTTP/1.1
Host: connect.<REGION>.decube.io
Accept: */*

No content

  • GETList Manual Lineages On Object
  • POSTCreate Manual Lineage
  • DELETEDelete Manual Lineage

List Manual Lineages On Object

get

List any manual lineages attached to an object in the specified direction

Query parameters
idintegerRequired

The ID of the object to list lineages for

typestring ยท enumRequired

The type of the object to list lineages for

Possible values:
object_isstring ยท enumRequired

Whether the object is the source or target of the lineage

Possible values:
Responses
200
Successful Response
application/json
422
Validation Error
application/json
get
GET /api/v1/data/catalog/lineage/manual_lineage?id=1&type=dataset&object_is=source HTTP/1.1
Host: connect.<REGION>.decube.io
Accept: */*
[
  {
    "id": 1,
    "source": {
      "type": "text",
      "name": "text",
      "id": 1,
      "subtype": "bigquery",
      "qual_id": "text",
      "icon": "text"
    },
    "target": {
      "type": "text",
      "name": "text",
      "id": 1,
      "subtype": "bigquery",
      "qual_id": "text",
      "icon": "text"
    },
    "data_job": {
      "type": "text",
      "name": "text",
      "id": 1,
      "subtype": "bigquery",
      "qual_id": "text",
      "icon": "text"
    }
  }
]

Create Manual Lineage

post

Create a manual lineage between two objects, returns the ID of the generated lineage

Body
Responses
200
Successful Response
application/json
Responseinteger
422
Validation Error
application/json
post
POST /api/v1/data/catalog/lineage/manual_lineage HTTP/1.1
Host: connect.<REGION>.decube.io
Content-Type: application/json
Accept: */*
Content-Length: 109

{
  "source": {
    "id": 1,
    "type": "dataset"
  },
  "target": {
    "id": 1,
    "type": "dataset"
  },
  "data_job": {
    "id": 1,
    "type": "data_job"
  }
}
1