Portal
O site do portal — rascunho, publicação e versões das páginas, e a biblioteca de arquivos que ele mostra — e a configuração dele: marca, domínio, domínios próprios e provedores de login.
Famílias nesta página
| Família | Tools | read | write | destructive |
|---|---|---|---|---|
portal-builder — Construtor do portal | 31 | 10 | 14 | 7 |
assets — Arquivos | 12 | 5 | 5 | 2 |
portal-settings — Configurações do portal | 7 | 2 | 3 | 2 |
portal-custom-domains — Domínios próprios | 5 | 2 | 1 | 2 |
portal-oauth-providers — Provedores de login | 5 | 1 | 2 | 2 |
portal-builder
| Tool | Tipo | Escopo | Permissão | Endpoint | O que faz |
|---|---|---|---|---|---|
dashboards_builder_get | read | read | portal-config.view | GET /v1/builder | Read the portal builder of the workspace: portal identity, the draft (pages with their badge against the live version, revision, dirty), the live version number, the published versions, the theme and the SEO defaults. |
dashboards_builder_draft_save | write · confirmação (conforme os argumentos) | write | portal-config.update | PUT /v1/builder/draft | Save the whole portal draft (pages in menu order, editor state, optional theme and SEO defaults), guarded by revision. |
dashboards_builder_publish | destructive | write | portal-config.update | POST /v1/builder/publish | Save the draft as sent and publish it as the next portal version — visitors see it immediately. |
dashboards_builder_versions_get | read | read | portal-config.view | GET /v1/builder/versions/:number | Fetch one published portal version by number, with the pages it froze. |
dashboards_builder_versions_rollback | destructive | write | portal-config.update | POST /v1/builder/versions/:number/rollback | Put a published version back on the air as the next version number — visitors see it immediately. |
dashboards_builder_encrypt_secret | write | write | portal-config.update | POST /v1/builder/encrypt_secret | Encrypt a value a block keeps in the page JSON (e.g. |
dashboards_builder_upload_og_image | write | write | portal-config.update | POST /v1/builder/upload_og_image | Upload an og:image (PNG, JPEG or WebP, base64, at most ~1.5 MB) for a page or the portal defaults. |
dashboards_builder_test_form | destructive | write | portal-config.update | POST /v1/builder/test_form | Test a form block from your draft: really sends the configured e-mail (or fires the chosen webhook), marked as a preview. |
dashboards_builder_test_action | destructive | write | portal-config.update | POST /v1/builder/test_action | Test an action-button block from your draft: really sends its webhook request (POST/PUT/PATCH to an https URL), marked as a preview. |
dashboards_builder_versions_restore | destructive | write | portal-config.update | POST /v1/builder/versions/:number/restore | Copy a published portal version into the DRAFT, replacing the draft pages (to keep editing from an older version). |
dashboards_builder_theme_update | write | write | portal-config.update | PATCH /v1/builder/theme | Change colors of the portal pages' theme (the builder's Visual tab) on the draft, per mode, in hex: primary, primary_foreground, accent, background, foreground, card, muted, muted_foreground, border. |
dashboards_builder_list_block_types | read | read | portal-config.view | GET /v1/builder/tools/:name | Lists the block catalog: every block type the portal can render, with what it is for. |
dashboards_builder_describe_block_type | read | read | portal-config.view | GET /v1/builder/tools/:name | The props of one block type: JSON Schema, defaults and slots. |
dashboards_builder_list_actions | read | read | portal-config.view | GET /v1/builder/tools/:name | What an ActionButton can do (its actionType): open a link (a portal page or a URL) or fire a webhook, and the {{variables}} its webhook URL, headers and body may use. |
dashboards_builder_get_theme | read | read | portal-config.view | GET /v1/builder/tools/:name | The colors of the portal pages (the Visual tab of the draft), in hex, for light and dark mode: what each color is for and its current value. |
dashboards_builder_list_pages | read | read | portal-config.view | GET /v1/builder/tools/:name | Lists the pages of the draft in menu order: id, name, path, title and block count. |
dashboards_builder_get_page | read | read | portal-config.view | GET /v1/builder/tools/:name | One page of the draft: its settings (name, path, title, SEO) and its block tree, each block with id, type, props and slots. |
dashboards_builder_read_asset | read | read | portal-config.view | GET /v1/builder/tools/:name | Opens a file of the Assets library to look at its content: an image or a PDF is shown to you, a text file (txt, csv, json, md, xml) or an .xlsx spreadsheet comes as text. |
dashboards_builder_preview_portal_user_mapping | read | read | portal-config.view | GET /v1/builder/tools/:name | Checks a portal user mapping before saving it with dashboards_portal_user_mappings_update: the entity whose records would become the portal users, its tenant ID, e-mail and name fields, how many users that is, and how the tenant IDs match the owners of the other entities' records. |
dashboards_builder_create_page | write | write | portal-config.update | POST /v1/builder/tools/:name | Creates a page in the draft and adds it to the portal menu. |
dashboards_builder_update_page | write | write | portal-config.update | POST /v1/builder/tools/:name | Changes the settings of a page: menu name, route, browser title, whether it is listed in the portal menu, and SEO / Open Graph tags. |
dashboards_builder_delete_page | destructive | write | portal-config.update | POST /v1/builder/tools/:name | Removes a page (and its blocks) from the draft and from the menu. |
dashboards_builder_move_page | write | write | portal-config.update | POST /v1/builder/tools/:name | Moves a page to another place in the portal menu. |
dashboards_builder_insert_block | write · confirmação (conforme os argumentos) | write | portal-config.update | POST /v1/builder/tools/:name | Inserts a block of the catalog in a page: at the page root, or inside a slot of a Columns/Tabs block (parent_block_id + slot). |
dashboards_builder_update_block | write · confirmação (conforme os argumentos) | write | portal-config.update | POST /v1/builder/tools/:name | Changes props of a block. |
dashboards_builder_move_block | write | write | portal-config.update | POST /v1/builder/tools/:name | Moves a block inside its page: to another position at the root (parent_block_id null) or into a slot of a Columns/Tabs block. |
dashboards_builder_remove_block | destructive | write | portal-config.update | POST /v1/builder/tools/:name | Removes a block (and the blocks inside it) from its page. |
dashboards_builder_duplicate_block | write | write | portal-config.update | POST /v1/builder/tools/:name | Copies a block (with the blocks inside it) right after itself, with new ids. |
dashboards_builder_register_entity | write | write | portal-config.update | POST /v1/builder/tools/:name | Registers an entity (data blocks bind to it) from an operation of a connected data source (describe_data_source), with the fields inferred from a sample of its records, and starts its first sync. |
dashboards_builder_rename_entity_fields | write | write | portal-config.update | POST /v1/builder/tools/:name | Changes an existing entity: renames its fields — the labels the blocks show (table headers, card labels) — and, optionally, the entity itself, and can set its owner field (the titular: whose record it is). |
dashboards_builder_save_computed_field | write | write | portal-config.update | POST /v1/builder/tools/:name | Adds a computed field to an entity — a value derived from the other fields by an expression (n8n style) — or changes the expression of a computed field it already has (same key). |
assets
| Tool | Tipo | Escopo | Permissão | Endpoint | O que faz |
|---|---|---|---|---|---|
dashboards_assets_list | read | read | portal-config.view | GET /v1/assets | List the files of the workspace library (images and documents), newest first by default. |
dashboards_assets_get | read | read | portal-config.view | GET /v1/assets/:id | Fetch one file of the library: name, link, visibility, type, size and alternative text. |
dashboards_assets_download | read | read | portal-config.view | GET /v1/assets/:id/download | Get the bytes of a file, whatever its visibility. |
dashboards_assets_presign | write | write | portal-config.update | POST /v1/assets/presign | Get a short-lived signed URL to PUT a file straight to storage (for files over ~1.5 MB). |
dashboards_assets_create | write · confirmação (conforme os argumentos) | write | portal-config.update | POST /v1/assets | Add a file to the library: either the key of a file sent through dashboards_assets_presign, or the file itself in content_base64 (small files). |
dashboards_assets_update | write · confirmação (conforme os argumentos) | write | portal-config.update | PATCH /v1/assets/:id | Rename a file, change its alternative text, its visibility (making it public opens its storage URL to anyone; private or restricted closes it), its tenant, type or tags. |
dashboards_assets_delete | destructive | delete | portal-config.update | DELETE /v1/assets/:id | Remove a file from the library. |
dashboards_asset_types_list | read | read | portal-config.view | GET /v1/asset_types | List the file types of the workspace (Propostas, Contratos…), by name, with how many files each has. |
dashboards_asset_types_get | read | read | portal-config.view | GET /v1/asset_types/:id | Fetch one file type of the workspace: its name and dates. |
dashboards_asset_types_create | write | write | portal-config.update | POST /v1/asset_types | Create a file type (unique name in the workspace, ignoring case). |
dashboards_asset_types_update | write | write | portal-config.update | PATCH /v1/asset_types/:id | Rename a file type; the files keep it under the new name. |
dashboards_asset_types_delete | destructive | delete | portal-config.update | DELETE /v1/asset_types/:id | Remove a file type. |
portal-settings
| Tool | Tipo | Escopo | Permissão | Endpoint | O que faz |
|---|---|---|---|---|---|
dashboards_portal_settings_get | read | read | portal-config.view | GET /v1/portal_settings | Read the workspace portal's configuration: branding (company name, title, logos, theme colors), languages, address (signup_slug, portal_slug/portal_domain), login and SSO options, notification settings and sender identity, and site settings (security headers, SEO, tracking/chat integrations, custom code). |
dashboards_portal_settings_update | write · confirmação | write | portal-config.update | PATCH /v1/portal_settings | Update the workspace portal's configuration. |
dashboards_portal_settings_logo_upload | write | write | portal-config.update | POST /v1/portal_settings/logo | Upload a portal image — the logo, the dark-background logo or the favicon — sent inline as base64. |
dashboards_portal_settings_logo_delete | destructive | delete | portal-config.update | DELETE /v1/portal_settings/logo | Remove a portal image (logo, dark-background logo or favicon); the portal falls back to its default. |
dashboards_portal_settings_domain_update | write | write | portal-config.update | PATCH /v1/portal_settings/domain | Set the portal's platform address https://{slug}.{domain} (domain must be one of available_domains from dashboards_portal_settings_get), or clear it with both null. |
dashboards_portal_settings_check_slug | read | read | portal-config.view | GET /v1/portal_settings/domain/check_slug | Check whether a portal address slug.domain is free for this workspace. |
dashboards_portal_settings_verify_sender | destructive | write | portal-config.update | POST /v1/portal_settings/verify_sender | Request or re-check the AWS SES verification of the notification sender e-mail. |
portal-custom-domains
| Tool | Tipo | Escopo | Permissão | Endpoint | O que faz |
|---|---|---|---|---|---|
dashboards_portal_custom_domains_list | read | read | portal-config.view | GET /v1/portal_custom_domains | List the custom domains of the workspace's portal, each with its status, certificate dates and the dns_records the customer must publish. |
dashboards_portal_custom_domains_create | write | write | portal-config.update | POST /v1/portal_custom_domains | Register a custom domain (e.g. |
dashboards_portal_custom_domains_delete | destructive | delete | portal-config.update | DELETE /v1/portal_custom_domains/:id | Remove a custom domain from the portal, tearing down its CloudFront tenant and certificate when provisioned. |
dashboards_portal_custom_domains_verify | destructive | write | portal-config.update | POST /v1/portal_custom_domains/:id/verify | Check the DNS of a custom domain and provision it on AWS (certificate + CloudFront tenant) while pending, or refresh its status once provisioned. |
dashboards_portal_custom_domains_dns_status | read | read | portal-config.view | GET /v1/portal_custom_domains/:id/dns_status | Read-only DNS probe of a custom domain: whether the ownership TXT (_dashmagico-verify.{hostname}, ownership_ok) and the routing and certificate-validation CNAMEs (routing_ok, validation_ok) are in place, and what is wrong when not. |
portal-oauth-providers
| Tool | Tipo | Escopo | Permissão | Endpoint | O que faz |
|---|---|---|---|---|---|
dashboards_portal_oauth_providers_list | read | read | portal-config.view | GET /v1/portal_oauth_providers | List the portal's OpenID Connect login providers (name, issuer, client id, scopes, enabled). |
dashboards_portal_oauth_providers_create | write · confirmação | write | portal-config.update | POST /v1/portal_oauth_providers | Add an OpenID Connect login provider to the portal. |
dashboards_portal_oauth_providers_update | write · confirmação | write | portal-config.update | PATCH /v1/portal_oauth_providers/:id | Update an OpenID Connect login provider. |
dashboards_portal_oauth_providers_delete | destructive | delete | portal-config.update | DELETE /v1/portal_oauth_providers/:id | Remove an OpenID Connect login provider from the portal; its login button disappears and its users can no longer sign in through it. |
dashboards_portal_oauth_providers_test | destructive | write | portal-config.update | POST /v1/portal_oauth_providers/test | Pre-flight check of an OIDC issuer URL: fetches its discovery document from the third-party issuer and returns its endpoints (ok: true) or why it failed (ok: false). |
Os campos de cada recurso estão na Referência da API e em dashboards_schemas_get.
Uma tool que você não pode rodar não aparece em tools/list. Se uma daqui não está lá, veja Autenticação.