curl --request PUT \
--url https://partner.peaka.studio/api/v1/metadata/{projectId}/{catalogId}/{schemaName}/{tableName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tableDescription": "<string>",
"columns": [
{
"columnName": "<string>",
"columnDescription": "<string>",
"dataType": "<string>",
"order": 123,
"isNotNull": true,
"isSystem": true,
"isUnique": true,
"isPrimary": true,
"isCategorical": true,
"categoricalValues": [
"<string>"
],
"lineage": [
{
"tables": [
"<string>"
],
"column": "<string>",
"expression": "<string>"
}
]
}
],
"useWithAI": true
}'
{}
curl --request PUT \
--url https://partner.peaka.studio/api/v1/metadata/{projectId}/{catalogId}/{schemaName}/{tableName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tableDescription": "<string>",
"columns": [
{
"columnName": "<string>",
"columnDescription": "<string>",
"dataType": "<string>",
"order": 123,
"isNotNull": true,
"isSystem": true,
"isUnique": true,
"isPrimary": true,
"isCategorical": true,
"categoricalValues": [
"<string>"
],
"lineage": [
{
"tables": [
"<string>"
],
"column": "<string>",
"expression": "<string>"
}
]
}
],
"useWithAI": true
}'
{}
Use the Authorization header with the value 'Bearer <apiKey>' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication
OK
The response is of type object
.