list_records
Fetch entries of a data model using its ID or slug, with filters, sorting, and pagination to find records by any field value.
Instructions
List the records (entries) of a data model, by the model's id or slug. Supports filtering (per key: scalar equality, $in, $gte/$lte, $regex), sort, and pagination. Each record includes its full data, so you can find a record by a field value (e.g. sku) without extra lookups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort expression, e.g. 'createdAt' or '-updatedAt' | |
| limit | No | ||
| filter | No | Filter on record data fields (or "status"). Supported per key: scalar equality {sku: "ABC-1"}, {"$in": [...]}, {"$gte"/"$lte": ...} ranges, {"$regex": "term", "$options": "i"}. Anything else is rejected. | |
| locale | No | Language for translatable fields, e.g. 'pl'. Their values come back as plain strings in that language, and a filter on one matches that language. Defaults to the workspace's default language. | |
| offset | No | ||
| populate | No | Relation field keys to populate | |
| modelIdOrSlug | No | The model's id or slug (from list_models) |