Menú

Referencia de la API · Reports

Etiquetas

reports · labels · 1 operación

GET/v1/reports/labels

List the labels of report templates or reports

reports.labels.list

LecturaIdempotenteDesde 2026-11-01

Lists the labels this organization uses to organize its report templates (of: templates, the default) or its editable reports and report instances (of: reports): id, name, color and order, in the screen's order (up to 200). Use the ids in label_ids of reports.templates.create/update, reports.reports.create/update or reports.instances.update; an id that is not here is label_unknown. Labels are created and edited in MB Suite. Requires view access to Reports.

Alcance
reports:read
Permiso
Ver el módulo
Tool del MCP
reports_labels_listEn la superficie completa; en la compacta, mb_execute_operation con id: "reports.labels.list".

Costo declarado: hasta 200 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).

Parámetros

ofenumqueryopcional

templates (report templates, default) or reports (editable reports and report instances).

Valores: templates, reports · Por defecto: "templates"

Respuesta

dataarray<object>

The labels, in the screen's order.

Errores

Ejemplo

curl "https://api.mb-suite.com/v1/reports/labels" \
  -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 "https://api.mb-suite.com/v1/reports/labels" \
  -H "Authorization: Bearer $MB_TEST_KEY"