Models

CountRecordsRequest

object
querystring

Search query, default *. The same as on the search route.

The same filters as on the search route.

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
group_bystring

One attribute marked groupable in the attributes route.

Example
assigned_to
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

The same as on the search route. Not with group_by (422 DOCUMENT_QUERY_WITH_GROUP_BY).

Example
AutoCAD