records
Last edit: Oct 13, 2026
Returns records stored in tables of the instance. Soft deleted records are included only when filtering by deleted_at.
records(
filter: RecordsFilterInput
options: QueryOptionsInput
page: Int = 1
per_page: Int!
sort: [RecordsSortInput!]
): RecordCollection!
Arguments
filter (RecordsFilterInput)
Conditions the returned results must match. All conditions are combined with AND
options (QueryOptionsInput)
Per-query execution options, such as reading from the read replica or a custom database timeout
page (Int)
Page number to return, starting at 1. Requesting a page beyond the last one returns an empty results list
per_page (Int)
Number of results per page, must be greater than 0
sort (RecordsSortInput)
Sort order of the results. When several entries are given, they are applied
in the given order. Results are additionally sorted by id ascending unless
id (or random) is part of the sort
Type
RecordCollection
Page of records with pagination details