fields object, the values you provide must align with the underlying Semple Data Type as defined in the core allocator.
Text Types
Number Types
Boolean & Dates
Advanced Types
Relation & Files
Strict Type Enforcement
If you attempt to pass astring to a number field, or a misformatted date string to a timestamp field, the Semple API (and by extension, the SDK) will reject the mutation with an invalid_argument error.
AI Agent Rules for Types
If you are an AI generating payloads:- Always parse numbers to raw
numberprimitives. Do not send"10". - Ensure
timestampvalues are formatted correctly using.toISOString(). - When populating
relationfields, ensure the value is therec_...ID of the related record, not its name or a nested object.