AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'notification' table (ID prefix 'noti_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
Notification (notification)
Foundational Open Valstorm Notification table.
Python SDK & PlatformContext Example
# 1. Query notification via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM notification ORDER BY created_date DESC LIMIT 25")
# 2. Create notification record (Generates 'noti_...' Base62 ID)
created = await platform.records.create("notification", [
{"name": "Example Notification"}
])| Field API Name | Type / Format | Lookup Target | Flags | Description |
|---|---|---|---|---|
| id | string | — | required | Id |
| name | string | — | required | Name |
| created_date | stringdate-time | — | Created Date | |
| modified_date | stringdate-time | — | Modified Date | |
| created_by | stringlookup | → user (string ID) | requiredsystem | Created By |
| modified_by | stringlookup | → user (string ID) | requiredsystem | Modified By |
| type | string | — | required | Type |
| data | jsonjson | — | required | Data |
| channel | string | — | required | Channel |
| read | boolean | — | required | Read |
| user | stringlookup | → user (string ID) | User | |
| object | stringlookup | → schemas (string ID) | Object | |
| record_id | string | — | Record Id | |
| notification_setting | stringlookup | → notification_setting (string ID) | Notification Setting | |
| shared_with | listsharing | — | system | Shared With |
