GET
/
conversation
/
{id}
Get conversation logs
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>",
      "backgroundSound": true,
      "organization": "<string>",
      "workflowId": "<string>",
      "createdBy": "<string>",
      "globalKnowledgeBaseId": "<string>",
      "language": {
        "enabled": "en",
        "switching": {
          "isEnabled": true,
          "minWordsForDetection": 123,
          "strongSignalThreshold": 123,
          "weakSignalThreshold": 123,
          "minConsecutiveForWeakThresholdSwitch": 123
        },
        "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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The callId of the conversation. You can get the callId from the conversation logs.

Response

Successful response

The response is of type object.