curl --request POST \
--url https://api.getcargo.io/v1/storage/models/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"datasetUuid": "<string>",
"slug": "<string>",
"config": {}
}
'{
"outcome": "<string>",
"records": [
{}
],
"columns": [
"<unknown>"
]
}Preview model data
curl --request POST \
--url https://api.getcargo.io/v1/storage/models/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"datasetUuid": "<string>",
"slug": "<string>",
"config": {}
}
'{
"outcome": "<string>",
"records": [
{}
],
"columns": [
"<unknown>"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?