Patch Thread Message

You can patch a thread conversation to update logged message(s). To patch any message, you only need to provide the thread_id and the message_id. Both thread_id and message_id will the same as that returned by the Thread Conversation API at ingestion time.

Update Rating of a Thread Message

PATCH https://api.context.ai/api/v1/log/conversation/thread/:thread_id

Patches a thread converation

Request Body

Example Request

{
    "messages": [
        {
            "id": "e_aeglcefpnoqeumu",
            "rating": 1
        }
    ]
}

Example Response

{
    "status": "ok"
}

Last updated