List the organizations this caller can reach
platform.orgs.list
The current organization first, then the Accounts (child organizations) of a workspace that the caller can reach: the ones the user is a member of or has access to, narrowed by the credential's child_scope when calling with a key. Archived and deleted Accounts are not listed (child_orgs.accounts.list_with_sources lists the archived ones too). Each row has name, slug, category, tier, enabled_modules (the modules that are on, as the app resolves them), members_count (direct members), created_at, child_org_status (dormant, pending_activation or active; null for a workspace) and billing_mode (parent_managed, parent_pays, self_pays or independent); the row of the current organization also has child_orgs_count (the Accounts of the workspace that exist, archived ones included). For owners and admins each row also has subscription (an API key or OAuth app also needs the child_orgs read scope): the subscription the organization pays itself (status, plan, cancel_at_period_end, current_period_end, trial_end), or null when it pays none (an Account its workspace pays for or manages); members and viewers do not get the field, as in the app. Never Stripe ids, prices or payment methods. Without limit it brings every Account (up to 300); with limit, pages of that many Accounts after the current organization (which comes only in the first page), with has_more and next_cursor. Cost: one read per Account of the workspace within the credential's child_scope (archived and deleted ones included, up to 300), on every page. Module: Organization (organizations), even though the id starts with platform.; any valid credential can read it.
- Alcance
organizations:read- Permiso
- Ver el módulo
- Tool del MCP
platform_orgs_listEn la superficie completa; en la compacta,mb_execute_operationconid: "platform.orgs.list".
Costo declarado: hasta 301 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).
Parámetros
limitintegerqueryopcionalHow many Accounts this page brings at most, after the current organization (by default all of them, up to 300).
Por defecto: 300
cursorstringqueryopcionalThe next_cursor of the previous page, exactly as it came (only for the same list and filters); without it, the first page.
Respuesta
dataarray<object>has_morebooleanTrue when more Accounts follow: ask again with next_cursor.
next_cursorstringPass it as cursor to get the next page.
Errores
Ejemplo
curl "https://api.mb-suite.com/v1/orgs" \
-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/orgs" \
-H "Authorization: Bearer $MB_TEST_KEY"