Sample documents from Qdrant and automatically discover new fields to add to the collection’s output_schema.
This endpoint:
The sync operation is additive only - it never removes or changes existing field types.
Use this endpoint to:
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'
Collection ID to sync schema for
Request to sync a collection's schema by sampling documents.
Used by:
Number of documents to sample for schema discovery
1 <= x <= 10000Force schema sync even if within debounce window. Default: false (respects 5-minute debounce)
Automatically update downstream collections that use this collection as source. Default: true
Successful Response
Response from schema sync operation.
Whether schema sync succeeded
Collection that was synced
New schema version
Previous schema version
Total fields in output_schema
Number of documents sampled
List of new fields discovered
Downstream collections that were updated
Additional message or error