Collections
Create a Collection
Authorization
API Key x-api-key<token>
Authenticate using API Key in request header
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.bem.ai/v2/collections" \ -H "Content-Type: application/json" \ -d '{ "collectionName": "product_catalog" }'{
"collectionID": "cl_2N6gH8ZKCmvb6BnFcGqhKJ98VzP",
"collectionName": "product_catalog",
"itemCount": 0,
"createdAt": "2024-10-20T15:30:00Z",
"updatedAt": "2024-10-20T15:30:00Z"
}