Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

q
string
required

Search query

Minimum string length: 1
agent_id
string

Optional agent ID to scope search

Response

Search results

total_matches
integer

How many entries MATCHED. results is capped (20), so this differs from count exactly when the page was cut. Reporting the page length as the match count is the defect issues #180/#188/#197 were each about.

Example:

137

truncated
boolean

True when total_matches exceeds the number of results returned.

query
string
results
object[]
count
integer
search_type
string
Example:

"fts"

score_type
string
Example:

"ts_rank"