POST
/
api
/
v1
/
catalogs
curl --request POST \
  --url https://api.squared.ai/api/v1/catalogs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "connector_id": 6,
  "catalog": {
    "json_schema": {
      "key": "value"
    }
  }
}'
{
  "id": 123,
  "connector_id": 6,
  "workspace_id": 2,
  "catalog": {
    "json_schema": {
      "key": "value"
    }
  },
  "created_at": "2023-08-20T15:28:00Z",
  "updated_at": "2023-08-20T15:28:00Z"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
connector_id
integer
Example:

6

catalog
object

Response

200
application/json
Successful response
id
integer
Example:

123

connector_id
integer
Example:

6

workspace_id
integer
Example:

2

catalog
object
created_at
string
Example:

"2023-08-20T15:28:00Z"

updated_at
string
Example:

"2023-08-20T15:28:00Z"