Skip to main content

add_collection

Add a new collection

Request Body
string
Responses
200

Collection(s)

Schema OPTIONAL
object[]
CollectionID string OPTIONAL
CollectionSet OPTIONAL
EncryptedIndexes object[] OPTIONAL
FieldName string OPTIONAL
Type string OPTIONAL
Fields object[] OPTIONAL
DefaultValue OPTIONAL
FieldID string OPTIONAL
IsPrimary boolean OPTIONAL
Kind OPTIONAL
Name string OPTIONAL
RelationName OPTIONAL
Size integer OPTIONAL
Typ integer OPTIONAL

Possible values: value ≤ 255

Indexes object[] OPTIONAL
Fields object[] OPTIONAL
Descending boolean OPTIONAL
Name string OPTIONAL
ID integer OPTIONAL

Possible values: value ≤ 4294967295

Name string OPTIONAL
Unique boolean OPTIONAL
IsActive boolean OPTIONAL
IsBranchable boolean OPTIONAL
IsEmbeddedOnly boolean OPTIONAL
IsMaterialized boolean OPTIONAL
IsPlaceholder boolean OPTIONAL
Name string OPTIONAL
Policy OPTIONAL
PreviousVersion OPTIONAL
Query OPTIONAL
VectorEmbeddings object[] OPTIONAL
FieldName string OPTIONAL
Fields string[] OPTIONAL
Model string OPTIONAL
Provider string OPTIONAL
Template string OPTIONAL
URL string OPTIONAL
VersionID string OPTIONAL
400

error

Schema OPTIONAL
error OPTIONAL
default