AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'app_metadata' table (ID prefix 'apme_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
App Metadata (app_metadata)
App Metadata is a way to configure apps with dynamically.
Python SDK & PlatformContext Example
# 1. Query app_metadata via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM app_metadata ORDER BY created_date DESC LIMIT 25")
# 2. Create app_metadata record (Generates 'apme_...' Base62 ID)
created = await platform.records.create("app_metadata", [
{"name": "Example App Metadata"}
])| 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) | Created By | |
| modified_by | stringlookup | → user (string ID) | Modified By | |
| app | stringlookup | → app (string ID) | The App that this metadata configures | |
| data | jsonjson | — | The unique configurations you want! Don't put PII, PHI, or any sensitive data here -_- | |
| description | stringrich-text | — | Description | |
| shared_with | listsharing | — | system | Shared With |
