OpenAPI 3.1.02026-08-205711,1272.8 MB

c768d4d28e4c

Collections

Infer import schema

Infer source fields + types from a sample of an external export and return a suggested source->target mapping for the collection-import wizard. Runs on the sample alone; no data is written.

post/v1/collections/import/infer

Request body

sample_rowsobject[]

A sample of export rows to infer from.

source_schemaobject nullable

Optional declared source schema (advisory).

sample_sizeinteger

Max rows to consider from sample_rows.

known_index_dimsobject nullable

Known target vector index dims, used to recognise base64 vectors.

Response

Successful Response

warningsstring[]