Skip to main content
GET
/
api
/
v1
/
lineagev2
/
search
Search for datasets and columns in the lineage graph
curl --request GET \
  --url https://app.datafold.com/api/v1/lineagev2/search \
  --header 'Authorization: <api-key>'
{
  "columns": [
    {
      "id": "<string>",
      "name": "<string>",
      "tableId": "<string>",
      "tableName": "<string>",
      "isSource": true,
      "popularity": 0,
      "totalQueries30d": 123
    }
  ],
  "datasets": [
    {
      "assetType": "<string>",
      "id": "<string>",
      "name": "<string>",
      "columnCount": 123,
      "definitionSql": "<string>",
      "isSource": true,
      "popularity": 0,
      "rowCount": 123,
      "statementType": "<string>",
      "totalQueries30d": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Use the 'Authorization' header with the format 'Key '

Query Parameters

q
string
required
limit
integer
default:50

Response

Successful Response

columns
ColumnSearchResult · object[]
required
datasets
DatasetSearchResult · object[]
required