Plan a bulk dashboard deployment to accounts
dashboards.bulk.deploy_plan
From a workspace, computes the deployment plan of up to 30 templates (published system templates or the workspace's published ones; ids from dashboards.templates.list) over its active accounts (all, or child_org_ids): for each template × account, whether it is new, already_deployed or incompatible (missing_platforms: platforms the account has no connection for), and the suggested data_source_mapping (the first connection of each platform; the internal CRM source is always available). counts has how many items are in each status over the whole plan; data, the items, filtered by status (use status new to get the ones to deploy) and paginated by cursor (limit 50 by default). Writes nothing; pass the new items to dashboards.bulk.deploy. Owners and admins of the workspace.
- Alcance
dashboards:read- Permiso
- Ver el módulo · Solo owner, admin
- Tool del MCP
dashboards_bulk_deploy_planEn la superficie completa; en la compacta,mb_execute_operationconid: "dashboards.bulk.deploy_plan".
Costo declarado: hasta 1500 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).
Parámetros
template_idsarray<string>cuerpoTemplates to plan (published system templates or the workspace's published ones; dashboards.templates.list).
child_org_idsarray<string>cuerpoopcionalOnly these accounts (platform.orgs.list); default all the active accounts.
statusenumcuerpoopcionalOnly the items in this status; new are the ones to pass to dashboards.bulk.deploy. counts always covers the whole plan.
Valores: new, already_deployed, incompatible
limitintegercuerpoopcionalHow many items per page (default 50; up to 15000, the largest possible plan, which the screen reads whole). An item is about 300 characters: over the MCP keep pages small and use status.
Por defecto: 50
cursorstringcuerpoopcionalThe next_cursor of the previous page.
Respuesta
countsobjectItems per status over the whole plan.
dataarray<object>The items of this page.
has_morebooleanMore items after this page.
next_cursorstringPass it as cursor for the next page.
Errores
Ejemplo
curl -X POST "https://api.mb-suite.com/v1/dashboards/bulk/deploy-plan" \
-H "Authorization: Bearer $MB_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"template_ids": [
"TEMPLATE_ID"
]
}'Probar con tu API key de prueba
Con una API key de prueba el pedido va siempre a tu organización de práctica: datos de ejemplo que puedes reiniciar.
curl -X POST "https://api.mb-suite.com/v1/dashboards/bulk/deploy-plan" \
-H "Authorization: Bearer $MB_TEST_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"template_ids": [
"TEMPLATE_ID"
]
}'