AI/ML Sources
Vector Search Sources
Create Catalog
POST
/
api
/
v1
/
catalogs
Copy
Ask AI
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"
}
}
}'
Copy
Ask AI
{
"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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Was this page helpful?
Copy
Ask AI
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"
}
}
}'
Copy
Ask AI
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.