List Entries
list_entriesQuery entries with filters, sorting, pagination, and free-text search. Prune response size by specifying needed fields.
Instructions
Query entries with filters, sorting, pagination. Filter keys are field display names; values are equality (simple) or operator objects (contains/startsWith/endsWith/min/max/above/below/between/after/before/empty/exists/yes/no/is/not/excludes). Use {or:[…]} for OR; multiple keys are AND-ed. Use 'me' for User-field self-match. See FilterOperators in inistate://schema/runtime for the full set.
Token control: use fields to restrict the returned data to just the columns you need. For modules with many fields this can shrink the response by an order of magnitude. System fields (id, state, audit metadata, etc.) are always returned regardless.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| fields | No | Field display names (or raw field names) to include in each entry's `data`. Strongly preferred over returning everything when the module has many or large fields — prunes both DB I/O and response tokens. Omit only when you actually need the full row. System fields are always returned. | |
| module | Yes | Module name from list_modules | |
| search | No | Free-text search across document ID, state, and text-like fields; supports * and ? wildcards | |
| sortBy | No | ||
| filters | No | ||
| pageSize | No | Default 50, max 500 | |
| currentPage | No | ||
| workspaceId | No | Workspace ID. Omit if set via env or set_workspace; required in stateless/remote mode. | |
| sortDirection | No | asc |