AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'sandbox' table (ID prefix 'sand_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
Sandbox (sandbox)
Keeps track of all the test environments for your organization
Python SDK & PlatformContext Example
# 1. Query sandbox via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM sandbox ORDER BY created_date DESC LIMIT 25")
# 2. Create sandbox record (Generates 'sand_...' Base62 ID)
created = await platform.records.create("sandbox", [
{"name": "Example Sandbox"}
])| 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 | |
| is_active | boolean | — | required | Is Active |
| parent_organization_id | string | — | required | Parent Organization Id |
| description | stringrich-text | — | Description | |
| api_name | string | — | required | An auto-assigned name to make the sandbox unique |
