---
title: "List historical risk assessments for an agent"
method: GET
path: "/risk/history/{agent_id}"
tags: ["Risk"]
---

# List historical risk assessments for an agent

`GET /risk/history/{agent_id}`

## Request

- Base URL: `https://api.mnemom.ai/v1`
- URL: `https://api.mnemom.ai/v1/risk/history/{agent_id}`
- Auth: HTTP bearer

Authorization: JWT required; the risk service resolves the caller's billing account from the token (never from the path) and filters the history by both the agent id and that account, so an agent owned by another account returns an empty page and never another tenant's data.

## Path parameters

- `agent_id` string, required

## Query parameters

- `limit` integer
- `offset` integer
- `include_playground` boolean

## Response `200`

History page.

- object
  - `assessments` RiskAssessment[]
    - `assessment_id` string
    - `agent_id` string
    - `risk_score` number: 0–1000 integer (higher = riskier).
    - `risk_level` 'low' | 'moderate' | 'high' | 'critical'
    - `recommendation` 'proceed' | 'proceed_with_caveats' | 'require_approval' | 'block'
    - `confidence` 'insufficient' | 'low' | 'medium' | 'high'
    - `contributing_factors` object[]
    - `suggested_thresholds` object
    - `explanation` string
    - `proof_id` string, nullable
    - `proof_status` 'none' | 'pending' | 'completed' | 'failed'
    - `created_at` string, date-time
  - `total` integer
  - `limit` integer
  - `offset` integer

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `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.
- `503`: An upstream dependency is currently unavailable. The request was not processed; retry after the cooldown window.

---

[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)
