client.layout wraps Polyester app layout collaboration RPCs: get/list, upsert/delete, share
links, publish/unpublish, version history, and template subscriptions.
Methods
| Group | Methods |
|---|---|
| Saved layouts | get_layouts, get_layout, upsert_layout, delete_layout |
| Share links | resolve_layout_share_token, create_layout_share_link, revoke_layout_share_link |
| Published templates | list_owner_published_layouts, publish_layout, unpublish_layout |
| Versions | list_layout_template_versions, get_layout_template_version |
| Subscriptions | set_layout_template_subscription, delete_layout_template_subscription, list_my_layout_template_subscriptions |
Representative reads:
layouts = await client.layout.get_layouts(limit=50)
one = await client.layout.get_layout(layout_id="...")Methods accept keyword arguments plus raw dict-shaped Protobuf data where a layout payload is
required, and return ApiData. List methods accept limit and opaque page_token values.
This is not a supported API-key flow. Layout collaboration is tied to the interactive app/session, and some deployments may not mount these routes. Use the TypeScript session client for production layout work.
Do not retry a raw layout mutation without understanding its revision/idempotency behavior. Never let a layout-route failure block trading or risk controls.
Related: Limitations.
Related Topics
Address book Saved destinations and whitelist views. API keys List, get, subscribe, and generate local API key material (no create on API-key SDKs). Auth Auth service helpers including nested profile access. Balances Read ledger balances, history, holds, and stream live balance updates. Candles Read and stream public spot OHLCV candles via market data (candles alias). Catalog Spot and Zipper catalog hydration, symbol lookups, and quantity scales used by decimal order writes. Chain helpers On-chain Funding โ Trading and Funding withdraw helpers. Chain analytics Chain analytics read APIs. Client configuration Constructor options, URLs, catalogs, wire format, and from_env behavior. Deposit Create and list per-account chain deposit addresses for funding your Polyester account. Errors Python SDK error types, MFA auth codes, realtime overflow, and retry guidance. Guard signer Guard signer approval helpers. Heatmap L2 order book heatmap reads. Internal transfers Move trading balances between Polyester accounts without touching a chain. Lifecycle Deposit/withdraw lifecycle flows and subscribe. Market overview List and subscribe to per-market stats with optional snapshot-then-stream merge. Order book Depth snapshots and a stateful live order book that reconstructs the book for you. Orders Place, modify, cancel, batch, and stream spot orders, with optional attached take-profit, stop-loss, and trailing-stop risk. Policies Realtime API-key and subaccount-policy updates. Polychart Polychart collaboration APIs (reference-only). Profile Profile identity reads and subscribe helpers. Public trades Public trade tape reads and subscribe via market data. Realtime Shared Centrifugo WebSocket client, subscription contract, handshake-before-return, and fail-closed overflow. Social verification Social verification APIs (reference-only). Subaccounts Subaccount reads, members, invites, activity. User trades List and stream your private spot fills (not the public tape). Transfers Transfer history reads. Triggers Create, manage, pause/resume, and stream standalone automations that place a child order when a market condition fires. Whiteboard Whiteboard collaboration APIs (reference-only). Withdrawals Trading withdraw intents to funding or external chain destinations (signed payload). Zipper Deposit/withdraw config and related Zipper reads.