Actions14
Collection → Create
AI-generatedSummary
Creates a new collection in the IONOS Cloud AI Model Hub.
Inputs
- apiType — The type of API to use for AI Model Hub (Native API or OpenAI Compatible). Defaults to Native API.
- region — The region for AI Model Hub API. Only option: Berlin (de-txl).
- collectionName (required) — The name of the collection (3‑256 characters).
- additionalFields — Additional configuration for the collection (optional).
Output shape
object
Returns the raw API response of the created collection, typically containing the collection details.
Examples
Example 1: Create a basic collection with default embedding model and ChromaDB.
Set apiType to Native API (default), region to de-txl, provide a collectionName, leave additionalFields empty.
Example 2: Create a collection with custom description, embedding model, PGVector engine, and chunking enabled.
Provide collectionName, then in additionalFields set description, embeddingModel, dbType to PGVector, enableChunking true, and optionally adjust chunkSize and chunkOverlap.