AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'project' table (ID prefix 'proj_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
Project (project)
A group of tasks to be accomplished
Python SDK & PlatformContext Example
# 1. Query project via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM project ORDER BY created_date DESC LIMIT 25")
# 2. Create project record (Generates 'proj_...' Base62 ID)
created = await platform.records.create("project", [
{"name": "Example Project"}
])| Field API Name | Type / Format | Lookup Target | Flags | Description |
|---|---|---|---|---|
| id | string | — | Id | |
| name | string | — | 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 | |
| tasks | listlookup_list | → task (string ID) | List of tasks associated with this project | |
| phase | listlookup_list | → phase (string ID) | Sections within a project | |
| description | stringtext-area | — | Description of the project | |
| status | stringpicklist | — | The current state of the project | |
| start_date_time | stringdate-time | — | The date the project should be started | |
| due_date_time | stringdate-time | — | The date the project should be completed by | |
| priority | stringpicklist | — | The priority of the project | |
| stage_order | list | — | required | The order in which tasks and phases should be completed |
| current_stage | number | — | required | The index within the stage order of what stage the project is at |
| ai_chat | stringlookup | → ai_chat (string ID) | The main orchestrator chat id |
