POST
/
data
/
projects
/
{projectId}
/
catalogs
/
{catalogId}
/
parametricTables
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
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

projectId
string
required

ID of the project

catalogId
string
required

ID of the catalog

Body

application/json

Response

200
application/json

Parametric table created successfully

The response is of type object.