POST
/
data
/
projects
/
{projectId}
/
catalogs
curl --request POST \
  --url https://partner.peaka.studio/api/v1/data/projects/{projectId}/catalogs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "exampleAirtableCatalog",
  "catalogType": "airtable",
  "connectionId": "8db17e23-29de-4dab-8886-af9717e0e742"
}'
{
  "id": "626654862255325504",
  "name": "exampleairtablecatalog",
  "displayName": "exampleAirtableCatalog",
  "catalogType": "airtable",
  "connectionId": "8db17e23-29de-4dab-8886-af9717e0e742"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

ID of the project

Body

application/json
Catalog Request

The body is of type object.

Response

200
application/json
Catalog created successfully

This class represents a Catalog. It contains the id, name, display name, type, and connection ID of the catalog.