---
title: "Update Facts"
method: PATCH
path: "/interactions/{id}/facts/"
tags: ["Facts"]
---

# Update Facts

`PATCH /interactions/{id}/facts/`

Updates multiple facts associated with an interaction.

## Path parameters

- `id` string, uuid, required

## Headers

- `Tenant-Name` string, required — Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

## Request body

- FactsBatchUpdateRequest
  - `facts` FactsBatchUpdateInput[], required — A list of facts to be updated.
    - `factId` string, uuid, required — The unique identifier of the fact to be updated.
    - `isDiscarded` boolean — Set this to true for facts discarded by an end-user, then filter those out from the document generation request.
    - `text` string — The updated text content of the fact.
    - `group` string — The updated group key for the fact.

## Response `200`

Returns the list of successfully updated facts.

- FactsBatchUpdateResponse
  - `facts` FactsBatchUpdateItem[], required — A list of updated facts.
    - `id` string, uuid, required — The unique identifier of the updated fact.
    - `text` string, required — The updated text content of the fact.
    - `group` string, required — The updated group key to which the fact belongs.
    - `groupId` string, uuid, required
    - `source` 'core' | 'system' | 'user', required
    - `isDiscarded` boolean, required — Indicates whether the fact is marked as discarded.
    - `createdAt` string, date-time, required — The original timestamp when the fact was created.
    - `updatedAt` string, date-time, required — The timestamp when the fact was last updated.

## Other responses

- `504` — RFC9457

---

[API](https://skmtc.net/corti/apis/admin-api.md) · [All operations](https://skmtc.net/corti/apis/admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/corti/admin-api/versions/5d1895a1b3fc/schema)
