@volvel/docs 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +21 -3
- package/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
- package/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
- package/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
- package/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
- package/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
- package/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
- package/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
- package/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
- package/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
- package/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
- package/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
- package/{dist/assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
- package/{dist/assets/screenshots/console/app-builder-list.light.85064d6742d4.png → assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
- package/{dist/assets/screenshots/console/apps-list.dark.6580be4c6f17.png → assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
- package/{dist/assets/screenshots/console/apps-list.light.35ac9711c9a0.png → assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
- package/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
- package/{dist/assets/screenshots/console/apps-share.light.eddc9c058c37.png → assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
- package/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
- package/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
- package/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
- package/{dist/assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
- package/{dist/assets/screenshots/console/configure-alerts.light.24608f63f849.png → assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
- package/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
- package/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
- package/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
- package/{dist/assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
- package/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
- package/{dist/assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
- package/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
- package/{dist/assets/screenshots/console/extensions-list.light.f65bb930d029.png → assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
- package/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
- package/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
- package/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
- package/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
- package/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
- package/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
- package/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
- package/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
- package/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
- package/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
- package/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
- package/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
- package/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
- package/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
- package/{dist/assets/screenshots/console/releases-review.light.7f7eea72fc90.png → assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
- package/{dist/assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
- package/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
- package/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
- package/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
- package/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
- package/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
- package/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
- package/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
- package/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
- package/{dist/assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
- package/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
- package/{dist/assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
- package/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
- package/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
- package/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
- package/assets/screenshots/index.json +94 -94
- package/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
- package/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
- package/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
- package/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
- package/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
- package/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
- package/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
- package/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
- package/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
- package/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
- package/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
- package/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
- package/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
- package/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
- package/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
- package/content/administer/explanation/sso/how-single-sign-on-works.md +2 -0
- package/content/administer/how-to/access/invite-end-users.md +8 -0
- package/content/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
- package/content/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
- package/content/administer/how-to/sso/provision-people-with-scim.md +1 -1
- package/content/administer/reference/screens/branding.md +1 -1
- package/content/administer/reference/screens/end-users.md +3 -1
- package/content/administer/reference/screens/overview.md +21 -0
- package/content/administer/reference/screens/retention.md +3 -2
- package/content/administer/reference/screens/single-sign-on.md +1 -1
- package/content/console/how-to/app-builder/publish-an-app.md +0 -1
- package/content/console/how-to/data/row-rules.md +1 -0
- package/content/console/reference/screens/build/published-apps.md +1 -2
- package/content/console/reference/screens/data/tables.md +1 -1
- package/content/console/reference/screens/home/tenants.md +1 -1
- package/content/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
- package/content/develop/explanation/apps/app-access.md +29 -10
- package/content/develop/explanation/scripts/how-scripts-run.md +1 -1
- package/content/develop/how-to/apps/write-an-app.md +1 -1
- package/content/develop/how-to/cli/install-from-source.md +1 -1
- package/content/develop/how-to/cli/install-the-cli.md +1 -1
- package/content/develop/how-to/cli/test-a-script.md +1 -1
- package/content/develop/how-to/configure/set-up-from-a-script.md +1 -1
- package/content/develop/reference/access/mcp.md +11 -1
- package/content/develop/reference/apps/app-client.md +10 -8
- package/content/develop/reference/apps/content-policy.md +8 -3
- package/content/develop/reference/queries/data-as-code.md +12 -0
- package/content/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
- package/content/develop/tutorials/cli/quickstart.md +1 -1
- package/content/self-host/explanation/access/index.md +1 -0
- package/content/self-host/explanation/access/instance-service-accounts.md +66 -0
- package/content/self-host/explanation/access/who-runs-what.md +2 -0
- package/content/self-host/explanation/running/architecture.md +1 -1
- package/content/self-host/explanation/running/egress-and-offline.md +1 -1
- package/content/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
- package/content/self-host/explanation/running/security-hardening.md +9 -8
- package/content/self-host/explanation/running/sizing-and-scaling.md +29 -0
- package/content/self-host/how-to/instance/moving-a-tenant.md +12 -0
- package/content/self-host/how-to/running/back-up-an-instance.md +1 -1
- package/content/self-host/how-to/running/build-the-image.md +1 -1
- package/content/self-host/how-to/running/install-on-fly.md +27 -10
- package/content/self-host/how-to/running/install-with-compose.md +4 -4
- package/content/self-host/how-to/running/monitor-an-instance.md +2 -0
- package/content/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
- package/content/self-host/how-to/running/restore-an-instance.md +34 -5
- package/content/self-host/how-to/running/run-a-standalone-worker.md +2 -2
- package/content/self-host/how-to/running/set-up-mail.md +13 -6
- package/content/self-host/reference/console/health.md +21 -1
- package/content/self-host/reference/running/configuration.md +1 -1
- package/content/self-host/reference/running/requirements.md +9 -2
- package/content/self-host/reference/running/retention.md +2 -1
- package/content/self-host/reference/running/troubleshooting.md +6 -1
- package/content/self-host/reference/running/versions-and-support.md +9 -1
- package/content/self-host/tutorials/install-on-one-machine.md +1 -1
- package/content/start/how-to/example/set-up-the-fernhill-example.md +26 -3
- package/content/start/index.md +11 -1
- package/content/start/reference/accessibility.md +35 -0
- package/content/start/reference/index.md +1 -0
- package/content/start/tutorials/index.md +6 -1
- package/content/start/tutorials/your-first-script.md +0 -1
- package/content/start/tutorials/your-first-table.md +2 -2
- package/dist/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
- package/dist/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
- package/dist/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
- package/dist/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
- package/dist/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
- package/dist/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
- package/{assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → dist/assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
- package/{assets/screenshots/console/app-builder-list.light.85064d6742d4.png → dist/assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
- package/{assets/screenshots/console/apps-list.dark.6580be4c6f17.png → dist/assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
- package/{assets/screenshots/console/apps-list.light.35ac9711c9a0.png → dist/assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
- package/dist/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
- package/{assets/screenshots/console/apps-share.light.eddc9c058c37.png → dist/assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
- package/dist/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
- package/dist/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
- package/dist/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
- package/{assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → dist/assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
- package/{assets/screenshots/console/configure-alerts.light.24608f63f849.png → dist/assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
- package/dist/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
- package/dist/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
- package/dist/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
- package/{assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → dist/assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
- package/dist/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
- package/{assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → dist/assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
- package/dist/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
- package/{assets/screenshots/console/extensions-list.light.f65bb930d029.png → dist/assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
- package/dist/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
- package/dist/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
- package/dist/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
- package/dist/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
- package/dist/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
- package/dist/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
- package/dist/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
- package/dist/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
- package/dist/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
- package/dist/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
- package/dist/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
- package/{assets/screenshots/console/releases-review.light.7f7eea72fc90.png → dist/assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
- package/{assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → dist/assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
- package/dist/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
- package/dist/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
- package/dist/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
- package/dist/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
- package/dist/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
- package/dist/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
- package/dist/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
- package/dist/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
- package/{assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → dist/assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
- package/dist/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
- package/{assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → dist/assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
- package/dist/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
- package/dist/fields.json +1 -1
- package/dist/manifest.json +1 -1
- package/dist/md/administer/explanation/sso/how-single-sign-on-works.md +2 -0
- package/dist/md/administer/how-to/access/invite-end-users.md +8 -0
- package/dist/md/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
- package/dist/md/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
- package/dist/md/administer/how-to/sso/provision-people-with-scim.md +1 -1
- package/dist/md/administer/reference/audit-actions.md +1 -0
- package/dist/md/administer/reference/permissions.md +1 -0
- package/dist/md/administer/reference/screens/branding.md +1 -1
- package/dist/md/administer/reference/screens/end-users.md +3 -1
- package/dist/md/administer/reference/screens/overview.md +21 -0
- package/dist/md/administer/reference/screens/retention.md +3 -2
- package/dist/md/administer/reference/screens/single-sign-on.md +1 -1
- package/dist/md/console/how-to/app-builder/publish-an-app.md +0 -1
- package/dist/md/console/how-to/data/row-rules.md +1 -0
- package/dist/md/console/reference/screens/build/published-apps.md +1 -2
- package/dist/md/console/reference/screens/data/tables.md +1 -1
- package/dist/md/console/reference/screens/home/tenants.md +1 -1
- package/dist/md/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
- package/dist/md/develop/explanation/apps/app-access.md +29 -10
- package/dist/md/develop/explanation/scripts/how-scripts-run.md +1 -1
- package/dist/md/develop/how-to/apps/write-an-app.md +1 -1
- package/dist/md/develop/how-to/cli/install-from-source.md +1 -1
- package/dist/md/develop/how-to/cli/install-the-cli.md +1 -1
- package/dist/md/develop/how-to/cli/test-a-script.md +1 -1
- package/dist/md/develop/how-to/configure/set-up-from-a-script.md +1 -1
- package/dist/md/develop/reference/access/mcp.md +11 -1
- package/dist/md/develop/reference/api/agents.md +27 -1
- package/dist/md/develop/reference/api/apps.md +25 -1
- package/dist/md/develop/reference/api/end-users.md +71 -6
- package/dist/md/develop/reference/api/figures.md +160 -0
- package/dist/md/develop/reference/api/identity.md +318 -1
- package/dist/md/develop/reference/api/index.md +7 -6
- package/dist/md/develop/reference/api/instance.md +59 -1
- package/dist/md/develop/reference/api/permissions.md +13 -4
- package/dist/md/develop/reference/api/tenancy.md +13 -0
- package/dist/md/develop/reference/apps/app-client.md +10 -8
- package/dist/md/develop/reference/apps/content-policy.md +8 -3
- package/dist/md/develop/reference/errors.md +6 -0
- package/dist/md/develop/reference/kinds/dashboard.md +10 -0
- package/dist/md/develop/reference/kinds/interface.md +10 -0
- package/dist/md/develop/reference/kinds/widget.md +1 -1
- package/dist/md/develop/reference/queries/data-as-code.md +12 -0
- package/dist/md/develop/reference/sdk/sdk.md +1 -1
- package/dist/md/develop/reference/sdk/widgets-page.md +13 -0
- package/dist/md/develop/reference/sdk/widgets.md +2 -2
- package/dist/md/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
- package/dist/md/develop/reference/widgets/chart.md +1 -1
- package/dist/md/develop/reference/widgets/goal.md +1 -1
- package/dist/md/develop/reference/widgets/pivot.md +1 -1
- package/dist/md/develop/reference/widgets/stat.md +1 -1
- package/dist/md/develop/tutorials/cli/quickstart.md +1 -1
- package/dist/md/self-host/explanation/access/index.md +1 -0
- package/dist/md/self-host/explanation/access/instance-service-accounts.md +66 -0
- package/dist/md/self-host/explanation/access/who-runs-what.md +2 -0
- package/dist/md/self-host/explanation/running/architecture.md +1 -1
- package/dist/md/self-host/explanation/running/egress-and-offline.md +1 -1
- package/dist/md/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
- package/dist/md/self-host/explanation/running/security-hardening.md +9 -8
- package/dist/md/self-host/explanation/running/sizing-and-scaling.md +29 -0
- package/dist/md/self-host/how-to/instance/moving-a-tenant.md +12 -0
- package/dist/md/self-host/how-to/running/back-up-an-instance.md +1 -1
- package/dist/md/self-host/how-to/running/build-the-image.md +1 -1
- package/dist/md/self-host/how-to/running/install-on-fly.md +27 -10
- package/dist/md/self-host/how-to/running/install-with-compose.md +4 -4
- package/dist/md/self-host/how-to/running/monitor-an-instance.md +2 -0
- package/dist/md/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
- package/dist/md/self-host/how-to/running/restore-an-instance.md +34 -5
- package/dist/md/self-host/how-to/running/run-a-standalone-worker.md +2 -2
- package/dist/md/self-host/how-to/running/set-up-mail.md +13 -6
- package/dist/md/self-host/reference/console/health.md +21 -1
- package/dist/md/self-host/reference/running/configuration.md +1 -1
- package/dist/md/self-host/reference/running/requirements.md +9 -2
- package/dist/md/self-host/reference/running/retention.md +2 -1
- package/dist/md/self-host/reference/running/troubleshooting.md +6 -1
- package/dist/md/self-host/reference/running/versions-and-support.md +9 -1
- package/dist/md/self-host/reference/settings.md +2 -2
- package/dist/md/self-host/tutorials/install-on-one-machine.md +1 -1
- package/dist/md/start/how-to/example/set-up-the-fernhill-example.md +26 -3
- package/dist/md/start/index.md +11 -1
- package/dist/md/start/reference/accessibility.md +35 -0
- package/dist/md/start/reference/changelog/0-7-0.md +208 -0
- package/dist/md/start/reference/index.md +1 -0
- package/dist/md/start/tutorials/index.md +6 -1
- package/dist/md/start/tutorials/your-first-script.md +0 -1
- package/dist/md/start/tutorials/your-first-table.md +2 -2
- package/dist/pages/administer/explanation/sso/how-single-sign-on-works.json +1 -1
- package/dist/pages/administer/how-to/access/invite-end-users.json +1 -1
- package/dist/pages/administer/how-to/access/rule-rows-by-group-or-attribute.json +1 -1
- package/dist/pages/administer/how-to/apps/give-an-app-a-hostname.json +1 -1
- package/dist/pages/administer/how-to/sso/provision-people-with-scim.json +1 -1
- package/dist/pages/administer/reference/audit-actions.json +1 -1
- package/dist/pages/administer/reference/permissions.json +1 -1
- package/dist/pages/administer/reference/screens/branding.json +1 -1
- package/dist/pages/administer/reference/screens/end-users.json +1 -1
- package/dist/pages/administer/reference/screens/overview.json +1 -1
- package/dist/pages/administer/reference/screens/retention.json +1 -1
- package/dist/pages/administer/reference/screens/single-sign-on.json +1 -1
- package/dist/pages/console/how-to/app-builder/publish-an-app.json +1 -1
- package/dist/pages/console/how-to/data/row-rules.json +1 -1
- package/dist/pages/console/reference/screens/build/published-apps.json +1 -1
- package/dist/pages/console/reference/screens/data/tables.json +1 -1
- package/dist/pages/console/reference/screens/home/tenants.json +1 -1
- package/dist/pages/develop/explanation/api/how-the-api-knows-who-is-calling.json +1 -1
- package/dist/pages/develop/explanation/apps/app-access.json +1 -1
- package/dist/pages/develop/explanation/scripts/how-scripts-run.json +1 -1
- package/dist/pages/develop/how-to/apps/write-an-app.json +1 -1
- package/dist/pages/develop/how-to/cli/install-from-source.json +1 -1
- package/dist/pages/develop/how-to/cli/install-the-cli.json +1 -1
- package/dist/pages/develop/how-to/cli/test-a-script.json +1 -1
- package/dist/pages/develop/how-to/configure/set-up-from-a-script.json +1 -1
- package/dist/pages/develop/reference/access/mcp.json +1 -1
- package/dist/pages/develop/reference/api/agents.json +1 -1
- package/dist/pages/develop/reference/api/apps.json +1 -1
- package/dist/pages/develop/reference/api/end-users.json +1 -1
- package/dist/pages/develop/reference/api/figures.json +1 -0
- package/dist/pages/develop/reference/api/identity.json +1 -1
- package/dist/pages/develop/reference/api/index.json +1 -1
- package/dist/pages/develop/reference/api/instance.json +1 -1
- package/dist/pages/develop/reference/api/permissions.json +1 -1
- package/dist/pages/develop/reference/api/tenancy.json +1 -1
- package/dist/pages/develop/reference/apps/app-client.json +1 -1
- package/dist/pages/develop/reference/apps/content-policy.json +1 -1
- package/dist/pages/develop/reference/errors.json +1 -1
- package/dist/pages/develop/reference/kinds/dashboard.json +1 -1
- package/dist/pages/develop/reference/kinds/interface.json +1 -1
- package/dist/pages/develop/reference/kinds/widget.json +1 -1
- package/dist/pages/develop/reference/queries/data-as-code.json +1 -1
- package/dist/pages/develop/reference/sdk/sdk.json +1 -1
- package/dist/pages/develop/reference/sdk/widgets-page.json +1 -1
- package/dist/pages/develop/reference/sdk/widgets.json +1 -1
- package/dist/pages/develop/reference/tenant-widgets/what-a-view-is-given.json +1 -1
- package/dist/pages/develop/reference/widgets/chart.json +1 -1
- package/dist/pages/develop/reference/widgets/goal.json +1 -1
- package/dist/pages/develop/reference/widgets/pivot.json +1 -1
- package/dist/pages/develop/reference/widgets/stat.json +1 -1
- package/dist/pages/develop/tutorials/cli/quickstart.json +1 -1
- package/dist/pages/self-host/explanation/access/index.json +1 -1
- package/dist/pages/self-host/explanation/access/instance-service-accounts.json +1 -0
- package/dist/pages/self-host/explanation/access/who-runs-what.json +1 -1
- package/dist/pages/self-host/explanation/running/architecture.json +1 -1
- package/dist/pages/self-host/explanation/running/egress-and-offline.json +1 -1
- package/dist/pages/self-host/explanation/running/managed-workers-and-isolation.json +1 -1
- package/dist/pages/self-host/explanation/running/security-hardening.json +1 -1
- package/dist/pages/self-host/explanation/running/sizing-and-scaling.json +1 -1
- package/dist/pages/self-host/how-to/instance/moving-a-tenant.json +1 -1
- package/dist/pages/self-host/how-to/running/back-up-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/build-the-image.json +1 -1
- package/dist/pages/self-host/how-to/running/install-on-fly.json +1 -1
- package/dist/pages/self-host/how-to/running/install-with-compose.json +1 -1
- package/dist/pages/self-host/how-to/running/monitor-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/put-a-proxy-in-front.json +1 -1
- package/dist/pages/self-host/how-to/running/restore-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/run-a-standalone-worker.json +1 -1
- package/dist/pages/self-host/how-to/running/set-up-mail.json +1 -1
- package/dist/pages/self-host/reference/console/health.json +1 -1
- package/dist/pages/self-host/reference/running/configuration.json +1 -1
- package/dist/pages/self-host/reference/running/requirements.json +1 -1
- package/dist/pages/self-host/reference/running/retention.json +1 -1
- package/dist/pages/self-host/reference/running/troubleshooting.json +1 -1
- package/dist/pages/self-host/reference/running/versions-and-support.json +1 -1
- package/dist/pages/self-host/reference/settings.json +1 -1
- package/dist/pages/self-host/tutorials/install-on-one-machine.json +1 -1
- package/dist/pages/start/how-to/example/set-up-the-fernhill-example.json +1 -1
- package/dist/pages/start/index.json +1 -1
- package/dist/pages/start/reference/accessibility.json +1 -0
- package/dist/pages/start/reference/changelog/0-7-0.json +1 -0
- package/dist/pages/start/reference/index.json +1 -1
- package/dist/pages/start/tutorials/index.json +1 -1
- package/dist/pages/start/tutorials/your-first-script.json +1 -1
- package/dist/pages/start/tutorials/your-first-table.json +1 -1
- package/dist/redirects.json +1 -1
- package/dist/search.json +1 -1
- package/generated/administer/reference/audit-actions.md +1 -0
- package/generated/administer/reference/permissions.md +1 -0
- package/generated/develop/reference/api/agents.md +27 -1
- package/generated/develop/reference/api/apps.md +25 -1
- package/generated/develop/reference/api/end-users.md +71 -6
- package/generated/develop/reference/api/figures.md +160 -0
- package/generated/develop/reference/api/identity.md +318 -1
- package/generated/develop/reference/api/index.md +7 -6
- package/generated/develop/reference/api/instance.md +59 -1
- package/generated/develop/reference/api/permissions.md +13 -4
- package/generated/develop/reference/api/tenancy.md +13 -0
- package/generated/develop/reference/errors.md +6 -0
- package/generated/develop/reference/kinds/dashboard.md +10 -0
- package/generated/develop/reference/kinds/interface.md +10 -0
- package/generated/develop/reference/kinds/widget.md +1 -1
- package/generated/develop/reference/sdk/sdk.md +1 -1
- package/generated/develop/reference/sdk/widgets-page.md +13 -0
- package/generated/develop/reference/sdk/widgets.md +2 -2
- package/generated/develop/reference/widgets/chart.md +1 -1
- package/generated/develop/reference/widgets/goal.md +1 -1
- package/generated/develop/reference/widgets/pivot.md +1 -1
- package/generated/develop/reference/widgets/stat.md +1 -1
- package/generated/openapi.json +4899 -1734
- package/generated/self-host/reference/settings.md +2 -2
- package/generated/start/reference/changelog/0-7-0.md +208 -0
- package/package.json +11 -6
- package/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
- package/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
- package/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
- package/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
- package/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
- package/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
- package/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
- package/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
- package/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
- package/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
- package/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
- package/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
- package/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
- package/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
- package/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
- package/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
- package/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
- package/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
- package/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
- package/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
- package/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
- package/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
- package/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
- package/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
- package/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
- package/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
- package/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
- package/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
- package/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
- package/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
- package/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
- package/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
- package/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
- package/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
- package/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
- package/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
- package/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
- package/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
- package/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
- package/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
- package/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
- package/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
- package/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
- package/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
- package/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
- package/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
- package/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
- package/dist/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
- package/dist/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
- package/dist/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
- package/dist/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
- package/dist/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
- package/dist/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
- package/dist/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
- package/dist/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
- package/dist/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
- package/dist/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
- package/dist/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
- package/dist/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
- package/dist/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
- package/dist/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
- package/dist/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
- package/dist/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
- package/dist/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
- package/dist/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
- package/dist/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
- package/dist/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
- package/dist/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"develop/how-to/configure/set-up-from-a-script","title":"Set up a workspace from a script","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"set-up-a-workspace-from-a-script","children":[{"type":"text","value":"Set up a workspace from a script","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end you will have a short Node script that sets a connection, a secret and a variable in one workspace, and that you can run again for another workspace.","line":9}],"line":9},{"type":"paragraph","children":[{"type":"text","value":"The CLI has no command for this. The console does it by hand; the API does it from a script. Fernhill's own setup does the same with ","line":11},{"type":"inlineCode","value":"examples/fernhill/setup/setup.mjs","line":11},{"type":"text","value":".","line":11}],"line":11},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":13}],"line":13},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"A tenant and a workspace, and code deployed to the workspace that declares what you set. This page uses the connection ","line":15},{"type":"inlineCode","value":"stock-orders","line":15},{"type":"text","value":", the secret ","line":15},{"type":"inlineCode","value":"SUPPLIER_ACCOUNT","line":15},{"type":"text","value":" and the variable ","line":15},{"type":"inlineCode","value":"stock/reorder-quantity","line":15},{"type":"text","value":" of ","line":15},{"type":"link","href":"../../../start/how-to/configure/call-an-api","children":[{"type":"text","value":"Call an API from a script","line":15}],"line":15},{"type":"text","value":". A connection can be set up before the code that declares it is deployed.","line":15}],"line":15},{"type":"listItem","children":[{"type":"text","value":"An API key whose owner holds ","line":16},{"type":"inlineCode","value":"connection:write","line":16},{"type":"text","value":", ","line":16},{"type":"inlineCode","value":"secret:write","line":16},{"type":"text","value":" and ","line":16},{"type":"inlineCode","value":"variable:write","line":16},{"type":"text","value":" in the workspace. A Developer and a Workspace admin have all three. Make a key under ","line":16},{"type":"strong","children":[{"type":"text","value":"Account","line":16}],"line":16},{"type":"text","value":", in ","line":16},{"type":"strong","children":[{"type":"text","value":"API keys","line":16}],"line":16},{"type":"text","value":", or from a service account's page. See ","line":16},{"type":"link","href":"../../../administer/reference/configure/who-can-change-what","children":[{"type":"text","value":"Who can change what in Configure","line":16}],"line":16},{"type":"text","value":".","line":16}],"line":16},{"type":"listItem","children":[{"type":"text","value":"Node 24 or later, for ","line":17},{"type":"inlineCode","value":"fetch","line":17},{"type":"text","value":" and top-level ","line":17},{"type":"inlineCode","value":"await","line":17},{"type":"text","value":".","line":17}],"line":17},{"type":"listItem","children":[{"type":"text","value":"The instance's address, and the credential and values to set. Fernhill's stand-in is at ","line":18},{"type":"inlineCode","value":"http://127.0.0.1:4020","line":18},{"type":"text","value":".","line":18}],"line":18},{"type":"listItem","children":[{"type":"text","value":"Fernhill is set up: see ","line":19},{"type":"link","href":"../../../start/how-to/example/set-up-the-fernhill-example","children":[{"type":"text","value":"Set up the Fernhill example","line":19}],"line":19},{"type":"text","value":".","line":19}],"line":19}],"line":15},{"type":"heading","depth":2,"id":"write-the-script","children":[{"type":"text","value":"Write the script","line":21}],"line":21},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"text","value":"Save this as ","line":24},{"type":"inlineCode","value":"bind.mjs","line":24},{"type":"text","value":". It reads the instance's address and the key from the environment, finds the tenant and the workspace by their slugs, and sets the three things. Each call is a ","line":24},{"type":"inlineCode","value":"PUT","line":24},{"type":"text","value":", so running the script again replaces what it set.","line":24}],"line":24}],"line":24},{"type":"code","value":"const url = process.env.VOLVEL_URL; // for example https://volvel.example.com\nconst token = process.env.VOLVEL_TOKEN; // an API key\nconst [tenantSlug, workspaceSlug] = process.argv.slice(2);\n\nasync function call(method, path, body) {\n const response = await fetch(`${url}/api/v1${path}`, {\n method,\n headers: {\n authorization: `Bearer ${token}`,\n ...(body === undefined ? {} : { \"content-type\": \"application/json\" }),\n },\n ...(body === undefined ? {} : { body: JSON.stringify(body) }),\n });\n if (!response.ok) throw new Error(`${method} ${path}: ${response.status} ${await response.text()}`);\n return response.status === 204 ? null : response.json();\n}\n\nconst tenant = (await call(\"GET\", \"/tenants\")).items.find((one) => one.slug === tenantSlug);\nif (!tenant) throw new Error(`There is no tenant ${tenantSlug}.`);\nconst workspace = (await call(\"GET\", `/tenants/${tenant.id}/workspaces`)).items.find(\n (one) => one.slug === workspaceSlug,\n);\nif (!workspace) throw new Error(`There is no workspace ${workspaceSlug}.`);\nconst here = `/tenants/${tenant.id}/workspaces/${workspace.id}`;\n\nawait call(\"PUT\", `${here}/connection-bindings/stock-orders`, {\n config: { baseUrl: \"http://127.0.0.1:4020\", auth: { type: \"bearer\" } },\n credential: process.env.SUPPLIER_TOKEN,\n});\nawait call(\"PUT\", `${here}/secrets/SUPPLIER_ACCOUNT`, { value: process.env.SUPPLIER_ACCOUNT });\nawait call(\"PUT\", `${here}/variable-values/stock/reorder-quantity`, { value: \"12\" });\nconsole.log(`Set up stock-orders, SUPPLIER_ACCOUNT and stock/reorder-quantity in ${workspaceSlug}.`);","lang":"js","meta":"title=bind.mjs","line":26},{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"text","value":"Run it with the key and the values in the environment. Keep the key and the credential out of the file and out of your shell history where you can.","line":61}],"line":61}],"start":2,"line":61},{"type":"code","value":"VOLVEL_URL=http://localhost:8091 VOLVEL_TOKEN=<your api key> \\\nSUPPLIER_TOKEN=vs_demo_51be22 SUPPLIER_ACCOUNT=FERNHILL-CFG \\\nnode bind.mjs fernhill try-it","lang":"bash","line":63},{"type":"paragraph","children":[{"type":"text","value":"The script prints:","line":69}],"line":69},{"type":"code","value":"Set up stock-orders, SUPPLIER_ACCOUNT and stock/reorder-quantity in try-it.","lang":"text","line":71},{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"text","value":"Open ","line":75},{"type":"strong","children":[{"type":"text","value":"Configure","line":75}],"line":75},{"type":"text","value":", then ","line":75},{"type":"strong","children":[{"type":"text","value":"Connections","line":75}],"line":75},{"type":"text","value":" in that workspace. ","line":75},{"type":"inlineCode","value":"stock-orders","line":75},{"type":"text","value":" shows ","line":75},{"type":"strong","children":[{"type":"text","value":"Set up here","line":75}],"line":75},{"type":"text","value":", with the address under ","line":75},{"type":"strong","children":[{"type":"text","value":"Points to","line":75}],"line":75},{"type":"text","value":". Press ","line":75},{"type":"strong","children":[{"type":"text","value":"Test","line":75}],"line":75},{"type":"text","value":" to try it. ","line":75},{"type":"strong","children":[{"type":"text","value":"Secrets","line":75}],"line":75},{"type":"text","value":" lists ","line":75},{"type":"inlineCode","value":"SUPPLIER_ACCOUNT","line":75},{"type":"text","value":" and ","line":75},{"type":"strong","children":[{"type":"text","value":"Variables","line":75}],"line":75},{"type":"text","value":" shows ","line":75},{"type":"inlineCode","value":"12","line":75},{"type":"text","value":" under ","line":75},{"type":"strong","children":[{"type":"text","value":"Value here","line":75}],"line":75},{"type":"text","value":".","line":75}],"line":75}],"start":3,"line":75}],"line":23,"endLine":76},{"type":"heading","depth":2,"id":"what-each-call-takes","children":[{"type":"text","value":"What each call takes","line":78}],"line":78},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Call","line":80}]},{"type":"tableCell","children":[{"type":"text","value":"Body","line":80}]},{"type":"tableCell","children":[{"type":"text","value":"Needs","line":80}]}],"line":80},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PUT …/connection-bindings/<path>","line":82}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"config","line":82},{"type":"text","value":", checked against the connector's settings, and ","line":82},{"type":"inlineCode","value":"credential","line":82},{"type":"text","value":", 1 to 65,536 characters. Leave ","line":82},{"type":"inlineCode","value":"credential","line":82},{"type":"text","value":" out to keep the stored one; send ","line":82},{"type":"inlineCode","value":"null","line":82},{"type":"text","value":" to remove it. Answers 204.","line":82}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"connection:write","line":82}]}],"line":82},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PUT …/secrets/<NAME>","line":83}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"value","line":83},{"type":"text","value":", 1 to 65,536 characters. Makes the secret or replaces its value. Answers 204. ","line":83},{"type":"inlineCode","value":"POST …/secrets","line":83},{"type":"text","value":" makes one and refuses a name that is taken.","line":83}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"secret:write","line":83}]}],"line":83},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PUT …/variable-values/<path>","line":84}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"value","line":84},{"type":"text","value":", a string of up to 65,536 characters. An empty string is a value. Answers 204.","line":84}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"variable:write","line":84}]}],"line":84},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DELETE","line":85},{"type":"text","value":" on the same addresses","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"Removes what was set. For a variable, the default applies again.","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"the same","line":85}]}],"line":85}],"line":80},{"type":"paragraph","children":[{"type":"text","value":"If the connection's address moves to another origin and the call has no ","line":87},{"type":"inlineCode","value":"credential","line":87},{"type":"text","value":", the stored credential is dropped. Send it again with the address.","line":87}],"line":87},{"type":"paragraph","children":[{"type":"text","value":"For a group member the call is ","line":89},{"type":"inlineCode","value":"PUT …/connection-group-members/<key>/<group>","line":89},{"type":"text","value":" with ","line":89},{"type":"inlineCode","value":"label","line":89},{"type":"text","value":", ","line":89},{"type":"inlineCode","value":"config","line":89},{"type":"text","value":" and ","line":89},{"type":"inlineCode","value":"credential","line":89},{"type":"text","value":". It takes effect at once, without a deploy.","line":89}],"line":89},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":91}],"line":91},{"type":"paragraph","children":[{"type":"text","value":"The workspace has what its code needs, set the same way each time. Run the script for a production workspace with its own address and credential: the values are never carried from dev. A promotion to production is refused until each connection and secret it needs is set there, and the refusal lists them.","line":93}],"line":93},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":95}],"line":95},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"inlineCode","value":"401","line":97},{"type":"text","value":" \"The Authorization header must be: Bearer <api key>.\"","line":97}],"line":97},{"type":"text","value":" The key is missing or mistyped. The script's message begins ","line":97},{"type":"inlineCode","value":"GET /tenants: 401","line":97},{"type":"text","value":".","line":97}],"line":97},{"type":"listItem","children":[{"type":"strong","children":[{"type":"inlineCode","value":"403","line":98},{"type":"text","value":" \"This needs the secret:write permission.\"","line":98}],"line":98},{"type":"text","value":" (or ","line":98},{"type":"inlineCode","value":"connection:write","line":98},{"type":"text","value":" or ","line":98},{"type":"inlineCode","value":"variable:write","line":98},{"type":"text","value":"). The key's owner lacks the permission in this workspace. Ask someone who can give a role.","line":98}],"line":98},{"type":"listItem","children":[{"type":"strong","children":[{"type":"inlineCode","value":"400","line":99},{"type":"text","value":" \"The connection's configuration is not valid.\"","line":99}],"line":99},{"type":"text","value":" The ","line":99},{"type":"inlineCode","value":"config","line":99},{"type":"text","value":" does not fit the connector. The answer lists each field. The fields are in ","line":99},{"type":"link","href":"../../reference/connectors","children":[{"type":"text","value":"Connectors","line":99}],"line":99},{"type":"text","value":".","line":99}],"line":99},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"There is no tenant X.\" or \"There is no workspace X.\"","line":100}],"line":100},{"type":"text","value":" The slug is wrong, or the key's owner cannot see it.","line":100}],"line":100},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The connection shows Failed after Test.","line":101}],"line":101},{"type":"text","value":" The script set what you gave it. See ","line":101},{"type":"link","href":"../../../console/how-to/configure/set-up-a-connection","children":[{"type":"text","value":"Set up a connection","line":101}],"line":101},{"type":"text","value":".","line":101}],"line":101}],"line":97}]},"description":"Set a workspace's connections, secrets and variables through the API, so that a new or copied workspace is ready without the console."}
|
|
1
|
+
{"path":"develop/how-to/configure/set-up-from-a-script","title":"Set up a workspace from a script","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"set-up-a-workspace-from-a-script","children":[{"type":"text","value":"Set up a workspace from a script","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end you will have a short Node script that sets a connection, a secret and a variable in one workspace, and that you can run again for another workspace.","line":9}],"line":9},{"type":"paragraph","children":[{"type":"text","value":"The CLI has no command for this. The console does it by hand; the API does it from a script. Fernhill's own setup does the same with ","line":11},{"type":"inlineCode","value":"examples/fernhill/setup/setup.mjs","line":11},{"type":"text","value":".","line":11}],"line":11},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":13}],"line":13},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"A tenant and a workspace, and code deployed to the workspace that declares what you set. This page uses the connection ","line":15},{"type":"inlineCode","value":"stock-orders","line":15},{"type":"text","value":", the secret ","line":15},{"type":"inlineCode","value":"SUPPLIER_ACCOUNT","line":15},{"type":"text","value":" and the variable ","line":15},{"type":"inlineCode","value":"stock/reorder-quantity","line":15},{"type":"text","value":" of ","line":15},{"type":"link","href":"../../../start/how-to/configure/call-an-api","children":[{"type":"text","value":"Call an API from a script","line":15}],"line":15},{"type":"text","value":". A connection can be set up before the code that declares it is deployed.","line":15}],"line":15},{"type":"listItem","children":[{"type":"text","value":"An API key whose owner holds ","line":16},{"type":"inlineCode","value":"connection:write","line":16},{"type":"text","value":", ","line":16},{"type":"inlineCode","value":"secret:write","line":16},{"type":"text","value":" and ","line":16},{"type":"inlineCode","value":"variable:write","line":16},{"type":"text","value":" in the workspace. A Developer and a Workspace admin have all three. Make a key under ","line":16},{"type":"strong","children":[{"type":"text","value":"Account","line":16}],"line":16},{"type":"text","value":", in ","line":16},{"type":"strong","children":[{"type":"text","value":"API keys","line":16}],"line":16},{"type":"text","value":", or from a service account's page. See ","line":16},{"type":"link","href":"../../../administer/reference/configure/who-can-change-what","children":[{"type":"text","value":"Who can change what in Configure","line":16}],"line":16},{"type":"text","value":".","line":16}],"line":16},{"type":"listItem","children":[{"type":"text","value":"Node 26 or later, for ","line":17},{"type":"inlineCode","value":"fetch","line":17},{"type":"text","value":" and top-level ","line":17},{"type":"inlineCode","value":"await","line":17},{"type":"text","value":".","line":17}],"line":17},{"type":"listItem","children":[{"type":"text","value":"The instance's address, and the credential and values to set. Fernhill's stand-in is at ","line":18},{"type":"inlineCode","value":"http://127.0.0.1:4020","line":18},{"type":"text","value":".","line":18}],"line":18},{"type":"listItem","children":[{"type":"text","value":"Fernhill is set up: see ","line":19},{"type":"link","href":"../../../start/how-to/example/set-up-the-fernhill-example","children":[{"type":"text","value":"Set up the Fernhill example","line":19}],"line":19},{"type":"text","value":".","line":19}],"line":19}],"line":15},{"type":"heading","depth":2,"id":"write-the-script","children":[{"type":"text","value":"Write the script","line":21}],"line":21},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"text","value":"Save this as ","line":24},{"type":"inlineCode","value":"bind.mjs","line":24},{"type":"text","value":". It reads the instance's address and the key from the environment, finds the tenant and the workspace by their slugs, and sets the three things. Each call is a ","line":24},{"type":"inlineCode","value":"PUT","line":24},{"type":"text","value":", so running the script again replaces what it set.","line":24}],"line":24}],"line":24},{"type":"code","value":"const url = process.env.VOLVEL_URL; // for example https://volvel.example.com\nconst token = process.env.VOLVEL_TOKEN; // an API key\nconst [tenantSlug, workspaceSlug] = process.argv.slice(2);\n\nasync function call(method, path, body) {\n const response = await fetch(`${url}/api/v1${path}`, {\n method,\n headers: {\n authorization: `Bearer ${token}`,\n ...(body === undefined ? {} : { \"content-type\": \"application/json\" }),\n },\n ...(body === undefined ? {} : { body: JSON.stringify(body) }),\n });\n if (!response.ok) throw new Error(`${method} ${path}: ${response.status} ${await response.text()}`);\n return response.status === 204 ? null : response.json();\n}\n\nconst tenant = (await call(\"GET\", \"/tenants\")).items.find((one) => one.slug === tenantSlug);\nif (!tenant) throw new Error(`There is no tenant ${tenantSlug}.`);\nconst workspace = (await call(\"GET\", `/tenants/${tenant.id}/workspaces`)).items.find(\n (one) => one.slug === workspaceSlug,\n);\nif (!workspace) throw new Error(`There is no workspace ${workspaceSlug}.`);\nconst here = `/tenants/${tenant.id}/workspaces/${workspace.id}`;\n\nawait call(\"PUT\", `${here}/connection-bindings/stock-orders`, {\n config: { baseUrl: \"http://127.0.0.1:4020\", auth: { type: \"bearer\" } },\n credential: process.env.SUPPLIER_TOKEN,\n});\nawait call(\"PUT\", `${here}/secrets/SUPPLIER_ACCOUNT`, { value: process.env.SUPPLIER_ACCOUNT });\nawait call(\"PUT\", `${here}/variable-values/stock/reorder-quantity`, { value: \"12\" });\nconsole.log(`Set up stock-orders, SUPPLIER_ACCOUNT and stock/reorder-quantity in ${workspaceSlug}.`);","lang":"js","meta":"title=bind.mjs","line":26},{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"text","value":"Run it with the key and the values in the environment. Keep the key and the credential out of the file and out of your shell history where you can.","line":61}],"line":61}],"start":2,"line":61},{"type":"code","value":"VOLVEL_URL=http://localhost:8091 VOLVEL_TOKEN=<your api key> \\\nSUPPLIER_TOKEN=vs_demo_51be22 SUPPLIER_ACCOUNT=FERNHILL-CFG \\\nnode bind.mjs fernhill try-it","lang":"bash","line":63},{"type":"paragraph","children":[{"type":"text","value":"The script prints:","line":69}],"line":69},{"type":"code","value":"Set up stock-orders, SUPPLIER_ACCOUNT and stock/reorder-quantity in try-it.","lang":"text","line":71},{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"text","value":"Open ","line":75},{"type":"strong","children":[{"type":"text","value":"Configure","line":75}],"line":75},{"type":"text","value":", then ","line":75},{"type":"strong","children":[{"type":"text","value":"Connections","line":75}],"line":75},{"type":"text","value":" in that workspace. ","line":75},{"type":"inlineCode","value":"stock-orders","line":75},{"type":"text","value":" shows ","line":75},{"type":"strong","children":[{"type":"text","value":"Set up here","line":75}],"line":75},{"type":"text","value":", with the address under ","line":75},{"type":"strong","children":[{"type":"text","value":"Points to","line":75}],"line":75},{"type":"text","value":". Press ","line":75},{"type":"strong","children":[{"type":"text","value":"Test","line":75}],"line":75},{"type":"text","value":" to try it. ","line":75},{"type":"strong","children":[{"type":"text","value":"Secrets","line":75}],"line":75},{"type":"text","value":" lists ","line":75},{"type":"inlineCode","value":"SUPPLIER_ACCOUNT","line":75},{"type":"text","value":" and ","line":75},{"type":"strong","children":[{"type":"text","value":"Variables","line":75}],"line":75},{"type":"text","value":" shows ","line":75},{"type":"inlineCode","value":"12","line":75},{"type":"text","value":" under ","line":75},{"type":"strong","children":[{"type":"text","value":"Value here","line":75}],"line":75},{"type":"text","value":".","line":75}],"line":75}],"start":3,"line":75}],"line":23,"endLine":76},{"type":"heading","depth":2,"id":"what-each-call-takes","children":[{"type":"text","value":"What each call takes","line":78}],"line":78},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Call","line":80}]},{"type":"tableCell","children":[{"type":"text","value":"Body","line":80}]},{"type":"tableCell","children":[{"type":"text","value":"Needs","line":80}]}],"line":80},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PUT …/connection-bindings/<path>","line":82}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"config","line":82},{"type":"text","value":", checked against the connector's settings, and ","line":82},{"type":"inlineCode","value":"credential","line":82},{"type":"text","value":", 1 to 65,536 characters. Leave ","line":82},{"type":"inlineCode","value":"credential","line":82},{"type":"text","value":" out to keep the stored one; send ","line":82},{"type":"inlineCode","value":"null","line":82},{"type":"text","value":" to remove it. Answers 204.","line":82}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"connection:write","line":82}]}],"line":82},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PUT …/secrets/<NAME>","line":83}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"value","line":83},{"type":"text","value":", 1 to 65,536 characters. Makes the secret or replaces its value. Answers 204. ","line":83},{"type":"inlineCode","value":"POST …/secrets","line":83},{"type":"text","value":" makes one and refuses a name that is taken.","line":83}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"secret:write","line":83}]}],"line":83},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PUT …/variable-values/<path>","line":84}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"value","line":84},{"type":"text","value":", a string of up to 65,536 characters. An empty string is a value. Answers 204.","line":84}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"variable:write","line":84}]}],"line":84},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DELETE","line":85},{"type":"text","value":" on the same addresses","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"Removes what was set. For a variable, the default applies again.","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"the same","line":85}]}],"line":85}],"line":80},{"type":"paragraph","children":[{"type":"text","value":"If the connection's address moves to another origin and the call has no ","line":87},{"type":"inlineCode","value":"credential","line":87},{"type":"text","value":", the stored credential is dropped. Send it again with the address.","line":87}],"line":87},{"type":"paragraph","children":[{"type":"text","value":"For a group member the call is ","line":89},{"type":"inlineCode","value":"PUT …/connection-group-members/<key>/<group>","line":89},{"type":"text","value":" with ","line":89},{"type":"inlineCode","value":"label","line":89},{"type":"text","value":", ","line":89},{"type":"inlineCode","value":"config","line":89},{"type":"text","value":" and ","line":89},{"type":"inlineCode","value":"credential","line":89},{"type":"text","value":". It takes effect at once, without a deploy.","line":89}],"line":89},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":91}],"line":91},{"type":"paragraph","children":[{"type":"text","value":"The workspace has what its code needs, set the same way each time. Run the script for a production workspace with its own address and credential: the values are never carried from dev. A promotion to production is refused until each connection and secret it needs is set there, and the refusal lists them.","line":93}],"line":93},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":95}],"line":95},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"inlineCode","value":"401","line":97},{"type":"text","value":" \"The Authorization header must be: Bearer <api key>.\"","line":97}],"line":97},{"type":"text","value":" The key is missing or mistyped. The script's message begins ","line":97},{"type":"inlineCode","value":"GET /tenants: 401","line":97},{"type":"text","value":".","line":97}],"line":97},{"type":"listItem","children":[{"type":"strong","children":[{"type":"inlineCode","value":"403","line":98},{"type":"text","value":" \"This needs the secret:write permission.\"","line":98}],"line":98},{"type":"text","value":" (or ","line":98},{"type":"inlineCode","value":"connection:write","line":98},{"type":"text","value":" or ","line":98},{"type":"inlineCode","value":"variable:write","line":98},{"type":"text","value":"). The key's owner lacks the permission in this workspace. Ask someone who can give a role.","line":98}],"line":98},{"type":"listItem","children":[{"type":"strong","children":[{"type":"inlineCode","value":"400","line":99},{"type":"text","value":" \"The connection's configuration is not valid.\"","line":99}],"line":99},{"type":"text","value":" The ","line":99},{"type":"inlineCode","value":"config","line":99},{"type":"text","value":" does not fit the connector. The answer lists each field. The fields are in ","line":99},{"type":"link","href":"../../reference/connectors","children":[{"type":"text","value":"Connectors","line":99}],"line":99},{"type":"text","value":".","line":99}],"line":99},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"There is no tenant X.\" or \"There is no workspace X.\"","line":100}],"line":100},{"type":"text","value":" The slug is wrong, or the key's owner cannot see it.","line":100}],"line":100},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The connection shows Failed after Test.","line":101}],"line":101},{"type":"text","value":" The script set what you gave it. See ","line":101},{"type":"link","href":"../../../console/how-to/configure/set-up-a-connection","children":[{"type":"text","value":"Set up a connection","line":101}],"line":101},{"type":"text","value":".","line":101}],"line":101}],"line":97}]},"description":"Set a workspace's connections, secrets and variables through the API, so that a new or copied workspace is ready without the console."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"develop/reference/access/mcp","title":"The MCP endpoint","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"A workspace has an endpoint for agents that speak the Model Context Protocol. An agent connects with an API key, usually a service account's, and is offered the scripts and flows the key may start, plus tools to read runs and decide approvals.","line":7}],"line":7},{"type":"heading","depth":2,"id":"endpoint","children":[{"type":"text","value":"Endpoint","line":9}],"line":9},{"type":"code","value":"POST /api/v1/tenants/<tenant-id>/workspaces/<workspace-id>/mcp","lang":"text","line":11},{"type":"paragraph","children":[{"type":"text","value":"Streamable HTTP, with no session: each request stands alone. Authenticate with ","line":15},{"type":"inlineCode","value":"Authorization: Bearer <key>","line":15},{"type":"text","value":". The service account's ","line":15},{"type":"strong","children":[{"type":"text","value":"Agent tools","line":15}],"line":15},{"type":"text","value":" tab shows the address and the settings (see ","line":15},{"type":"link","href":"../../../administer/reference/screens/service-accounts","children":[{"type":"text","value":"Service accounts","line":15}],"line":15},{"type":"text","value":"). A request with no key is refused with 401: \"Send an API key to use this workspace's tools.\"","line":15}],"line":15},{"type":"paragraph","children":[{"type":"text","value":"To connect, the key needs ","line":17},{"type":"inlineCode","value":"workspace:read","line":17},{"type":"text","value":" in the workspace, a binding to a script or flow in it (what ","line":17},{"type":"strong","children":[{"type":"text","value":"Offer to an agent…","line":17}],"line":17},{"type":"text","value":" gives, with the role ","line":17},{"type":"inlineCode","value":"agent_runner","line":17},{"type":"text","value":"), or ","line":17},{"type":"inlineCode","value":"run:write","line":17},{"type":"text","value":" or ","line":17},{"type":"inlineCode","value":"flow_run:write","line":17},{"type":"text","value":" for the whole workspace, which ","line":17},{"type":"inlineCode","value":"agent_runner","line":17},{"type":"text","value":" given there holds. With a binding to single scripts or flows, the agent is offered those alone. With ","line":17},{"type":"inlineCode","value":"agent_runner","line":17},{"type":"text","value":" for the whole workspace, it is offered what it may start and reads nothing else of the workspace.","line":17}],"line":17},{"type":"heading","depth":2,"id":"tools","children":[{"type":"text","value":"Tools","line":19}],"line":19},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Tool","line":21}]},{"type":"tableCell","children":[{"type":"text","value":"Offered when","line":21}]},{"type":"tableCell","children":[{"type":"text","value":"What it does","line":21}]}],"line":21},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"run_<path>","line":23}]},{"type":"tableCell","children":[{"type":"text","value":"The key may start the script.","line":23}]},{"type":"tableCell","children":[{"type":"text","value":"Runs the script with its own input schema.","line":23}]}],"line":23},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"start_<path>","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"The key may start the flow, and it has a manual trigger.","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"Starts the flow with the input its manual trigger declares.","line":24}]}],"line":24},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_run","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"Always.","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"Reads a run: status, and output or error once ended. Takes ","line":25},{"type":"inlineCode","value":"runId","line":25},{"type":"text","value":".","line":25}]}],"line":25},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_flow_run","line":26}]},{"type":"tableCell","children":[{"type":"text","value":"Always.","line":26}]},{"type":"tableCell","children":[{"type":"text","value":"Reads a flow run. Takes ","line":26},{"type":"inlineCode","value":"flowRunId","line":26},{"type":"text","value":". A flow can wait a long time for an approval.","line":26}]}],"line":26},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"list_approvals","line":27}]},{"type":"tableCell","children":[{"type":"text","value":"The key holds ","line":27},{"type":"inlineCode","value":"approval:read","line":27},{"type":"text","value":".","line":27}]},{"type":"tableCell","children":[{"type":"text","value":"Lists what is waiting for a person's approval in the workspace.","line":27}]}],"line":27},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"decide_approval","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"The key holds ","line":28},{"type":"inlineCode","value":"approval:write","line":28},{"type":"text","value":".","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"Approves or rejects a waiting approval. Takes ","line":28},{"type":"inlineCode","value":"flowRunId","line":28},{"type":"text","value":", ","line":28},{"type":"inlineCode","value":"node","line":28},{"type":"text","value":", ","line":28},{"type":"inlineCode","value":"decision","line":28},{"type":"text","value":" (","line":28},{"type":"inlineCode","value":"approve","line":28},{"type":"text","value":" or ","line":28},{"type":"inlineCode","value":"reject","line":28},{"type":"text","value":") and ","line":28},{"type":"inlineCode","value":"comment","line":28},{"type":"text","value":" (2000 characters at most). A rejection needs a comment.","line":28}]}],"line":28}],"line":21},{"type":"heading","depth":3,"id":"names","children":[{"type":"text","value":"Names","line":30}],"line":30},{"type":"paragraph","children":[{"type":"text","value":"A tool's name is made from the resource's path: ","line":32},{"type":"inlineCode","value":"run_","line":32},{"type":"text","value":" or ","line":32},{"type":"inlineCode","value":"start_","line":32},{"type":"text","value":", then the path with ","line":32},{"type":"inlineCode","value":"/","line":32},{"type":"text","value":" written ","line":32},{"type":"inlineCode","value":"__","line":32},{"type":"text","value":" and ","line":32},{"type":"inlineCode","value":"-","line":32},{"type":"text","value":" written ","line":32},{"type":"inlineCode","value":"_","line":32},{"type":"text","value":", cut to 64 characters. An author can choose another with ","line":32},{"type":"inlineCode","value":"mcp: { name }","line":32},{"type":"text","value":" in ","line":32},{"type":"inlineCode","value":"defineScript","line":32},{"type":"text","value":" or ","line":32},{"type":"inlineCode","value":"defineFlow","line":32},{"type":"text","value":". The names ","line":32},{"type":"inlineCode","value":"get_run","line":32},{"type":"text","value":", ","line":32},{"type":"inlineCode","value":"get_flow_run","line":32},{"type":"text","value":", ","line":32},{"type":"inlineCode","value":"list_approvals","line":32},{"type":"text","value":" and ","line":32},{"type":"inlineCode","value":"decide_approval","line":32},{"type":"text","value":" are reserved.","line":32}],"line":32},{"type":"heading","depth":3,"id":"limits","children":[{"type":"text","value":"Limits","line":34}],"line":34},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Limit","line":36}]},{"type":"tableCell","children":[{"type":"text","value":"Value","line":36}]}],"line":36},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Tools offered","line":38}]},{"type":"tableCell","children":[{"type":"text","value":"200 scripts and flows at most, besides the fixed tools.","line":38}]}],"line":38},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Wait for a run","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"25 seconds. A run still going then answers with its ","line":39},{"type":"inlineCode","value":"runId","line":39},{"type":"text","value":", and the agent calls ","line":39},{"type":"inlineCode","value":"get_run","line":39},{"type":"text","value":".","line":39}]}],"line":39},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"idempotencyKey","line":40}]},{"type":"tableCell","children":[{"type":"text","value":"An optional argument on ","line":40},{"type":"inlineCode","value":"run_","line":40},{"type":"text","value":" and ","line":40},{"type":"inlineCode","value":"start_","line":40},{"type":"text","value":" tools, 1 to 200 characters. The same key answers with the first run instead of starting another. If the input already has that name, the argument is written with underscores before it.","line":40}]}],"line":40}],"line":36},{"type":"heading","depth":2,"id":"who-sees-what","children":[{"type":"text","value":"Who sees what","line":42}],"line":42},{"type":"paragraph","children":[{"type":"text","value":"Another person's run, flow run or waiting approval is masked as it is on screen. The caller's own are given as they are. ","line":44},{"type":"inlineCode","value":"decide_approval","line":44},{"type":"text","value":" is refused for a step with named approvers the key is not among, and a service account's decision is listed under its name. An agent's calls are in the audit log with ","line":44},{"type":"inlineCode","value":"via: \"mcp\"","line":44},{"type":"text","value":". ","line":44},{"type":"strong","children":[{"type":"text","value":"Try","line":44}],"line":44},{"type":"text","value":" on the ","line":44},{"type":"strong","children":[{"type":"text","value":"Agent tools","line":44}],"line":44},{"type":"text","value":" tab logs ","line":44},{"type":"inlineCode","value":"service_account.tool_tried","line":44},{"type":"text","value":" against the member who pressed it.","line":44}],"line":44},{"type":"heading","depth":2,"id":"related","children":[{"type":"text","value":"Related","line":46}],"line":46},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"link","href":"../../../administer/how-to/access/let-an-agent-run-a-script","children":[{"type":"text","value":"Let an agent run a script","line":48}],"line":48},{"type":"text","value":".","line":48}],"line":48},{"type":"listItem","children":[{"type":"link","href":"../api/index","children":[{"type":"text","value":"The API reference","line":49}],"line":49},{"type":"text","value":".","line":49}],"line":49}],"line":48}]},"description":"The Model Context Protocol endpoint of a workspace: how an agent connects, the tools it is offered, their names and limits."}
|
|
1
|
+
{"path":"develop/reference/access/mcp","title":"The MCP endpoint","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"A workspace has an endpoint for agents that speak the Model Context Protocol. An agent connects with an API key, usually a service account's, and is offered the scripts and flows the key may start, plus tools to read runs and decide approvals.","line":7}],"line":7},{"type":"heading","depth":2,"id":"endpoint","children":[{"type":"text","value":"Endpoint","line":9}],"line":9},{"type":"code","value":"POST /api/v1/tenants/<tenant-id>/workspaces/<workspace-id>/mcp","lang":"text","line":11},{"type":"paragraph","children":[{"type":"text","value":"Streamable HTTP, with no session: each request stands alone. Authenticate with ","line":15},{"type":"inlineCode","value":"Authorization: Bearer <key>","line":15},{"type":"text","value":". The service account's ","line":15},{"type":"strong","children":[{"type":"text","value":"Agent tools","line":15}],"line":15},{"type":"text","value":" tab shows the address and the settings (see ","line":15},{"type":"link","href":"../../../administer/reference/screens/service-accounts","children":[{"type":"text","value":"Service accounts","line":15}],"line":15},{"type":"text","value":"). A request with no key is refused with 401: \"Send an API key to use this workspace's tools.\"","line":15}],"line":15},{"type":"paragraph","children":[{"type":"text","value":"To connect, the key needs ","line":17},{"type":"inlineCode","value":"workspace:read","line":17},{"type":"text","value":" in the workspace, a binding to a script or flow in it (what ","line":17},{"type":"strong","children":[{"type":"text","value":"Offer to an agent…","line":17}],"line":17},{"type":"text","value":" gives, with the role ","line":17},{"type":"inlineCode","value":"agent_runner","line":17},{"type":"text","value":"), or ","line":17},{"type":"inlineCode","value":"run:write","line":17},{"type":"text","value":" or ","line":17},{"type":"inlineCode","value":"flow_run:write","line":17},{"type":"text","value":" for the whole workspace, which ","line":17},{"type":"inlineCode","value":"agent_runner","line":17},{"type":"text","value":" given there holds. With a binding to single scripts or flows, the agent is offered those alone. With ","line":17},{"type":"inlineCode","value":"agent_runner","line":17},{"type":"text","value":" for the whole workspace, it is offered what it may start and reads nothing else of the workspace.","line":17}],"line":17},{"type":"heading","depth":2,"id":"tools","children":[{"type":"text","value":"Tools","line":19}],"line":19},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Tool","line":21}]},{"type":"tableCell","children":[{"type":"text","value":"Offered when","line":21}]},{"type":"tableCell","children":[{"type":"text","value":"What it does","line":21}]}],"line":21},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"run_<path>","line":23}]},{"type":"tableCell","children":[{"type":"text","value":"The key may start the script.","line":23}]},{"type":"tableCell","children":[{"type":"text","value":"Runs the script with its own input schema.","line":23}]}],"line":23},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"start_<path>","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"The key may start the flow, and it has a manual trigger.","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"Starts the flow with the input its manual trigger declares.","line":24}]}],"line":24},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_run","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"Always.","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"Reads a run: status, and output or error once ended. Takes ","line":25},{"type":"inlineCode","value":"runId","line":25},{"type":"text","value":".","line":25}]}],"line":25},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_flow_run","line":26}]},{"type":"tableCell","children":[{"type":"text","value":"Always.","line":26}]},{"type":"tableCell","children":[{"type":"text","value":"Reads a flow run. Takes ","line":26},{"type":"inlineCode","value":"flowRunId","line":26},{"type":"text","value":". A flow can wait a long time for an approval.","line":26}]}],"line":26},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"list_approvals","line":27}]},{"type":"tableCell","children":[{"type":"text","value":"The key holds ","line":27},{"type":"inlineCode","value":"approval:read","line":27},{"type":"text","value":".","line":27}]},{"type":"tableCell","children":[{"type":"text","value":"Lists what is waiting for a person's approval in the workspace.","line":27}]}],"line":27},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_health","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"The key holds ","line":28},{"type":"inlineCode","value":"figures:read","line":28},{"type":"text","value":" in the workspace's tenant.","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"Reads the tenant's health now: runs due and not taken, the oldest wait, workers connected, and over the last 15 minutes the runs that ended, the share that failed and why runs waited. ","line":28},{"type":"inlineCode","value":"status","line":28},{"type":"text","value":" is ","line":28},{"type":"inlineCode","value":"ok","line":28},{"type":"text","value":", ","line":28},{"type":"inlineCode","value":"waiting","line":28},{"type":"text","value":" or ","line":28},{"type":"inlineCode","value":"failing","line":28},{"type":"text","value":", and ","line":28},{"type":"inlineCode","value":"reasons","line":28},{"type":"text","value":" says what to do. Takes nothing.","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_figures","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"The key holds ","line":29},{"type":"inlineCode","value":"figures:read","line":29},{"type":"text","value":" in the workspace's tenant.","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"Reads the tenant's figures in periods, as ","line":29},{"type":"inlineCode","value":"GET /tenants/<id>/figures","line":29},{"type":"text","value":" does. Takes ","line":29},{"type":"inlineCode","value":"names","line":29},{"type":"text","value":" (a list of figure names), ","line":29},{"type":"inlineCode","value":"every","line":29},{"type":"text","value":" (","line":29},{"type":"inlineCode","value":"5m","line":29},{"type":"text","value":", ","line":29},{"type":"inlineCode","value":"hour","line":29},{"type":"text","value":", ","line":29},{"type":"inlineCode","value":"day","line":29},{"type":"text","value":" or ","line":29},{"type":"inlineCode","value":"all","line":29},{"type":"text","value":"; default ","line":29},{"type":"inlineCode","value":"hour","line":29},{"type":"text","value":"), ","line":29},{"type":"inlineCode","value":"hours","line":29},{"type":"text","value":" (back from now, 1 to 720; default 24) and ","line":29},{"type":"inlineCode","value":"by","line":29},{"type":"text","value":" (","line":29},{"type":"inlineCode","value":"workspace","line":29},{"type":"text","value":", for a row for each workspace). Counts and times only, never a row, an input or an output.","line":29}]}],"line":29},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"decide_approval","line":30}]},{"type":"tableCell","children":[{"type":"text","value":"The key holds ","line":30},{"type":"inlineCode","value":"approval:write","line":30},{"type":"text","value":".","line":30}]},{"type":"tableCell","children":[{"type":"text","value":"Approves or rejects a waiting approval. Takes ","line":30},{"type":"inlineCode","value":"flowRunId","line":30},{"type":"text","value":", ","line":30},{"type":"inlineCode","value":"node","line":30},{"type":"text","value":", ","line":30},{"type":"inlineCode","value":"decision","line":30},{"type":"text","value":" (","line":30},{"type":"inlineCode","value":"approve","line":30},{"type":"text","value":" or ","line":30},{"type":"inlineCode","value":"reject","line":30},{"type":"text","value":") and ","line":30},{"type":"inlineCode","value":"comment","line":30},{"type":"text","value":" (2000 characters at most). A rejection needs a comment.","line":30}]}],"line":30}],"line":21},{"type":"heading","depth":3,"id":"names","children":[{"type":"text","value":"Names","line":32}],"line":32},{"type":"paragraph","children":[{"type":"text","value":"A tool's name is made from the resource's path: ","line":34},{"type":"inlineCode","value":"run_","line":34},{"type":"text","value":" or ","line":34},{"type":"inlineCode","value":"start_","line":34},{"type":"text","value":", then the path with ","line":34},{"type":"inlineCode","value":"/","line":34},{"type":"text","value":" written ","line":34},{"type":"inlineCode","value":"__","line":34},{"type":"text","value":" and ","line":34},{"type":"inlineCode","value":"-","line":34},{"type":"text","value":" written ","line":34},{"type":"inlineCode","value":"_","line":34},{"type":"text","value":", cut to 64 characters. An author can choose another with ","line":34},{"type":"inlineCode","value":"mcp: { name }","line":34},{"type":"text","value":" in ","line":34},{"type":"inlineCode","value":"defineScript","line":34},{"type":"text","value":" or ","line":34},{"type":"inlineCode","value":"defineFlow","line":34},{"type":"text","value":". The names ","line":34},{"type":"inlineCode","value":"get_run","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"get_flow_run","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"list_approvals","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"decide_approval","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"get_health","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"get_figures","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"get_instance_health","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"list_tenants","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"get_tenant_health","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"get_tenant_figures","line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"get_instance_figures","line":34},{"type":"text","value":" and ","line":34},{"type":"inlineCode","value":"why_runs_wait","line":34},{"type":"text","value":" are reserved.","line":34}],"line":34},{"type":"heading","depth":3,"id":"limits","children":[{"type":"text","value":"Limits","line":36}],"line":36},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Limit","line":38}]},{"type":"tableCell","children":[{"type":"text","value":"Value","line":38}]}],"line":38},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Tools offered","line":40}]},{"type":"tableCell","children":[{"type":"text","value":"200 scripts and flows at most, besides the fixed tools.","line":40}]}],"line":40},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Wait for a run","line":41}]},{"type":"tableCell","children":[{"type":"text","value":"25 seconds. A run still going then answers with its ","line":41},{"type":"inlineCode","value":"runId","line":41},{"type":"text","value":", and the agent calls ","line":41},{"type":"inlineCode","value":"get_run","line":41},{"type":"text","value":".","line":41}]}],"line":41},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"idempotencyKey","line":42}]},{"type":"tableCell","children":[{"type":"text","value":"An optional argument on ","line":42},{"type":"inlineCode","value":"run_","line":42},{"type":"text","value":" and ","line":42},{"type":"inlineCode","value":"start_","line":42},{"type":"text","value":" tools, 1 to 200 characters. The same key answers with the first run instead of starting another. If the input already has that name, the argument is written with underscores before it.","line":42}]}],"line":42}],"line":38},{"type":"heading","depth":2,"id":"who-sees-what","children":[{"type":"text","value":"Who sees what","line":44}],"line":44},{"type":"paragraph","children":[{"type":"text","value":"Another person's run, flow run or waiting approval is masked as it is on screen. The caller's own are given as they are. ","line":46},{"type":"inlineCode","value":"decide_approval","line":46},{"type":"text","value":" is refused for a step with named approvers the key is not among, and a service account's decision is listed under its name. An agent's calls are in the audit log with ","line":46},{"type":"inlineCode","value":"via: \"mcp\"","line":46},{"type":"text","value":". ","line":46},{"type":"strong","children":[{"type":"text","value":"Try","line":46}],"line":46},{"type":"text","value":" on the ","line":46},{"type":"strong","children":[{"type":"text","value":"Agent tools","line":46}],"line":46},{"type":"text","value":" tab logs ","line":46},{"type":"inlineCode","value":"service_account.tool_tried","line":46},{"type":"text","value":" against the member who pressed it.","line":46}],"line":46},{"type":"heading","depth":2,"id":"the-instances-endpoint","children":[{"type":"text","value":"The instance's endpoint","line":48}],"line":48},{"type":"code","value":"POST /api/v1/mcp","lang":"text","line":50},{"type":"paragraph","children":[{"type":"text","value":"An MCP server named ","line":54},{"type":"inlineCode","value":"volvel:instance","line":54},{"type":"text","value":", for a key holding ","line":54},{"type":"inlineCode","value":"instance:read","line":54},{"type":"text","value":" at the instance: an instance service account's, or an operator's own. No key is refused with 401, and a key without ","line":54},{"type":"inlineCode","value":"instance:read","line":54},{"type":"text","value":", such as a tenant's service account, with 403. Its tools are ","line":54},{"type":"inlineCode","value":"get_instance_health","line":54},{"type":"text","value":", ","line":54},{"type":"inlineCode","value":"list_tenants","line":54},{"type":"text","value":", ","line":54},{"type":"inlineCode","value":"get_tenant_health","line":54},{"type":"text","value":", ","line":54},{"type":"inlineCode","value":"get_tenant_figures","line":54},{"type":"text","value":", ","line":54},{"type":"inlineCode","value":"get_instance_figures","line":54},{"type":"text","value":" and ","line":54},{"type":"inlineCode","value":"why_runs_wait","line":54},{"type":"text","value":", described in ","line":54},{"type":"link","href":"../../../self-host/explanation/access/instance-service-accounts","children":[{"type":"text","value":"Service accounts of the instance","line":54}],"line":54},{"type":"text","value":". They answer counts and times only. An instance account that holds a role in a tenant, by an operator's access grant or by the tenant's own binding, connects to that workspace's endpoint above like any key.","line":54}],"line":54},{"type":"heading","depth":2,"id":"related","children":[{"type":"text","value":"Related","line":56}],"line":56},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"link","href":"../../../administer/how-to/access/let-an-agent-run-a-script","children":[{"type":"text","value":"Let an agent run a script","line":58}],"line":58},{"type":"text","value":".","line":58}],"line":58},{"type":"listItem","children":[{"type":"link","href":"../api/index","children":[{"type":"text","value":"The API reference","line":59}],"line":59},{"type":"text","value":".","line":59}],"line":59}],"line":58}]},"description":"The Model Context Protocol endpoint of a workspace: how an agent connects, the tools it is offered, their names and limits."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"develop/reference/api/agents","title":"Agents","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"Service accounts' tools and the Model Context Protocol, for agents.","line":8}],"line":8},{"type":"paragraph","children":[{"type":"text","value":"It has 3 routes. A request that fails is answered with one of the ","line":10},{"type":"link","href":"../errors","children":[{"type":"text","value":"error codes","line":10}],"line":10},{"type":"text","value":".","line":10}],"line":10},{"type":"heading","depth":2,"id":"post-tenantstservice-accountsidtool-calls","children":[{"type":"inlineCode","value":"POST /tenants/{t}/service-accounts/{id}/tool-calls","line":12}],"line":12},{"type":"paragraph","children":[{"type":"text","value":"Calls one of a service account's tools, as the account.","line":14}],"line":14},{"type":"paragraph","children":[{"type":"text","value":"What an agent's ","line":16},{"type":"inlineCode","value":"tools/call","line":16},{"type":"text","value":" would do with the account's key, asked from the console to see that it works. The call is the account's: it is refused what the account may not do, and a script or flow it starts is started by the account. It is real work, with the effects the tool has. The audit log records the member who asked, with the account named.","line":16}],"line":16},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Needs:","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"inlineCode","value":"service_account:write","line":18},{"type":"text","value":" in the tenant.","line":18}],"line":18},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Parameters","line":20}],"line":20}],"line":20},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Name","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"In","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":22}]}],"line":22},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"t","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":24}]}],"line":24},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"id","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":25}]}],"line":25}],"line":22},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Request body","line":27}],"line":27},{"type":"text","value":", ","line":27},{"type":"inlineCode","value":"application/json","line":27},{"type":"text","value":", needed","line":27}],"line":27},{"type":"table","align":[null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Field","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":29}]}],"line":29},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"workspace","line":31}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":31}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":31}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":31}]}],"line":31},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tool","line":32}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":32}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":32}]},{"type":"tableCell","children":[{"type":"text","value":"At least 1 character. At most 200 characters.","line":32}]}],"line":32},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"arguments","line":33}]},{"type":"tableCell","children":[{"type":"text","value":"named values","line":33}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]}],"line":33}],"line":29},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Responses","line":35}],"line":35}],"line":35},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Status","line":37}]},{"type":"tableCell","children":[{"type":"text","value":"What it means","line":37}]}],"line":37},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"200","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"Done. The answer says what is now true.","line":39}]}],"line":39},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"400","line":40}]},{"type":"tableCell","children":[{"type":"text","value":"The request is not valid. ","line":40},{"type":"inlineCode","value":"errors","line":40},{"type":"text","value":" says which part, and nothing was changed.","line":40}]}],"line":40},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"401","line":41}]},{"type":"tableCell","children":[{"type":"text","value":"Nobody is signed in, or the key is not one the instance knows.","line":41}]}],"line":41},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"403","line":42}]},{"type":"tableCell","children":[{"type":"text","value":"The caller is known and may not do this. The detail says what is needed and who can give it.","line":42}]}],"line":42},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"404","line":43}]},{"type":"tableCell","children":[{"type":"text","value":"What was asked for does not exist, or the caller may not know that it does.","line":43}]}],"line":43},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"5XX","line":44}]},{"type":"tableCell","children":[{"type":"text","value":"The instance could not do it. The ","line":44},{"type":"inlineCode","value":"requestId","line":44},{"type":"text","value":" finds the cause in its log.","line":44}]}],"line":44}],"line":37},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"200 answer","line":46}],"line":46},{"type":"text","value":", ","line":46},{"type":"inlineCode","value":"application/json","line":46}],"line":46},{"type":"table","align":[null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Field","line":48}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":48}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":48}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":48}]}],"line":48},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tool","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":50}]},{"type":"tableCell","children":[]}],"line":50},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"isError","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"boolean","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"Whether the agent would be told the call failed: a refusal, or a run that failed.","line":51}]}],"line":51},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"result","line":52}]},{"type":"tableCell","children":[{"type":"text","value":"anything","line":52}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":52}]},{"type":"tableCell","children":[]}],"line":52}],"line":48},{"type":"heading","depth":2,"id":"get-tenantstservice-accountsidtools","children":[{"type":"inlineCode","value":"GET /tenants/{t}/service-accounts/{id}/tools","line":54}],"line":54},{"type":"paragraph","children":[{"type":"text","value":"The tools an agent is offered with a service account's key.","line":56}],"line":56},{"type":"paragraph","children":[{"type":"text","value":"What ","line":58},{"type":"inlineCode","value":"tools/list","line":58},{"type":"text","value":" would answer over the Model Context Protocol in one workspace, worked out for the service account and not for the caller. Nothing is run. ","line":58},{"type":"inlineCode","value":"address","line":58},{"type":"text","value":" is where an agent connects, with one of the account's API keys. Connecting needs ","line":58},{"type":"inlineCode","value":"workspace:read","line":58},{"type":"text","value":" in the workspace, or a binding to a script or flow in it; without either ","line":58},{"type":"inlineCode","value":"reachable","line":58},{"type":"text","value":" is false.","line":58}],"line":58},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Needs:","line":60}],"line":60},{"type":"text","value":" ","line":60},{"type":"inlineCode","value":"service_account:read","line":60},{"type":"text","value":" in the tenant.","line":60}],"line":60},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Parameters","line":62}],"line":62}],"line":62},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Name","line":64}]},{"type":"tableCell","children":[{"type":"text","value":"In","line":64}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":64}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":64}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":64}]}],"line":64},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"workspace","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"query","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":66}]}],"line":66},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"t","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":67}]}],"line":67},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"id","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":68}]}],"line":68}],"line":64},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Responses","line":70}],"line":70}],"line":70},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Status","line":72}]},{"type":"tableCell","children":[{"type":"text","value":"What it means","line":72}]}],"line":72},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"200","line":74}]},{"type":"tableCell","children":[{"type":"text","value":"What was asked for.","line":74}]}],"line":74},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"400","line":75}]},{"type":"tableCell","children":[{"type":"text","value":"The request is not valid. ","line":75},{"type":"inlineCode","value":"errors","line":75},{"type":"text","value":" says which part, and nothing was changed.","line":75}]}],"line":75},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"401","line":76}]},{"type":"tableCell","children":[{"type":"text","value":"Nobody is signed in, or the key is not one the instance knows.","line":76}]}],"line":76},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"403","line":77}]},{"type":"tableCell","children":[{"type":"text","value":"The caller is known and may not do this. The detail says what is needed and who can give it.","line":77}]}],"line":77},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"404","line":78}]},{"type":"tableCell","children":[{"type":"text","value":"What was asked for does not exist, or the caller may not know that it does.","line":78}]}],"line":78},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"5XX","line":79}]},{"type":"tableCell","children":[{"type":"text","value":"The instance could not do it. The ","line":79},{"type":"inlineCode","value":"requestId","line":79},{"type":"text","value":" finds the cause in its log.","line":79}]}],"line":79}],"line":72},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"200 answer","line":81}],"line":81},{"type":"text","value":", ","line":81},{"type":"inlineCode","value":"application/json","line":81}],"line":81},{"type":"table","align":[null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Field","line":83}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":83}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":83}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":83}]}],"line":83},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"address","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":85}]},{"type":"tableCell","children":[]}],"line":85},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"reachable","line":86}]},{"type":"tableCell","children":[{"type":"text","value":"boolean","line":86}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":86}]},{"type":"tableCell","children":[{"type":"text","value":"Whether the account may connect to the workspace's tools at all. Without that an agent is refused.","line":86}]}],"line":86},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools","line":87}]},{"type":"tableCell","children":[{"type":"text","value":"list of object","line":87}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":87}]},{"type":"tableCell","children":[]}],"line":87},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools.*.name","line":88}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":88}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":88}]},{"type":"tableCell","children":[]}],"line":88},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools.*.description","line":89}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":89}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":89}]},{"type":"tableCell","children":[]}],"line":89},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools.*.inputSchema","line":90}]},{"type":"tableCell","children":[{"type":"text","value":"object","line":90}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":90}]},{"type":"tableCell","children":[]}],"line":90},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools.*.outputSchema","line":91}]},{"type":"tableCell","children":[{"type":"text","value":"object","line":91}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]}],"line":91}],"line":83},{"type":"heading","depth":2,"id":"post-tenantstworkspaceswmcp","children":[{"type":"inlineCode","value":"POST /tenants/{t}/workspaces/{w}/mcp","line":93}],"line":93},{"type":"paragraph","children":[{"type":"text","value":"The Model Context Protocol, for an agent.","line":95}],"line":95},{"type":"paragraph","children":[{"type":"text","value":"Streamable HTTP, with no session: each request stands alone. Authenticate with an API key, usually a service account's. The tools offered are the scripts and flows the caller may start, with ","line":97},{"type":"inlineCode","value":"get_run","line":97},{"type":"text","value":", ","line":97},{"type":"inlineCode","value":"get_flow_run","line":97},{"type":"text","value":", and the approval tools when the caller may read and decide approvals. A script's tool takes the script's own input schema, and a flow's tool the input its manual trigger declares. The caller needs ","line":97},{"type":"inlineCode","value":"workspace:read","line":97},{"type":"text","value":" in the workspace to connect, or a binding to a script or flow in it, such as the ","line":97},{"type":"inlineCode","value":"agent_runner","line":97},{"type":"text","value":" role an agent is offered one with; it is then offered those alone.","line":97}],"line":97},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Needs:","line":99}],"line":99},{"type":"text","value":" an API key, usually a service account's, that holds ","line":99},{"type":"inlineCode","value":"workspace:read","line":99},{"type":"text","value":". Each tool then asks for what it does.","line":99}],"line":99},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Parameters","line":101}],"line":101}],"line":101},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Name","line":103}]},{"type":"tableCell","children":[{"type":"text","value":"In","line":103}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":103}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":103}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":103}]}],"line":103},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"t","line":105}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":105}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":105}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":105}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":105}]}],"line":105},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"w","line":106}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":106}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":106}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":106}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":106}]}],"line":106}],"line":103},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Request body","line":108}],"line":108},{"type":"text","value":", ","line":108},{"type":"inlineCode","value":"application/json","line":108},{"type":"text","value":", needed","line":108}],"line":108},{"type":"paragraph","children":[{"type":"text","value":"It has no fields of its own.","line":110}],"line":110},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Responses","line":112}],"line":112}],"line":112},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Status","line":114}]},{"type":"tableCell","children":[{"type":"text","value":"What it means","line":114}]}],"line":114},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"200","line":116}]},{"type":"tableCell","children":[{"type":"text","value":"A JSON-RPC answer, as the Model Context Protocol defines it.","line":116}]}],"line":116},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"400","line":117}]},{"type":"tableCell","children":[{"type":"text","value":"The request is not valid. ","line":117},{"type":"inlineCode","value":"errors","line":117},{"type":"text","value":" says which part, and nothing was changed.","line":117}]}],"line":117},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"401","line":118}]},{"type":"tableCell","children":[{"type":"text","value":"Nobody is signed in, or the key is not one the instance knows.","line":118}]}],"line":118},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"403","line":119}]},{"type":"tableCell","children":[{"type":"text","value":"The caller is known and may not do this. The detail says what is needed and who can give it.","line":119}]}],"line":119},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"404","line":120}]},{"type":"tableCell","children":[{"type":"text","value":"What was asked for does not exist, or the caller may not know that it does.","line":120}]}],"line":120},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"5XX","line":121}]},{"type":"tableCell","children":[{"type":"text","value":"The instance could not do it. The ","line":121},{"type":"inlineCode","value":"requestId","line":121},{"type":"text","value":" finds the cause in its log.","line":121}]}],"line":121}],"line":114},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"200 answer","line":123}],"line":123},{"type":"text","value":", ","line":123},{"type":"inlineCode","value":"application/json","line":123}],"line":123},{"type":"paragraph","children":[{"type":"text","value":"No fields.","line":125}],"line":125}]},"description":"Service accounts' tools and the Model Context Protocol, for agents."}
|
|
1
|
+
{"path":"develop/reference/api/agents","title":"Agents","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"Service accounts' tools and the Model Context Protocol, for agents.","line":8}],"line":8},{"type":"paragraph","children":[{"type":"text","value":"It has 4 routes. A request that fails is answered with one of the ","line":10},{"type":"link","href":"../errors","children":[{"type":"text","value":"error codes","line":10}],"line":10},{"type":"text","value":".","line":10}],"line":10},{"type":"heading","depth":2,"id":"post-mcp","children":[{"type":"inlineCode","value":"POST /mcp","line":12}],"line":12},{"type":"paragraph","children":[{"type":"text","value":"The Model Context Protocol, for the instance.","line":14}],"line":14},{"type":"paragraph","children":[{"type":"text","value":"Streamable HTTP, with no session: each request stands alone. Authenticate with an API key that holds ","line":16},{"type":"inlineCode","value":"instance:read","line":16},{"type":"text","value":", usually an instance service account's. The tools are ","line":16},{"type":"inlineCode","value":"get_instance_health","line":16},{"type":"text","value":", ","line":16},{"type":"inlineCode","value":"list_tenants","line":16},{"type":"text","value":", ","line":16},{"type":"inlineCode","value":"get_tenant_health","line":16},{"type":"text","value":", ","line":16},{"type":"inlineCode","value":"get_tenant_figures","line":16},{"type":"text","value":", ","line":16},{"type":"inlineCode","value":"get_instance_figures","line":16},{"type":"text","value":" and ","line":16},{"type":"inlineCode","value":"why_runs_wait","line":16},{"type":"text","value":": counts and times, never a tenant's rows. Inside a tenant, connect to the workspace's own endpoint: an instance account that holds a role there is offered that role's tools.","line":16}],"line":16},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Needs:","line":18}],"line":18},{"type":"text","value":" an API key that holds ","line":18},{"type":"inlineCode","value":"instance:read","line":18},{"type":"text","value":" at the instance: an instance service account's, or an operator's own. Each tool asks again.","line":18}],"line":18},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Request body","line":20}],"line":20},{"type":"text","value":", ","line":20},{"type":"inlineCode","value":"application/json","line":20},{"type":"text","value":", needed","line":20}],"line":20},{"type":"paragraph","children":[{"type":"text","value":"It has no fields of its own.","line":22}],"line":22},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Responses","line":24}],"line":24}],"line":24},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Status","line":26}]},{"type":"tableCell","children":[{"type":"text","value":"What it means","line":26}]}],"line":26},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"200","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"A JSON-RPC answer, as the Model Context Protocol defines it.","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"400","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"The request is not valid. ","line":29},{"type":"inlineCode","value":"errors","line":29},{"type":"text","value":" says which part, and nothing was changed.","line":29}]}],"line":29},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"401","line":30}]},{"type":"tableCell","children":[{"type":"text","value":"Nobody is signed in, or the key is not one the instance knows.","line":30}]}],"line":30},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"403","line":31}]},{"type":"tableCell","children":[{"type":"text","value":"The caller is known and may not do this. The detail says what is needed and who can give it.","line":31}]}],"line":31},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"5XX","line":32}]},{"type":"tableCell","children":[{"type":"text","value":"The instance could not do it. The ","line":32},{"type":"inlineCode","value":"requestId","line":32},{"type":"text","value":" finds the cause in its log.","line":32}]}],"line":32}],"line":26},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"200 answer","line":34}],"line":34},{"type":"text","value":", ","line":34},{"type":"inlineCode","value":"application/json","line":34}],"line":34},{"type":"paragraph","children":[{"type":"text","value":"No fields.","line":36}],"line":36},{"type":"heading","depth":2,"id":"post-tenantstservice-accountsidtool-calls","children":[{"type":"inlineCode","value":"POST /tenants/{t}/service-accounts/{id}/tool-calls","line":38}],"line":38},{"type":"paragraph","children":[{"type":"text","value":"Calls one of a service account's tools, as the account.","line":40}],"line":40},{"type":"paragraph","children":[{"type":"text","value":"What an agent's ","line":42},{"type":"inlineCode","value":"tools/call","line":42},{"type":"text","value":" would do with the account's key, asked from the console to see that it works. The call is the account's: it is refused what the account may not do, and a script or flow it starts is started by the account. It is real work, with the effects the tool has. The audit log records the member who asked, with the account named.","line":42}],"line":42},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Needs:","line":44}],"line":44},{"type":"text","value":" ","line":44},{"type":"inlineCode","value":"service_account:write","line":44},{"type":"text","value":" in the tenant.","line":44}],"line":44},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Parameters","line":46}],"line":46}],"line":46},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Name","line":48}]},{"type":"tableCell","children":[{"type":"text","value":"In","line":48}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":48}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":48}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":48}]}],"line":48},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"t","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":50}]}],"line":50},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"id","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":51}]}],"line":51}],"line":48},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Request body","line":53}],"line":53},{"type":"text","value":", ","line":53},{"type":"inlineCode","value":"application/json","line":53},{"type":"text","value":", needed","line":53}],"line":53},{"type":"table","align":[null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Field","line":55}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":55}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":55}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":55}]}],"line":55},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"workspace","line":57}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":57}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":57}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":57}]}],"line":57},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tool","line":58}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":58}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":58}]},{"type":"tableCell","children":[{"type":"text","value":"At least 1 character. At most 200 characters.","line":58}]}],"line":58},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"arguments","line":59}]},{"type":"tableCell","children":[{"type":"text","value":"named values","line":59}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]}],"line":59}],"line":55},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Responses","line":61}],"line":61}],"line":61},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Status","line":63}]},{"type":"tableCell","children":[{"type":"text","value":"What it means","line":63}]}],"line":63},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"200","line":65}]},{"type":"tableCell","children":[{"type":"text","value":"Done. The answer says what is now true.","line":65}]}],"line":65},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"400","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"The request is not valid. ","line":66},{"type":"inlineCode","value":"errors","line":66},{"type":"text","value":" says which part, and nothing was changed.","line":66}]}],"line":66},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"401","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"Nobody is signed in, or the key is not one the instance knows.","line":67}]}],"line":67},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"403","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"The caller is known and may not do this. The detail says what is needed and who can give it.","line":68}]}],"line":68},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"404","line":69}]},{"type":"tableCell","children":[{"type":"text","value":"What was asked for does not exist, or the caller may not know that it does.","line":69}]}],"line":69},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"5XX","line":70}]},{"type":"tableCell","children":[{"type":"text","value":"The instance could not do it. The ","line":70},{"type":"inlineCode","value":"requestId","line":70},{"type":"text","value":" finds the cause in its log.","line":70}]}],"line":70}],"line":63},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"200 answer","line":72}],"line":72},{"type":"text","value":", ","line":72},{"type":"inlineCode","value":"application/json","line":72}],"line":72},{"type":"table","align":[null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Field","line":74}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":74}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":74}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":74}]}],"line":74},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tool","line":76}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":76}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":76}]},{"type":"tableCell","children":[]}],"line":76},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"isError","line":77}]},{"type":"tableCell","children":[{"type":"text","value":"boolean","line":77}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":77}]},{"type":"tableCell","children":[{"type":"text","value":"Whether the agent would be told the call failed: a refusal, or a run that failed.","line":77}]}],"line":77},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"result","line":78}]},{"type":"tableCell","children":[{"type":"text","value":"anything","line":78}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":78}]},{"type":"tableCell","children":[]}],"line":78}],"line":74},{"type":"heading","depth":2,"id":"get-tenantstservice-accountsidtools","children":[{"type":"inlineCode","value":"GET /tenants/{t}/service-accounts/{id}/tools","line":80}],"line":80},{"type":"paragraph","children":[{"type":"text","value":"The tools an agent is offered with a service account's key.","line":82}],"line":82},{"type":"paragraph","children":[{"type":"text","value":"What ","line":84},{"type":"inlineCode","value":"tools/list","line":84},{"type":"text","value":" would answer over the Model Context Protocol in one workspace, worked out for the service account and not for the caller. Nothing is run. ","line":84},{"type":"inlineCode","value":"address","line":84},{"type":"text","value":" is where an agent connects, with one of the account's API keys. Connecting needs ","line":84},{"type":"inlineCode","value":"workspace:read","line":84},{"type":"text","value":" in the workspace, or a binding to a script or flow in it; without either ","line":84},{"type":"inlineCode","value":"reachable","line":84},{"type":"text","value":" is false.","line":84}],"line":84},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Needs:","line":86}],"line":86},{"type":"text","value":" ","line":86},{"type":"inlineCode","value":"service_account:read","line":86},{"type":"text","value":" in the tenant.","line":86}],"line":86},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Parameters","line":88}],"line":88}],"line":88},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Name","line":90}]},{"type":"tableCell","children":[{"type":"text","value":"In","line":90}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":90}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":90}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":90}]}],"line":90},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"workspace","line":92}]},{"type":"tableCell","children":[{"type":"text","value":"query","line":92}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":92}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":92}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":92}]}],"line":92},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"t","line":93}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":93}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":93}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":93}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":93}]}],"line":93},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"id","line":94}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":94}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":94}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":94}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":94}]}],"line":94}],"line":90},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Responses","line":96}],"line":96}],"line":96},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Status","line":98}]},{"type":"tableCell","children":[{"type":"text","value":"What it means","line":98}]}],"line":98},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"200","line":100}]},{"type":"tableCell","children":[{"type":"text","value":"What was asked for.","line":100}]}],"line":100},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"400","line":101}]},{"type":"tableCell","children":[{"type":"text","value":"The request is not valid. ","line":101},{"type":"inlineCode","value":"errors","line":101},{"type":"text","value":" says which part, and nothing was changed.","line":101}]}],"line":101},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"401","line":102}]},{"type":"tableCell","children":[{"type":"text","value":"Nobody is signed in, or the key is not one the instance knows.","line":102}]}],"line":102},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"403","line":103}]},{"type":"tableCell","children":[{"type":"text","value":"The caller is known and may not do this. The detail says what is needed and who can give it.","line":103}]}],"line":103},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"404","line":104}]},{"type":"tableCell","children":[{"type":"text","value":"What was asked for does not exist, or the caller may not know that it does.","line":104}]}],"line":104},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"5XX","line":105}]},{"type":"tableCell","children":[{"type":"text","value":"The instance could not do it. The ","line":105},{"type":"inlineCode","value":"requestId","line":105},{"type":"text","value":" finds the cause in its log.","line":105}]}],"line":105}],"line":98},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"200 answer","line":107}],"line":107},{"type":"text","value":", ","line":107},{"type":"inlineCode","value":"application/json","line":107}],"line":107},{"type":"table","align":[null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Field","line":109}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":109}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":109}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":109}]}],"line":109},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"address","line":111}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":111}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":111}]},{"type":"tableCell","children":[]}],"line":111},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"reachable","line":112}]},{"type":"tableCell","children":[{"type":"text","value":"boolean","line":112}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":112}]},{"type":"tableCell","children":[{"type":"text","value":"Whether the account may connect to the workspace's tools at all. Without that an agent is refused.","line":112}]}],"line":112},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools","line":113}]},{"type":"tableCell","children":[{"type":"text","value":"list of object","line":113}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":113}]},{"type":"tableCell","children":[]}],"line":113},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools.*.name","line":114}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":114}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":114}]},{"type":"tableCell","children":[]}],"line":114},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools.*.description","line":115}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":115}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":115}]},{"type":"tableCell","children":[]}],"line":115},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools.*.inputSchema","line":116}]},{"type":"tableCell","children":[{"type":"text","value":"object","line":116}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":116}]},{"type":"tableCell","children":[]}],"line":116},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"tools.*.outputSchema","line":117}]},{"type":"tableCell","children":[{"type":"text","value":"object","line":117}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]}],"line":117}],"line":109},{"type":"heading","depth":2,"id":"post-tenantstworkspaceswmcp","children":[{"type":"inlineCode","value":"POST /tenants/{t}/workspaces/{w}/mcp","line":119}],"line":119},{"type":"paragraph","children":[{"type":"text","value":"The Model Context Protocol, for an agent.","line":121}],"line":121},{"type":"paragraph","children":[{"type":"text","value":"Streamable HTTP, with no session: each request stands alone. Authenticate with an API key, usually a service account's. The tools offered are the scripts and flows the caller may start, with ","line":123},{"type":"inlineCode","value":"get_run","line":123},{"type":"text","value":", ","line":123},{"type":"inlineCode","value":"get_flow_run","line":123},{"type":"text","value":", and the approval tools when the caller may read and decide approvals. A script's tool takes the script's own input schema, and a flow's tool the input its manual trigger declares. The caller needs ","line":123},{"type":"inlineCode","value":"workspace:read","line":123},{"type":"text","value":" in the workspace to connect, or a binding to a script or flow in it, such as the ","line":123},{"type":"inlineCode","value":"agent_runner","line":123},{"type":"text","value":" role an agent is offered one with; it is then offered those alone.","line":123}],"line":123},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Needs:","line":125}],"line":125},{"type":"text","value":" an API key, usually a service account's, that holds ","line":125},{"type":"inlineCode","value":"workspace:read","line":125},{"type":"text","value":". Each tool then asks for what it does.","line":125}],"line":125},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Parameters","line":127}],"line":127}],"line":127},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Name","line":129}]},{"type":"tableCell","children":[{"type":"text","value":"In","line":129}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":129}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":129}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":129}]}],"line":129},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"t","line":131}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":131}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":131}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":131}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":131}]}],"line":131},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"w","line":132}]},{"type":"tableCell","children":[{"type":"text","value":"path","line":132}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":132}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":132}]},{"type":"tableCell","children":[{"type":"text","value":"Format uuid.","line":132}]}],"line":132}],"line":129},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Request body","line":134}],"line":134},{"type":"text","value":", ","line":134},{"type":"inlineCode","value":"application/json","line":134},{"type":"text","value":", needed","line":134}],"line":134},{"type":"paragraph","children":[{"type":"text","value":"It has no fields of its own.","line":136}],"line":136},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Responses","line":138}],"line":138}],"line":138},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Status","line":140}]},{"type":"tableCell","children":[{"type":"text","value":"What it means","line":140}]}],"line":140},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"200","line":142}]},{"type":"tableCell","children":[{"type":"text","value":"A JSON-RPC answer, as the Model Context Protocol defines it.","line":142}]}],"line":142},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"400","line":143}]},{"type":"tableCell","children":[{"type":"text","value":"The request is not valid. ","line":143},{"type":"inlineCode","value":"errors","line":143},{"type":"text","value":" says which part, and nothing was changed.","line":143}]}],"line":143},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"401","line":144}]},{"type":"tableCell","children":[{"type":"text","value":"Nobody is signed in, or the key is not one the instance knows.","line":144}]}],"line":144},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"403","line":145}]},{"type":"tableCell","children":[{"type":"text","value":"The caller is known and may not do this. The detail says what is needed and who can give it.","line":145}]}],"line":145},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"404","line":146}]},{"type":"tableCell","children":[{"type":"text","value":"What was asked for does not exist, or the caller may not know that it does.","line":146}]}],"line":146},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"5XX","line":147}]},{"type":"tableCell","children":[{"type":"text","value":"The instance could not do it. The ","line":147},{"type":"inlineCode","value":"requestId","line":147},{"type":"text","value":" finds the cause in its log.","line":147}]}],"line":147}],"line":140},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"200 answer","line":149}],"line":149},{"type":"text","value":", ","line":149},{"type":"inlineCode","value":"application/json","line":149}],"line":149},{"type":"paragraph","children":[{"type":"text","value":"No fields.","line":151}],"line":151}]},"description":"Service accounts' tools and the Model Context Protocol, for agents."}
|