Skip to main content
GET
/
api
/
internal
/
lineagev2
/
queries
Get Queries
curl --request GET \
  --url https://app.datafold.com/api/internal/lineagev2/queries \
  --header 'Authorization: <api-key>'
{
  "queries": [
    {
      "fingerprint": "<string>",
      "avgDurationMs": 123,
      "executionCount": 123,
      "lastExecuted": "<string>",
      "normalizedSql": "<string>",
      "popularity": 123,
      "sqlPreview": "<string>",
      "statementType": "<string>",
      "uniqueUsers": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer
default:100
statement_type
string | null

Response

Successful Response

queries
QueryInfo · object[]
required