get https://api.sentiyen.com/api/v3/chat/message/
Used for retrieval of references and other details of a message. Primarily used after streaming has been completed in order to retrieve id of the answer and references.
Log in to see full request history
Sample response:
{
"conversationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"messageId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"answerContent": "1+1 is 2[^2TnHBUfLG]",
"answerMessageId": "fd263035-62fb-4a87-91e6-11b27efd084b",
"references": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"contentId": "db54fe9c-83ab-4cee-8811-b7a17382a710",
"relevanceRank": 1,
"source": "YOUTUBE",
"title": "Thinking about visiting Hawaii? Watch this first!",
"url": "https://www.youtube.com/watch?v=L6AbHjN_L8c",
"thumbnailUrl": "https://i.ytimg.com/an_webp/S9BENBJkISc/mqdefault_6s.web",
"footnoteId": "2TnHBUfLG",
"urlContentId": "L6AbHjN_L8c",
"timeSeconds": 2,
"text: "1+1 is always 2"
}
]
}
Responses