Perform a vector similarity search over the specified vector table.

post

/vecdb/vector-tables/{vector_table_name}/query

Perform a vector similarity search using text, a vector or an ID returning the most similar records as well as their distance.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : advancedOptions
Type: object
Additional query parameters.
Nested Schema : VectorDebugFlags
Type: object
Debug flags to be used to trace vector modules
Show Source
Nested Schema : filters
Type: object
Filters to be applied over the vector table metadata.
Nested Schema : queryBy
Type: object
Query by text, vector or id.
Security
Back to Top

Response

Supported Media Types

200 Response

List of vectors.
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : results
Type: array
Show Source
Nested Schema : VecDBSearchItem
Type: object
Show Source
Nested Schema : metadata
Type: object
Nested Schema : vector
Type: array
Show Source

400 Response

The request body included invalid parameters.
Body ()
Root Schema : ORDSErrorResponse
Type: object
Show Source

404 Response

The specified vector table does not exists.
Body ()
Root Schema : ORDSErrorResponse
Type: object
Show Source
Back to Top