Collection

Create collection

Creates a new collection in a database.

post/api/v2/tenants/{tenant}/databases/{database}/collections

Path parameters

tenantstring required

Tenant UUID

databasestring required

Database name

Request body

get_or_createboolean
metadataHashMap
namestring required

Response

Collection created successfully

databasestring required
dimensioninteger nullable
idstring uuid required
log_positioninteger required
metadataHashMap
namestring required
tenantstring required
versioninteger required

Changes

No recorded changes to this endpoint across all 3 revisions of this API.