API Reference

Exploration

Exploration turns a discovered asset into an exploratory data-analysis (EDA) profile. A run reads the live source through the asset's connection and computes summary metrics — missing values, duplicates, outlier columns, class imbalance — plus a per-column profile.

Runs and profiles are private to you and are keyed by assetId, the id of an asset produced by Discover assets on a connection. The summary and column endpoints return the latest run per asset.

Retrieve the overview

GET /data-api/v1/overview

Returns counts of your connections, assets, and derived artefacts.

Returns the headline counts the Data workspace opens on: how many connections, discovered assets, feature lists, vector indexes, fine-tuning datasets, and semantic queries you own.

Authentication
Bearer token How it works

Parameters

No parameters.

Returns

Returns an object of counts scoped to you in data.

Request
curl "$VDF_BASE_URL/data-api/v1/overview" \
  -H "Authorization: Bearer $VDF_ACCESS_TOKEN"
Response 200
{
  "success": true,
  "data": {
    "connections": 3,
    "assets": 12,
    "featureLists": 4,
    "vectorIndexes": 2,
    "fineTuneDatasets": 1,
    "semanticQueries": 27
  }
}

Run an analysis

POST /data-api/v1/eda/runs

Profiles an asset and returns its summary metrics.

Reads the asset through its connection and computes an exploratory profile: the average share of missing values, the share of duplicate rows, a count of columns showing outlier-like spread, and an estimated class-imbalance percentage. The run and a per-column profile are stored; the summary is returned. Read the columns with List column profiles.

Authentication
Bearer token How it works

Body parameters application/json

  • assetId string Required

    Identifier of the discovered asset to profile.

Returns

Returns the summary metrics for the run in data.

Errors

  • 400 assetId is missing.
  • 404 No asset with this id belongs to you, or its connection no longer exists.
  • 502 The source could not be reached while computing statistics.
Request
curl -X POST "$VDF_BASE_URL/data-api/v1/eda/runs" \
  -H "Authorization: Bearer $VDF_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "assetId": "7a2d9e10-4c3b-4a1e-9f8d-2b6c1e0f5a3d"
  }'
Response 200
{
  "success": true,
  "data": {
    "datasetId": "7a2d9e10-4c3b-4a1e-9f8d-2b6c1e0f5a3d",
    "missingValuesPct": 2.14,
    "duplicatesPct": 0.35,
    "outlierColumns": 3,
    "classImbalancePct": 61.2
  }
}

List analysis summaries

GET /data-api/v1/eda/summaries

Returns the latest analysis summary for each of your assets.

Returns the most recent analysis summary per asset, so an asset profiled several times appears once with its latest metrics.

Authentication
Bearer token How it works

Parameters

No parameters.

Returns

Returns a list of summary objects in data.

Request
curl "$VDF_BASE_URL/data-api/v1/eda/summaries" \
  -H "Authorization: Bearer $VDF_ACCESS_TOKEN"
Response 200
{
  "success": true,
  "data": [
    {
      "datasetId": "7a2d9e10-4c3b-4a1e-9f8d-2b6c1e0f5a3d",
      "missingValuesPct": 2.14,
      "duplicatesPct": 0.35,
      "outlierColumns": 3,
      "classImbalancePct": 61.2
    }
  ]
}

List column profiles

GET /data-api/v1/eda/columns

Returns per-column profiles from your latest analysis runs.

Returns the per-column profiles from the latest analysis run of each asset: the inferred column type, the percentage of missing and unique values, and a drift signal of low, medium, or high.

Authentication
Bearer token How it works

Parameters

No parameters.

Returns

Returns a list of column-profile objects in data.

Request
curl "$VDF_BASE_URL/data-api/v1/eda/columns" \
  -H "Authorization: Bearer $VDF_ACCESS_TOKEN"
Response 200
{
  "success": true,
  "data": [
    {
      "id": "c1a2b3d4-e5f6-4708-9a0b-1c2d3e4f5a6b",
      "datasetId": "7a2d9e10-4c3b-4a1e-9f8d-2b6c1e0f5a3d",
      "name": "signup_date",
      "type": "datetime",
      "missingPct": 0,
      "uniquePct": 92.4,
      "driftSignal": "low"
    }
  ]
}