Logs
Get conversation logs
GET
/
conversation
/
{id}
curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/conversation/{id} \
--header 'Authorization: Bearer <token>'
{
"status": true,
"data": {
"_id": "abc123",
"callId": "abc123",
"agent": {
"_id": "<string>",
"name": "<string>",
"description": "<string>",
"organization": "<string>",
"workflowId": "<string>",
"createdBy": "<string>",
"globalKnowledgeBaseId": "<string>",
"language": {
"enabled": "<string>",
"switching": true,
"supported": [
"<string>"
]
},
"synthesizer": {
"voiceConfig": {
"model": "waves_lightning_large",
"voiceId": "nyah",
"gender": "female"
},
"speed": 1.2,
"consistency": 0.5,
"similarity": 0,
"enhancement": 1
},
"slmModel": "electron",
"defaultVariables": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"status": "completed",
"duration": 300,
"recordingUrl": "<string>",
"from": "<string>",
"to": "<string>",
"transcript": [
"<any>"
],
"average_transcriber_latency": 123,
"average_agent_latency": 123,
"average_synthesizer_latency": 123,
"type": "telephony_inbound"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The callId of the conversation. You can get the callId from the conversation logs.
Response
200
application/json
Successful response
The response is of type object
.
curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/conversation/{id} \
--header 'Authorization: Bearer <token>'
{
"status": true,
"data": {
"_id": "abc123",
"callId": "abc123",
"agent": {
"_id": "<string>",
"name": "<string>",
"description": "<string>",
"organization": "<string>",
"workflowId": "<string>",
"createdBy": "<string>",
"globalKnowledgeBaseId": "<string>",
"language": {
"enabled": "<string>",
"switching": true,
"supported": [
"<string>"
]
},
"synthesizer": {
"voiceConfig": {
"model": "waves_lightning_large",
"voiceId": "nyah",
"gender": "female"
},
"speed": 1.2,
"consistency": 0.5,
"similarity": 0,
"enhancement": 1
},
"slmModel": "electron",
"defaultVariables": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"status": "completed",
"duration": 300,
"recordingUrl": "<string>",
"from": "<string>",
"to": "<string>",
"transcript": [
"<any>"
],
"average_transcriber_latency": 123,
"average_agent_latency": 123,
"average_synthesizer_latency": 123,
"type": "telephony_inbound"
}
}