PATCH
/
interactions
/
{id}
/
facts
/
{factId}
curl --request PATCH \
  --url https://api.{environment}.corti.app/v2/interactions/{id}/facts/{factId} \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "group": "other",
  "source": "core",
  "isDiscarded": true
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "text": "<string>",
  "group": "other",
  "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "source": "core",
  "isDiscarded": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Headers

Tenant-Name
string

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

Example:

"copiloteu"

Path Parameters

id
string
required

The unique identifier of the interaction to which the fact belongs. Must be a valid UUID.

factId
string
required

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

Body

application/json

Response

200
application/json
Returns the updated fact, including updated fields.

The response is of type object.