Skip to main content
POST
/
api
/
internal
/
lineagev2
/
cypher
Run Cypher
curl --request POST \
  --url https://app.datafold.com/api/internal/lineagev2/cypher \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>"
}
'
{
  "columns": [
    "<string>"
  ],
  "edges": [
    {
      "id": "<string>",
      "properties": {},
      "source": "<string>",
      "target": "<string>",
      "type": "<string>"
    }
  ],
  "nodes": [
    {
      "id": "<string>",
      "labels": [
        "<string>"
      ],
      "properties": {}
    }
  ],
  "results": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
query
string
required

Response

Successful Response

columns
string[]
required
edges
CypherEdge · object[]
required
nodes
CypherNode · object[]
required
results
Results · object[]
required