Headers
Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'
Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.
Body
Request model for creating a new collection.
Collections process data from buckets or other collections using feature extractors.
CRITICAL: To use input_mappings in feature_extractors:
- Your source bucket MUST have a bucket_schema defined
- The input_mappings reference fields from that bucket_schema
- The system validates that mapped fields exist in the source schema
Example workflow:
- Create bucket with schema: { "properties": { "image": {"type": "image"}, "metadata": {...} } }
- Upload objects conforming to that schema
- Create collection with input_mappings: { "image": "image", "text": "metadata.title" }
- The system validates "image" and "metadata.title" exist in the bucket schema
Without a bucket_schema, input_mappings will fail with: "The source field 'X' does not exist in the source schema."
Name of the collection to create
Source configuration (bucket or collection) for this collection
Description of the collection
Input schema for the collection. If not provided, inferred from source bucket's bucket_schema or source collection's output_schema. REQUIRED for input_mappings to work - defines what fields can be mapped to feature extractors. Schema definition for bucket objects.
IMPORTANT: The bucket schema defines what fields your bucket objects will have. This schema is REQUIRED if you want to:
- Create collections that use input_mappings to process your bucket data
- Validate object structure before ingestion
- Enable type-safe data pipelines
The schema defines the custom fields that will be used in:
- Blob properties (e.g., "content", "thumbnail", "transcript")
- Object metadata structure
- Blob data structures
Example workflow:
- Create bucket WITH schema defining your data structure
- Upload objects that conform to that schema
- Create collections that map schema fields to feature extractors
Without a bucket_schema, collections cannot use input_mappings.
Feature extractors to apply. Use input_mappings in each extractor to map source schema fields to extractor inputs. Example: {'image': 'product_image', 'text': 'metadata.title'}
Whether the collection is enabled
Additional metadata for the collection
Response
Successful Response
Response model for collection endpoints.
Collection name
Unique collection identifier
Collection description
Collection schema
Input schema for the collection Schema definition for bucket objects.
IMPORTANT: The bucket schema defines what fields your bucket objects will have. This schema is REQUIRED if you want to:
- Create collections that use input_mappings to process your bucket data
- Validate object structure before ingestion
- Enable type-safe data pipelines
The schema defines the custom fields that will be used in:
- Blob properties (e.g., "content", "thumbnail", "transcript")
- Object metadata structure
- Blob data structures
Example workflow:
- Create bucket WITH schema defining your data structure
- Upload objects that conform to that schema
- Create collections that map schema fields to feature extractors
Without a bucket_schema, collections cannot use input_mappings.
Output schema after feature extraction Schema definition for bucket objects.
IMPORTANT: The bucket schema defines what fields your bucket objects will have. This schema is REQUIRED if you want to:
- Create collections that use input_mappings to process your bucket data
- Validate object structure before ingestion
- Enable type-safe data pipelines
The schema defines the custom fields that will be used in:
- Blob properties (e.g., "content", "thumbnail", "transcript")
- Object metadata structure
- Blob data structures
Example workflow:
- Create bucket WITH schema defining your data structure
- Upload objects that conform to that schema
- Create collections that map schema fields to feature extractors
Without a bucket_schema, collections cannot use input_mappings.
Feature extractors applied to this collection
Lineage chain showing the processing history
Vector indexes for this collection
Payload indexes for this collection
Whether the collection is enabled
Additional metadata for the collection
List of taxonomies applied to this collection