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

# Batch Forget Agent Facts

> Mark multiple agent facts as forgotten in a single request

```
POST /openapi/memorylake/api/v3/workspaces/{workspaceId}/agents/{agentId}/facts/forget
```

Marks multiple agent facts as forgotten (expired) in a single request. Like [Forget Agent Fact](/features/memorylake/api-reference/facts/forget-agent-fact), this is a soft delete -- facts remain available for audit purposes but are excluded from future retrievals and searches.

<Note>
  **Permission required:** `workspace_agent:fact_delete`
</Note>

### Path Parameters

<ParamField path="workspaceId" type="string" required>
  Workspace ID
</ParamField>

<ParamField path="agentId" type="string" required>
  Agent ID
</ParamField>

### Request Body

<ParamField body="ids" type="array" required>
  Array of fact IDs to forget
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws-fe314186ccd18cde04d6af48a5afd79f/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/facts/forget' \
    -H 'Authorization: Bearer sk_xxxxxx' \
    -H 'Content-Type: application/json' \
    -d '{
      "ids": [
        "fact-11a0e057d09877c9c492633fd60424fc",
        "fact-9e6e9b323824eb264c1165994af65c1e",
        "fact_9h8g7f6e5d4c"
      ]
    }'
  ```
</RequestExample>

### Response

Returns an empty `data` object on success.

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "success": true,
    "data": {}
  }
  ```
</ResponseExample>


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