Report

Query workspace event metrics over a date range

Changed on

Retrieve daily counts of registered event metrics (e.g. auto_heal_insights) for a single workspace. Each metric in the response carries customer-facing copy — a display name, description, benefit statement, benefit categories, and cost levers — so callers (e.g. the mabl MCP server) can present the data with consistent framing. Backed by the precomputed workspace_event_metric_daily fact table. Accessible to any workspace member (same authorization as quality metrics).

get/workspaces/{workspace_id}/reports/eventMetrics

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/workspaces/{workspace_id}/reports/eventMetrics
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Path parameters

workspace_idstring required

Workspace ID to query

Query parameters

metric_namesstring

Comma-separated list of metric names to return (e.g. auto_heal_insights). When omitted, returns all metrics with data in the date range.

start_datestring

Inclusive start date (YYYY-MM-DD). Defaults to 30 days before end_date.

end_datestring

Inclusive end date (YYYY-MM-DD). Defaults to yesterday (most recent fully-aggregated day).

Response

Event metric series for the workspace over the date range

workspace_idstring

The workspace ID

start_datestring

Inclusive start of the date range (YYYY-MM-DD)

end_datestring

Inclusive end of the date range (YYYY-MM-DD)

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status