Models

SearchRecordsRequest

object
querystring

Search query. Blank or omitted values default to *.

Example
*
limitinteger<int32>

Maximum results. Defaults to 10 and is clamped to 1-200.

Example
10
offsetinteger<int32>

Zero-based offset. Defaults to 0 and negative values clamp to 0.

Example
0

Additional filter groups ANDed with the immutable server-owned type scope.

Show child attributes
opstringandornotrequired

How the clauses combine: and, or, or not (NOT of the AND of its clauses). Groups are ANDed together. An unknown op drops the whole group.

Example
and

One or more clauses. A group whose clauses are all dropped is ignored.

Show child attributes
fieldstringrequired

Attribute name as returned in the record's attributes (custom fields by slug). No meta. prefix. Clauses on type are ignored.

Example
status
opstringeqnot_eqgtgteltltebetweenexistsnot_existscontainscontains_exactrequired

Clause operator. Unknown operators are ignored (the clause is dropped), not rejected.

Example
eq
valueany

String, integer, or a two-element [low, high] array for between. Omit for exists / not_exists. Timestamps are full RFC 3339 values.

Example
normal

At most one entry; more than one is rejected. Empty or omitted defaults to created_at desc, or nearest first with near.

Show child attributes
fieldstringrequired

Attribute name to sort on.

Example
created_at
directionstringascdescrequired
Example
desc
objectsboolean

Include hydrated object summaries in top-level data.objects when true. Defaults to false. File summaries (file:<sqid>) carry a url: a download URL that works without authentication until it expires, between 12 and 13 hours after the response. Request the record again for a fresh one.

Example
false
Show child attributes
placestring

A city name, resolved from this workspace's own located addresses (the average of their coordinates). 422 PLACE_NOT_FOUND when none is located there; pass lat and lng instead. 503 PLACE_LOOKUP_FAILED when the lookup itself fails (retry, or pass lat and lng).

Example
Amsterdam
latnumber<float>

Latitude, with lng, in place of place.

Example
52.37
lngnumber<float>

Longitude, with lat.

Example
4.9
radius_kmnumber<float>required

1 to 500 kilometres.

Example
40
document_querystring

People, companies and jobs: a keyword that must appear in the record's document text (a person's parsed CV; the primary document of other records). At most 200 matching records are considered; data.document_matches_truncated says when there were more. Document text needs files:read, and through the MCP server the workspace's document text setting (403 DOCUMENT_TEXT_DISABLED).

Example
AutoCAD