latestOpenAPI 3.1.02026-08-215721,1322.8 MB

1c7f31821424

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[]