> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Conflicts

> List unresolved conflicts for an agent from the stored conflict report.

## Overview

Returns conflicts that are **not yet marked resolved** for the given agent and date. Memanto reads the conflict report JSON produced by the conflict-detection workflow (for example after running a daily summary that generates conflicts locally).

If no report exists for that date, the list is empty (`count: 0`).

<Warning>
  Each conflict carries an **`index`** — its stable position in the *full* report, including already-resolved rows. Pass that value as `conflict_index` to [Resolve Conflict](/api-reference/data/resolve-conflicts); do **not** use the conflict's position in this filtered response. Because this endpoint omits resolved conflicts, the two numbering schemes diverge after the first resolution, and resolving by filtered position can act on the wrong memory.
</Warning>

## Authentication

API clients do not send an API key or `Authorization` header.

<ParamField header="X-Session-Token" type="string" required>
  Session token from [Activate Agent](/api-reference/sessions/activate-agent). Must match `agent_id`.
</ParamField>

## Path Parameters

<ParamField path="agent_id" type="string" required>
  The unique identifier of the agent.
</ParamField>

## Query Parameters

<ParamField query="date" type="string">
  Report date in `YYYY-MM-DD`. Defaults to **today (UTC)** on the server when omitted.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "http://localhost:8000/api/v2/agents/my-agent/conflicts?date=2026-05-08" \
    -H "X-Session-Token: your_session_token"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 - OK theme={null}
  {
    "agent_id": "my-agent",
    "session_id": "sess_982287b6a5f5",
    "date": "2026-05-08",
    "conflicts": [
      {
        "index": 2,
        "type": "contradiction",
        "title": "Database preference changed",
        "old_memory_id": "abc-123",
        "new_memory_id": "def-456",
        "resolved": false
      }
    ],
    "count": 1
  }
  ```

  ```json 401 - Unauthorized (Missing Token) theme={null}
  {
    "detail": "Missing session token. Use X-Session-Token header."
  }
  ```

  ```json 500 - Server Error theme={null}
  {
    "detail": {
      "error": "InternalServerError",
      "message": "An unexpected error occurred",
      "details": {
        "original_error": "Session is for agent 'other-agent', cannot access 'my-agent'"
      }
    }
  }
  ```
</ResponseExample>

## Next Steps

* [Resolve Conflict](/api-reference/data/resolve-conflicts) to apply a resolution for one row in the report
* [Recall](/api-reference/search/recall) to inspect memories directly
