Keyword search
POST /data/v1/query/keyword
POST
/data/v1/query/keyword
Performs full-text keyword search with typo tolerance via MeiliSearch. Supports filtering by source, content type, sorting, and pagination.
Authorizations
Request Body required
object
query
required
The keyword search query
string
limit
integer
offset
Pagination offset
integer
sources
Filter by source names
Array<string>
content_type
Filter by content type
string
sort
Sort order
string
Responses
200
Successful response
object
query
string
results
Array<object>
object
id
Chunk identifier
string
content
Document chunk content
string
score
Similarity score (0-1)
number
metadata
object
source
string
source_id
string
title
string
url
string
content_type
string
total
integer
latency_ms
number
400
Invalid request
object
error
object
message
string
type
string
code
string
param
string
401
Invalid or missing API key
object
error
object
message
string
type
string
code
string
param
string