GET
/
v0
/
data-asset
/
{id}
cURL
curl --request GET \
  --url 'https://api-(organization).gable.ai/v0/data-asset/{id}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataAssetResourceName": "<string>",
  "domain": "<string>",
  "path": "<string>",
  "type": "postgres",
  "contractId": "<string>",
  "versionDetail": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "dataAssetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "description": "<string>",
    "rawSchema": "<string>",
    "fields": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "dataAssetVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "description": "<string>",
        "order": 123,
        "nativeDataType": "<string>",
        "type": {},
        "displayType": "<string>",
        "parentFieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "deletedAt": "2023-11-07T05:31:56Z",
        "piiCategory": "phone",
        "profile": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "sampledRecordsCount": 123,
          "nullable": true,
          "nullCount": 123,
          "sampledFiles": [
            "<string>"
          ],
          "sampledDate": "2023-11-07T05:31:56Z",
          "samplingParameters": {
            "rowSampleCount": 123,
            "recentFileCount": 123
          },
          "profileType": "boolean",
          "trueCount": 123,
          "falseCount": 123
        }
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "violations": [
      {
        "contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "contractVersion": "<string>",
        "contractFieldName": "<string>",
        "contractName": "<string>",
        "contractDomain": "<string>",
        "dataAssetFieldProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "entityType": "DATA_CONTRACT",
        "eventType": "VIOLATION",
        "violationType": "MISSING_REQUIRED_PROPERTY",
        "dataAssetResourceName": "<string>",
        "expectedValue": "<string>",
        "actualValue": "<string>",
        "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "prLink": "<string>"
      }
    ]
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string<uuid>
required

UUID of the data asset

Response

200
application/json

Data asset

The response is of type object.