Records
Query records
POST
Filter, sort, and page one object by its workspace field names. The reserved object names event and events use the shared event columns and return an event page. Use POST /v1/events/query for the cross-type query schema. Requires the read scope.
bearerAuthheader
AuthorizationBearer <token>A workspace API key.
object*stringObject API name.
application/json- body
search?stringKeywords within this object only, matched by Postgres full-text search over its label and searchable fields. Every word must match, as a whole word or the start of one ("Dan" finds "Dana"); accents are ignored.
Length
1 <= length <= 500filter?sort?array<>Items
items <= 3limit?integerRange
1 <= value <= 200Default
50cursor?stringinclude?array<>linked?Event types only: events directly attached to this record, as a participant, about it, or through one of the event's own relation fields (link: field).
Successful response.
application/json- response
nextCursor*string|nullrelationReferences?records*array<>curl -X POST 'https://retainer.tamloot.cc/v1/objects/company/query' \ -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "filter": { "name": "Acme" }, "limit": 10}'Example Response
{ "records": [], "nextCursor": null}