Get the completed moderation result and transcript.
POST https://api.chatsight.ai/stream/:convoid
HEADER x-chatsight-api-auth: <API-TOKEN>
HEADER x-chatsight-api: chatsightvoice
curl --location --request POST 'https://api.chatsight.ai/stream/pizzaChatRoom' \
--header 'x-chatsight-api: chatsightvoice' \
--header 'x-chatsight-api-auth: <YOUR_API_KEY>' \
--data-raw '{authorKey: <AUTHOR_KEY>}'
Payload Properties
Key | Value | Description |
---|---|---|
authorKey | STRING | The Author Key sent when creating the initial request. Data stored is decrypted with this key. We cannot recover data if you lose this information. |
Response
Responses include the following: a complete transcript sorted chronologically, and a moderation result for every sentence.
[
true,
{
"transcript": {
"master": [
[
"00:00:33",
"Hey guys, we're here to talk about eating pizza."
],
[
"00:00:46",
"Sometimes its fun to eat some pizza with friends!"
],
[
"00:00:54",
"You're right dude I love pizza!"
]
],
"speakers": [
"0":[
[
"00:00:33",
"Hey guys, we're here to talk about eating pizza."
],
[
"00:00:46",
"Sometimes its fun to eat some pizza with friends!"
]
],
"1":[
[
"00:00:54",
"You're right dude I love pizza!"
]
]
]
},
"moderationResults": [
{
"api": "chatsight-lang-voice",
"success": true,
"response": {
"api": "chatsight-lang-text",
"success": true,
"response": {
"engine1": {
"raceInvocation": 0.0001152931508840993,
"politicalLanguage": 0.002674311166629195,
"baseline": 0.9972103238105774
},
"engine2": {
"raceInvocation": 0.00004201823321636766,
"defensive": 0.00015559271560050547,
"baseline": "Not required in engine2",
"aggressive": 0.00005468915696837939,
"vulgar": 0.010000000149011612
},
"suggestedAction": [
"pass",
1.6247108589523749
],
"patches": {
"extremistFormattingPatch": false,
"shortVulgarityCommentLeniency": true,
"modelTrainingWordPatch": [
false
],
"curseWordOverride": false,
"sentimentScore": 0.10000000149011612
},
"insights": {
"dialectPrediction": [
"english",
0.37023255813953493
]
},
"metadata": {
"modelTrainingWords": [
"xertz",
"agastopia"
],
"computeTime": 70,
"times": [
70.77825117111206,
35.575737953186035,
0.04517412185668945,
28.69554901123047,
71.95469117164612
],
"uuid": "Future Placeholder",
"warningIssued": false,
"endpoint": "...",
"alloc": "...",
"latencyAlert": false
}
},
"TOS": "https://announce.chatsight.ai/terms_of_service",
"version": "..."
},
"voiceSTT": "Hey guys, we're here to talk about eating pizza.",
"convoID": "pizzaChatRoom",
"messageOrder": 1619616012327,
"time": "1619616012327"
},
...
]
}
null
]