Uses: Python SDK · CLI
EnginiRateLimitError, and you have a production sync.
The same thing from the CLI:
python/examples/salesforce_export.py (uv run salesforce_export.py).Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The SDK as a plain typed API client - the shape of a cron job or data sync.
from engini import Engini
client = Engini() # reads ENGINI_API_KEY
conn_id = next(c.connection_id for c in client.connections.list(application="salesforce"))
result = client.tools.execute(
"salesforce_getrecords", {"sobject": "Account"}, connection_id=conn_id
)
accounts = result.output or []
print(f"{len(accounts)} accounts (history {result.history_id}):")
for account in accounts[:10]:
print(f" - {account.get('Name')} [{account.get('Id')}]")
EnginiRateLimitError, and you have a production sync.
The same thing from the CLI:
engini tools call salesforce_getrecords --args '{"sobject":"Account"}' --connection 3 \
| jq '.output | length'
python/examples/salesforce_export.py (uv run salesforce_export.py).