AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'phase' table (ID prefix 'phas_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
Phase (phase)
A grouping of tasks associated with a project. All tasks in a phase are completed before the user is asked to review.
Python SDK & PlatformContext Example
# 1. Query phase via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM phase ORDER BY created_date DESC LIMIT 25")
# 2. Create phase record (Generates 'phas_...' Base62 ID)
created = await platform.records.create("phase", [
{"name": "Example Phase"}
])| 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 | |
| owner | stringlookup | → user (string ID) | Owner | |
| description | stringtext-area | — | Description of the projects phase | |
| tasks | listlookup_list | → task (string ID) | Group of tasks associated with the project phase | |
| status | stringpicklist | — | The status of the phases completion | |
| project | stringlookup | → project (string ID) | The project the phase is assigned to |
