> ## 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.

# Detect Conflicts

> Scan one day's memories for conflicts.

## Overview

Compares the memories stored on one day against the agent's memories and stores the conflicts it finds, replacing that day's earlier scan. Memanto Cloud also scans every agent nightly at 06:00 UTC. When the day has no memories, `conflicts.status` is `no_sessions`.

## Authentication

**x-api-key** `string` *required*

Your Memanto Cloud API key (`mk_...`). See [Authentication](https://docs.memanto.ai/cloud/api/introduction.md#authentication).

## Path Parameters

**agent\_id** `string` *required*

The agent's ID.

## Body

**date** `string`

`YYYY-MM-DD`. Defaults to today (UTC).

```bash cURL theme={null}
curl -X POST "https://api.memanto.ai/agents/my-agent/conflicts/generate" \
  -H "x-api-key: $MEMANTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "date": "2026-11-18"
  }'
```

```json 200 - OK theme={null}
{
  "agent_id": "my-agent",
  "date": "2026-11-18",
  "conflicts": {
    "status": "success",
    "conflict_count": 2
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.