cURL
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 ' 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
ID of the project
ID of the catalog
Schema of the base table
Name of the base table
Schema of the target table
Name of the target table
List of parametric columns
Show child attributes
Column name
Column value
Parametric table created successfully