AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'report' table (ID prefix 'rep_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
Report (report)
Reports allow for filtering and charting data in ways that are useful to you.
Python SDK & PlatformContext Example
# 1. Query report via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM report ORDER BY created_date DESC LIMIT 25")
# 2. Create report record (Generates 'rep_...' Base62 ID)
created = await platform.records.create("report", [
{"name": "Example Report"}
])| Field API Name | Type / Format | Lookup Target | Flags | Description |
|---|---|---|---|---|
| id | string | — | system | Id |
| name | string | — | Name | |
| created_date | stringdate-time | — | system | Created Date |
| modified_date | stringdate-time | — | system | Modified Date |
| created_by | stringlookup | → user (string ID) | system | Created By |
| modified_by | stringlookup | → user (string ID) | system | Modified By |
| standard | boolean | — | Standard | |
| chart_settings | jsonjson | — | Chart Settings | |
| object | stringlookup | → schemas (string ID) | Object | |
| query | jsonjson | — | Query | |
| owner | stringlookup | → user (string ID) | system | Owner |
| shared_with | listsharing | — | system | Shared With |
