---
title: "Agent Smith per-scenario resistance trend (admin console)."
method: GET
path: "/smith/resistance"
tags: ["Dojo"]
---

# Agent Smith per-scenario resistance trend (admin console).

`GET /smith/resistance`

## Request

- Base URL: `https://api.mnemom.ai/v1`
- URL: `https://api.mnemom.ai/v1/smith/resistance`
- Auth: HTTP bearer

Returns a daily breach-vs-held resistance time-series for one scenario (how well agents withstood Agent Smith over the window), derived from dojo_sim_events: attempts = Smith attack turns, breached = landed breaches, held = attempts − breached, resistance = held/attempts. `?scenario=` is required; `?days=` (default 30, max 365) bounds the window. `source` is the table the series came from, or "unavailable" on a fail-soft empty (no fabricated numbers). Admin-only. MNE-1313.

## Query parameters

- `scenario` string, required
- `days` integer

## Response `200`

The daily resistance series (possibly empty).

- object
  - `scenario` string, required
  - `source` string, required: Source table, or "unavailable" on a fail-soft empty.
  - `buckets` object[], required
    - `date` string, required: UTC day, YYYY-MM-DD.
    - `attempts` integer, required
    - `held` integer, required
    - `breached` integer, required
    - `resistance` number, required: held / attempts, in [0,1].

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `429`: Rate-limit exceeded. The global per-IP limiter (100 requests/minute, applied to every `/v1/*` route) rejected this request. Back off until the window resets — `Retry-After` carries the cooldown in seconds and `X-RateLimit-Reset` the absolute reset time.
- `500`: Server error — request was well-formed but the server failed to fulfill it. Typically a downstream dependency (DB / RPC / external API) returned an unexpected error.

---

[API](https://skmtc.dev/mnemom/apis/mnemom-api.md) · [All operations](https://skmtc.dev/mnemom/apis/mnemom-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mnemom/apis/mnemom-api/revisions/274b7a6ea182?raw)
