Count objects
Changed onExact count of custom objects of one type matching a filter, in ONE call — optionally broken down by the values of one attribute. Use this instead of listing rows and counting them yourself: a page of results is capped and tells you nothing about how many exist beyond it, so counting a page produces a number that looks right and is wrong. Pair it with a listing when you need both ("showing 10 of 19"). Objects missing the group_by attribute group under value: null. total is always the complete count, but the buckets are capped: when groups_truncated is true the buckets shown do NOT add up to total and there are more values than listed — say so rather than presenting the breakdown as the whole picture. Over MCP, a filter or group_by on an attribute the organization hid is refused with sensitive_field.
Request
- Base URLhttps://www.useboom.ai
- AuthHTTP bearer
Query parameters
The custom object type name to count.
JSONB containment filter as a plain object (NOT a JSON string), e.g. {"status":"paid"}. Omit to count every object of the type.
Attribute name to break the count down by, e.g. "status". Must exist in the type catalog.
Response
Success
Changes
- info
endpoint added
- info