← All Foundational Objects/Prefix: lifi_22 Fields
AI-Agent-First Documentation
/SKILL.md
Prompt your Agent: "Query and mutate records on the 'list_filter' table (ID prefix 'lifi_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."

List Filter (list_filter)

Used to control list views and filter their data

Python SDK & PlatformContext Example
# 1. Query list_filter via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM list_filter ORDER BY created_date DESC LIMIT 25")

# 2. Create list_filter record (Generates 'lifi_...' Base62 ID)
created = await platform.records.create("list_filter", [
    {"name": "Example List Filter"}
])
Field API NameType / FormatLookup TargetFlagsDescription
idstring—requiredId
namestring—requiredName
created_datestringdate-time—Created Date
modified_datestringdate-time—Modified Date
created_bystringlookup→ user (string ID)requiredsystemCreated By
modified_bystringlookup→ user (string ID)requiredsystemModified By
querystringtext-area—The SQL query that controls this list view
objectstringlookup→ schemas (string ID)Object
settingsjsonjson—Settings
table_columnslist—The metadata of the columns for a table view
kanban_columnjsonjson—The metadata of a kanban views column
kanban_swim_lanejsonjson—The metadata of the kanban swimlane, if any
kanban_card_fieldslist—The metadata of the fields on each kanban card
list_fieldslist—The fields that will be present in a list view
default_viewstringenum—The default view for this list filter
query_modestringenum—It dictates exactly how the frontend should render and how the backend should behave.
ui_configurationjsonjson—This will hold the entire state of the visual builder. Keeping this as a single JSON object prevents you from polluting your database schema with dozens of individual columns (like limit, offset, selected_fields) that become completely useless if the user switches to custom_sql
shared_withlistsharing—systemShared With
start_date_timejsonjson→ unnamed (string ID)Start time for a record in the calendar view
end_date_timejsonjson→ unnamed (string ID)End time for a record in the calendar view
calendar_viewstringenum—The view type of the calendar
calendar_card_fieldslist→ unnamed (string ID)Selection of fields to show on a calendar record card