Lists the ad hoc report PDFs generated in the organization (PDFs made on the spot from a template or an editable report, without a report instance), newest first, paginated by cursor: title, period, account, template and when the file expires (12 months). Get a download link with reports.adhoc.pdf_url. Members and viewers only see the accounts assigned to them; that filter and target_org_id read further until the page is full. Requires view access to Reports.
Alcance
reports:read
Permiso
Ver el módulo
Tool del MCP
reports_adhoc_listEn la superficie completa; en la compacta, mb_execute_operation con id: "reports.adhoc.list".
Costo declarado: hasta 202 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).
Parámetros
limitintegerqueryopcional
How many ad hoc reports per page (default 50, at most 200).
Por defecto: 50
cursorstringqueryopcional
The next_cursor of the previous page, to get the next one; omit it for the first page.
target_org_idstringqueryopcional
Only the ad hoc reports of this account (platform.orgs.list).
Signs a new 7-day download link for the PDF of an ad hoc report and stores it on the record, while the file is still in storage (12 months after it was generated). 409 adhoc_pdf_expired once it expired; 404 adhoc_pdf_missing if the file is gone. Requires view access to Reports. With Google Ads, Google Business Profile, LinkedIn, TikTok or YouTube, their terms limit it through the API and the MCP: what they do not allow answers 403 platform_terms_restricted (the permissions guide lists what each platform allows).
Alcance
reports:write
Permiso
Ver el módulo
Tool del MCP
reports_adhoc_refresh_urlEn la superficie completa; en la compacta, mb_execute_operation con id: "reports.adhoc.refresh_url".
Costo declarado: hasta 1 lecturas y 1 escrituras por llamada (cuentan en el cupo diario).
curl-X POST "https://api.mb-suite.com/v1/reports/adhoc/{adhoc_report_id}/refresh-url" \
-H"Authorization: Bearer $MB_API_KEY"
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/reports/adhoc/{adhoc_report_id}/refresh-url" \
-H"Authorization: Bearer $MB_TEST_KEY"
GET/v1/reports/adhoc/{adhoc_report_id}/pdf-url
Get the download link of an ad hoc report PDF
reports.adhoc.pdf_url
LecturaIdempotenteDesde 2026-11-01
Returns a signed download link (valid one hour) for the PDF of an ad hoc report, while the file is still in storage (12 months after it was generated), without changing anything: a read-only credential can use it. 409 adhoc_pdf_expired once it expired; 404 adhoc_pdf_missing if the file is gone. Requires view access to Reports. With Google Ads, Google Business Profile, LinkedIn, TikTok or YouTube, their terms limit it through the API and the MCP: what they do not allow answers 403 platform_terms_restricted (the permissions guide lists what each platform allows).
Alcance
reports:read
Permiso
Ver el módulo
Tool del MCP
reports_adhoc_pdf_urlEn la superficie completa; en la compacta, mb_execute_operation con id: "reports.adhoc.pdf_url".
Costo declarado: hasta 1 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).
Deletes an ad hoc report from the history together with its PDF file. It does not go to the trash: the file is removed from storage, so there would be nothing to restore. Owners and admins only. Outside the screen it always needs a dry run and its confirm_token.
Pide confirmación: primero dry_run: true (vista previa y confirm_token, que vale 10 minutos y una sola vez), después el mismo cuerpo con confirm_token. En unas pocas, solo con ciertos datos: la descripción dice cuándo. Por qué y cómo: Vista previa y confirmación.
Alcance
reports:writey «Permitir eliminar» (reports:delete en OAuth)
Permiso
Editar en el módulo · Solo owner, admin
Tool del MCP
reports_adhoc_deleteEn la superficie completa; en la compacta, mb_execute_operation con id: "reports.adhoc.delete".
Costo declarado: hasta 1 lecturas y 1 escrituras por llamada (cuentan en el cupo diario).