AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'workspace' table (ID prefix 'work_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
Workspace (workspace)
Workspaces are a unique experience that best suits the department, role, or work that needs to be done. They change what you can see in the space.
Python SDK & PlatformContext Example
# 1. Query workspace via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM workspace ORDER BY created_date DESC LIMIT 25")
# 2. Create workspace record (Generates 'work_...' Base62 ID)
created = await platform.records.create("workspace", [
{"name": "Example Workspace"}
])| 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 | |
| api_name | string | — | A unique name for the workspace in snake_case | |
| pages | list | — | The web pages that are available to the workspace | |
| utilities | list | — | The utilities that are available to this workspace. These are in the right panel | |
| icon | stringicon | — | The icon to help distinguish the workspace | |
| object_record_pages | listlookup_list | → app_page (string ID) | The available record pages for each object | |
| object_new_record_pages | listlookup_list | → app_page (string ID) | The new record pages that are available for each object | |
| objects | listlookup_list | → schemas (string ID) | The objects that are available in the speed panel for this workspace | |
| web_pages | listlookup_list | → app_page (string ID) | The web pages that are available to the workspace | |
| shared_with | listsharing | — | system | Shared With |
