Vectorstore
Create a collection
Vectorstore
Create a collection
POST
/
api
/
v1
/
collection
/
create
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
object
collection
string
collection
string
Name for this new collection
curl --request POST \
--url https://app.twilix.io/api/v1/collection/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"collection": "<string>"
}'
{
"count": 21
}
collection
string
Name for this new collection
Content-Type
default: "application/json"required
Requires JSON Content Type
curl --request POST \
--url https://app.twilix.io/api/v1/collection/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"collection": "<string>"
}'
{
"count": 21
}