v1

latestOpenAPI 3.1.02026-07-2676188241.3 KB
Facts

Update Fact

Updates an existing fact associated with a specific interaction.

patch/interactions/{id}/facts/{factId}

Path parameters

idstring uuid required
Example:f47ac10b-58cc-4372-a567-0e02b2c3d479

The unique identifier of the interaction. Must be a valid UUID.

factIdstring uuid required

The unique identifier of the fact to update. Must be a valid UUID.

Example:3c9d8a12-7f44-4b3e-9e6f-9271c2bbfa08

The unique identifier of the fact to update. Must be a valid UUID.

Headers

Tenant-Namestring required

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:base

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Request body

textstring

The updated text of the fact.

groupstring

The updated group key for the fact.

source'core' | 'system' | 'user'
isDiscardedboolean

Set this to true if discarded by an end-user, then filter out from the document generation request.

Example request

{
  "group": "other"
}

Response

Returns the updated fact, including updated fields.

idstring uuid required

The unique identifier of the fact.

textstring required

The updated text content of the fact.

groupstring required

The updated group key to which the fact belongs.

groupIdstring uuid required
source'core' | 'system' | 'user' required
isDiscardedboolean required

Indicates whether the fact is marked as discarded.

createdAtstring date-time required

The original timestamp when the fact was created.

updatedAtstring date-time required

The timestamp when the fact was last updated.

Example response

{
  "id": "3c9d8a12-7f44-4b3e-9e6f-9271c2bbfa08",
  "group": "other",
  "groupId": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}