Collections

Records

Records are the data entries within a collection. Learn how to create, read, update, delete, and query records with filters, sorting, and pagination.

Records are individual data entries within a collection — similar to rows in a database table. Each record contains values for the fields defined in the collection schema.

Creating records

To create a record, provide values for the collection's fields. Required fields must have values. Fields with defaults will use the default value if not specified.

Fields are validated on creation:

  • Type checking (text, number, date, etc.)
  • Required field enforcement
  • Validation rule evaluation (min/max, patterns, etc.)
  • Link field reference verification

Reading records

Get a single record

Retrieve a record by its ID within a collection. The response includes all field values for the record.

List records

List records in a collection with support for:

FeatureDescription
FiltersNarrow results by field values (equals, contains, greater than, etc.)
SortingOrder results by one or more fields (ascending or descending)
PaginationRetrieve results in pages with configurable page size
SearchFull-text search across text fields
Field selectionSpecify which fields to include in the response

Filtering

Filters support a range of comparison operators:

OperatorDescriptionExample
equalsExact matchstatus equals "active"
not_equalsNot equalstatus not_equals "archived"
containsText contains substringname contains "John"
greater_thanNumeric/date comparisonamount greater_than 100
less_thanNumeric/date comparisoncreated_at less_than "2025-01-01"
is_emptyField has no valueemail is_empty
is_not_emptyField has a valueemail is_not_empty

Filters can be combined with AND/OR logic for complex queries.

Linked record expansion

When a collection has link fields, listing records can automatically JOIN and return data from the linked collection. This lets you retrieve related data in a single query — for example, fetching a customer record along with their associated orders.

Updating records

Update a record by providing the fields and values to change. Only the specified fields are modified — other fields retain their current values.

Validation rules are re-evaluated on update.

Deleting records

Delete a record by its ID. Deletion removes the record and its values from the collection. Link references from other records to the deleted record may need to be handled depending on the relationship configuration.

Batch operations

For efficiency, the platform supports batch operations:

  • Batch create — insert multiple records in a single request
  • Batch update — update multiple records at once
  • Batch delete — remove multiple records in a single request

Batch operations are transactional — if any record in the batch fails validation, the entire batch is rejected.

Data isolation

Records are isolated per organization. When an app is installed, each organization gets its own data store. Queries only return records belonging to the current organization.

  • Fields and Types — the schema that defines record structure
  • Views — saved query configurations
  • Datasets — large-scale data storage for analytics and bulk data