Apify Run Health Monitor

v1.0.0$0.003/actor checkedSignal Detection

Last updated November 23, 2026

Check your own Apify actors for failed, timed out, slow, and empty runs, on your own Apify API token. One health row per actor with run counts, failure rate, durations, empty dataset checks, and usage, plus a free alert row for each problem run.

Install

bash
npx @mambalabsdev/mcp-apify-run-health-monitor

Every tool here also runs hosted, with no install at all, through Apify's MCP endpoint.

Features

  • Works with your own Apify API token; the token is never stored or logged.
  • One health row per actor: runs by status, failure rate, durations, empty datasets, and usage.
  • A verdict of ok, warning, or unhealthy with plain reasons.
  • A free alert row with the Console link for every failed, timed out, slow, empty, or stuck run.
  • Pay per event: Actor checked at $0.003.

Input

actorsarrayoptional

Actor IDs, username/name, or Apify Console or Store URLs, one per line. Use the single word all to check every actor that started a run in the window. Store actors you run count too: their runs on your account are read.

api_tokenstringoptional

Your own Apify API token, from Apify Console, Settings, API and Integrations. It is sent only to api.apify.com and is never stored, logged, or written to a row. A scoped token needs read access to actors, runs, and datasets. With no token, the run writes one free row and reads nothing.

lookback_hoursstringoptional

How far back to read runs, 1 to 2160 hours (default 24). Runs started in this window are counted.

max_failure_pctstringoptional

An actor whose failed plus timed out runs pass this share of its finished runs is marked unhealthy, 0 to 100 (default 10).

min_itemsstringoptional

A succeeded run whose dataset holds fewer items than this counts as empty (default 1). Set 0 to skip the dataset check.

datasets_per_actorstringoptional

How many of each actor's newest succeeded runs get their dataset item count read, 0 to 20 (default 3).

slow_factorstringoptional

A succeeded run that takes more than this many times the actor's median run time, and at least 30 s longer, counts as slow, 1.2 to 100 (default 2). Needs 3 or more succeeded runs in the window.

count_aborted_as_failedstringoptional

yes or no (default no). Aborted runs are often stopped by hand, so by default they lower the verdict to warning but do not count in the failure rate.

alert_rowsstringoptional

yes or no (default yes). Writes a free row for each problem run, newest first, up to 20 per actor.

include_idle_actorsstringoptional

yes or no (default no). With actors set to all, also checks every actor your account owns that started no run in the window; each gets the verdict no_runs and is charged like any other actor checked.

max_actorsstringoptional

Most actors to check in one run, 1 to 1000 (default 100). With all, the actors with the most runs come first.

max_runsstringoptional

Most runs to read from your run list, newest first, 100 to 50000 (default 10000). Each health row says when this limit cut the window short.

max_charge_usdstringoptional

Optional. The run stops before a charge that would pass this amount. Rows already written stay, and one free row names the first actor not checked.

Output schema

json
{
  "row_type": "string",
  "actor_id": "string",
  "actor_name": "string",
  "actor_title": "string",
  "window_start": "string",
  "window_end": "string",
  "runs_total": "integer",
  "runs_succeeded": "integer",
  "runs_failed": "integer",
  "runs_timed_out": "integer",
  "runs_aborted": "integer",
  "runs_active": "integer",
  "failure_rate_pct": "number",
  "last_run_id": "string",
  "last_run_status": "string",
  "last_run_started_at": "string",
  "last_success_at": "string",
  "median_duration_secs": "number",
  "slowest_duration_secs": "number",
  "slow_runs": "integer",
  "datasets_checked": "integer",
  "empty_dataset_runs": "integer",
  "last_success_item_count": "integer",
  "usage_usd": "number",
  "verdict": "string",
  "reasons": "array",
  "alert_count": "integer",
  "console_url": "string",
  "alert_kind": "string",
  "run_id": "string",
  "run_status": "string",
  "run_task_id": "string",
  "run_started_at": "string",
  "run_finished_at": "string",
  "run_duration_secs": "number",
  "run_item_count": "integer",
  "run_usage_usd": "number",
  "run_console_url": "string",
  "row_status": "string",
  "error_reason": "string",
  "billable_events_json": "string",
  "scraped_at": "string"
}

Pricing

$0.003per actor checked
EventFree plan price
Actor checked$0.003
Actor Start$0.002

Pay per event on the Apify platform. Paid Apify plans pay less per event. No subscription, no seat license.

On the Apify free plan the actor stops at $1.50 of charges a month, about 500 actor checkeds. Any paid Apify plan removes the cap.

Limits

  • Runs are grouped by actor. Saved tasks are not checked on their own; an alert row names the task that started the run.
  • usage_usd is Apify's usageTotalUsd from the run list. It is platform usage, not the pay per event charges of Store actors you ran.
  • Item counts are read for the newest datasets_per_actor succeeded runs per actor only, 3 by default, to keep the run short.
  • Slow run checks need 3 or more succeeded runs in the window.
  • With all, an actor with no run in the window is listed only when include_idle_actors is yes.
  • max_runs caps the run list read, 10,000 by default. A health row says so when the cap cut the window short.