Skip to main content
POST
Ranked search across record types: the text, and the sources — each a type, an optional filter that narrows it before ranking, and the fields searched.

Authorizations

Authorization
string
header
required

An API key issued with object_model scopes: Authorization: Bearer sk_…. The scopes: object_model:records:read, object_model:records:write, object_model:facts:read, object_model:facts:write, object_model:model:read, object_model:model:configure, object_model:actions:run, object_model:changes:read. An operation's security lists the scopes it needs; several entries mean any one of them will do. A person field (ref(user), ref_list(user)) holds a user id: look people up by email or id with GET /v1/users, outside this API, with a key that also has users:read.

Scopes

object_model:records:read

Body

application/json
cursor
string
limit
integer
sources
object[]
text
string
typos
boolean

Response

Answered.

deleted_id
string

A delete's answer: the id removed, once it is gone.

disposition
string

A create's answer: created, or existing when unique_by matched a record, which is answered unchanged.

next_cursor
string

Send it as cursor for the next page. Empty on the last page.

records
object[]

The records: a page of a listing or query, or the one record a get or write answers.

summary
object

With aggregates or group: {"aggregates": [{"field", "op", "value", "error"}], "groups": [{"value", "count", "aggregates": […]}], "groups_truncated"}. aggregates are in the order asked, over every match, not only this page. A count is 0 when nothing matches; a sum, average, min or max is null when no match has a value. groups has one entry per value of the group field, in ascending order (records with no value form a group whose value is null), at most 200, with groups_truncated set past that. Sent again on every page.

total_count

How many records the query matched in all, as a string. An unsorted listing or query sends it on its first page only; a sorted or summarizing query sends it on every page. Absent on a get or a write.

written_id
string

A create's or update's answer: the record written. Also in records, unless the write itself took the record out of your sight.