POST

https://{db}.{region}.api.lancedb.com

/
v1
/
table
/
{name}
/
query
/

Authorizations

x-api-key
string
headerrequired

Path Parameters

name
string
required

name of the table

Body

application/json
vector
number[]

The targeted vector to search for.

full_text_query
object

The full text query to search for.

vector_column
string

The column to query, it can be inferred from the schema if there is only one vector column.

prefilter
boolean
default: false

Whether to apply the filter before search.

k
integer
default: 10

The number of search results to return.

distance_type
enum<string>

distance metric to use for search

Available options:
L2,
Cosine,
Dot
bypass_vector_index
boolean
default: false

Whether to bypass vector index.

filter
string

A SQL filter expression that specifies the rows to query.

columns
string[]

The columns to return. Defaults to all columns in the table.

nprobes
integer
default: 1

The number of partitions to search. Higher values yield better search results but are slower.

refine_factor
integer | null

The refine step re-ranks refine_factor * k results based on exact vectors. Null (the default) skips this step for faster queries.

Response

200 - application/vnd.apache.arrow.stream

The response is of type file.