Examples

Working scripts that demonstrate common Chartstone patterns. Drop them next to your code, set CHARTSTONE_PORT and CHARTSTONE_SECRET from the control panel, and run.

Python · pagination · TOON output

fetch_all_system_notes.py

Pulls every systemNote record from your account (1M+ rows on a typical NetSuite tenant), walks past Chartstone’s 500K-per-call cap with id-range pagination, and writes the combined result as a single TOON document for cheap LLM consumption.

Demonstrates: id-range cursor, maxRows for sampling, capReached handling, manual TOON encoding, defensive HTTP timeouts. Pure stdlib — no third-party packages.

 Download

More examples are on the way — TypeScript / Node, AI-agent recipes, daily-export jobs, audit-log digests. Have a pattern you’d like written up? Email tim@suitestep.com.

API reference  →   AI Agents cookbook