Marsview API Documentation
Search…
Marsview API Documentation
What are Marsview APIs?
Async Speech Analytics API
Overview
GET Access Token
POST Audio/Video Files
POST Compute Request
GET Request Output
Subscribe to Webhook[beta]
Visualize JSON Output
Error Codes
Using Postman to test Speech & Conversation Analytics APIs
REALTIME SPEECH ANALYTICS API
Overview
Create Transaction
Initiate Stream
Handling Response
Update Members
End Transaction
Post Call Analytics
Transaction Status
Streaming from Microphone using python
Realtime text analytics api
Text Sentiment Analysis
Text Emotion Analysis
Text Dialog Tags
Custom Statement Tags
Text Intent Recognition
Text Profanity Detection
Custom model input data
Overview
Intent Recognition
Custom Statement Tags
Contact Support
Speech to Text API
Overview
Tone Analyzer API
Overview
Chat Analytics API
Overview
Content Moderation API
Overview
Custom Build API
Overview
Integration
Agora Marketplace Extension
Powered By
GitBook
End Transaction
End the transaction once the Conversation is complete. This is a pre-requisite step for fetching the output JSON or running post call analytics on the transaction.
Curl command to end the transaction
1
curl
-X POST
\
2
https://streams.marsview.ai/rb/v1/streams/end_realtime_stream
\
3
-H
'authorization: Bearer <ATUHTOKEN>'
\
4
-H
'cache-control: no-cache'
\
5
-d
'{"txnId": "<TRANSACTION_ID>"}'
Copied!
Response
The conversation is closed if the server responds with a
200 status code
and the
status
is set to
True
in the JSON response
1
{ 'status': True,
2
'data': {
3
'message': 'updated call status'
4
}
5
}
Copied!
REALTIME SPEECH ANALYTICS API - Previous
Update Members
Next - REALTIME SPEECH ANALYTICS API
Post Call Analytics
Last modified
5mo ago
Copy link
Contents
Curl command to end the transaction
Response