curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/catalogs/{catalogId}/parametricTables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"fromSchema": "<string>",
"fromTable": "<string>",
"toSchema": "<string>",
"toTable": "<string>",
"paramValues": [
{
"key": "<string>",
"value": {}
}
]
}'
{
"fromSchema": "public",
"fromTable": "products",
"toSchema": "analytics",
"toTable": "param_products",
"paramValues": [
{
"key": "country",
"value": "US"
},
{
"key": "year",
"value": 2024
}
]
}
curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/catalogs/{catalogId}/parametricTables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"fromSchema": "<string>",
"fromTable": "<string>",
"toSchema": "<string>",
"toTable": "<string>",
"paramValues": [
{
"key": "<string>",
"value": {}
}
]
}'
{
"fromSchema": "public",
"fromTable": "products",
"toSchema": "analytics",
"toTable": "param_products",
"paramValues": [
{
"key": "country",
"value": "US"
},
{
"key": "year",
"value": 2024
}
]
}
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
Parametric table created successfully
The response is of type object
.