---
title: "Draft alignment-card suggestions from recent traffic (MNE-7173)"
method: GET
path: "/agents/{agent_id}/alignment/suggestions"
tags: ["Agents"]
---

# Draft alignment-card suggestions from recent traffic (MNE-7173)

`GET /agents/{agent_id}/alignment/suggestions`

## Request

- Base URL: `https://api.mnemom.ai/v1`
- URL: `https://api.mnemom.ai/v1/agents/{agent_id}/alignment/suggestions`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Mnemom-Api-Key`
  - API key in cookie `mnemom_session`

Analyzes the agent's most recent traces (bounded window, indexed, no offset/pagination fan-out) and proposes candidate Alignment Card rules — each tagged `value` | `boundary` | `forbidden_action` and citing the concrete trace evidence it was derived from. Advisory only: nothing is persisted here, and nothing is applied to a live card without an explicit Approve through the existing card-save path (`PUT /v1/alignment/agent/{agent_id}`). Auth is `authorizeAgentAccess` (owner-org only, no public/anonymous bypass) — NOT the trace-viewer's `checkAgentPrivacy` gate, since this drafts governance-card content rather than surfacing raw traces.

## Path parameters

- `agent_id` string, required

## Response `200`

Suggested alignment-card rules derived from recent traffic, plus the analysis window metadata.

- object
  - `suggestions` object[]
    - `type` 'value' | 'boundary' | 'forbidden_action'
    - `statement` string
    - `evidence` object
      - `count` integer
      - `sample_trace_ids` string[]
    - `confidence` number
  - `analysis` object
    - `traces_considered` integer
    - `window_limit` integer
    - `min_evidence_threshold` 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.

---

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