Workspace automation API
Keys and permissions
Section titled “Keys and permissions”Workspace admins create/revoke keys in Settings → Workspace API keys. The secret is shown once. Send Authorization: Bearer ibk_… to /api/automation/v1. Revoked keys stop working immediately.
Grant only needed permissions/resources. Read, create, edit, delete, refresh, publish, assignment, pairing, commands, and unpairing are separate. All permissions covers current and future content actions. User management and settings changes require explicit grants, even for all-content keys. Key management and platform administration are not exposed.
curl 'https://boards.company.com/api/automation/v1/layouts' -H 'Authorization: Bearer YOUR_WORKSPACE_KEY'Layout changes
Section titled “Layout changes”For an AI agent, see the local MCP package. For incremental construction, POST /layouts/{id}/operations accepts expectedRevision and a batch of scene/widget operations. The entire batch succeeds or fails. POST /layouts/{id}/duplicate creates a draft copy, /validate checks without saving, and GET /layouts/{id}/preview-data supplies authorized renderer data. Editing already-published content requires publish permission too.
Read the current layout and integer revision. PATCH /layouts/{layoutId}/widgets/{widgetId} with expectedRevision and changed properties:
{"expectedRevision":3,"text":{"mode":"static","value":"Welcome"}}Supported properties are text, datasetId, frame, and style. Frame/style merge; text replaces the binding. HTTP 409 means read again and reconcile. POST /layouts/{id}/publish also requires expectedRevision.
Data and screens
Section titled “Data and screens”The API supports datasets/manual records, source tests/refresh, screen assignment, commands, and unpairing under corresponding permissions. Manual row writes use { “values”: { “message”: “Updated” } }. Published changes can appear immediately. Test on a non-production screen. Keep keys out of logs/screenshots.