Skip to main content
POST
/
v0
/
data-asset
/
{id}
/
profile
Create profile for a data asset
curl --request POST \
  --url https://{hostname}.gable.ai/v0/data-asset/{id}/profile \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "darn": "<string>",
  "data_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "fieldsToProfilesMapping": {}
}
'
{
  "fieldsToProfilesMapping": {}
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string<uuid>
required

UUID of the data asset

Body

application/json

Data Asset Profiles

darn
string
required

the Data Asset Resource Name (DARN) of the data asset

data_asset_id
string<uuid>
required

ID for the data asset

fieldsToProfilesMapping
object
required

The mapping of data asset fields to data asset field profiles associated with the data asset

Response

Data asset profile was successfully created

fieldsToProfilesMapping
object
required

Mapping of a data asset's fields to their respective data profiles