AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'app_page' table (ID prefix 'appa_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
App Page (app_page)
Build pages to configure your valstorm app with App Pages!
Python SDK & PlatformContext Example
# 1. Query app_page via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM app_page ORDER BY created_date DESC LIMIT 25")
# 2. Create app_page record (Generates 'appa_...' Base62 ID)
created = await platform.records.create("app_page", [
{"name": "Example App Page"}
])| 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 | stringenum | — | Type | |
| description | stringtext-area | — | Description | |
| object | stringlookup | → schemas (string ID) | Object | |
| data | list | — | Data | |
| slug | string | — | The url path to this app page | |
| tag | stringpicklist | → app_page (string ID) | The way you want to categorize your pages | |
| remove_record_page_save_button | boolean | — | Whether to remove the record page save button. | |
| base_route | string | — | Specify this if this app page should apply to a specific base route | |
| icon | stringicon | — | An icon to display to make the app page stand out | |
| seo_title | string | — | An optimized title for search engines. | Overrides the internal record name for `<title>` tags. | |
| seo_description | stringtext-area | — | A 150-160 character snippet for search results. | Used for the `<meta name="description">` tag. | |
| seo_image | objectimage | — | A URL to a high-quality preview image (1200x630). | Used for OpenGraph (`og:image`) and Twitter Cards. | |
| author_override | string | — | Name of the author to display publicly. | Overrides the default `created_by` user credit. | |
| canonical_url | string | — | A custom canonical link. | Prevents SEO penalties for duplicate content. | |
| seo_keywords | string | — | Relevant keywords for the page. | Used by some secondary crawlers and internal search. | |
| shared_with | listsharing | — | system | Shared With |
