v1

latestOpenAPI 3.1.02026-07-2676188241.3 KB
Facts

Add Facts

Adds new facts to an interaction.

post/interactions/{id}/facts/

Path parameters

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

The unique identifier of the interaction. 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

Example request

{
  "facts": [
    {
      "group": "other"
    }
  ]
}

Response

Returns the created facts, including their unique identifiers and associated metadata.

Example response

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