Trillet AI logo

List Call Histories

Retrieve a list of call history records in your workspace.

GEThttps://api.trillet.ai/v2/api/call-history

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Response Fields

_idstring

The unique identifier for the call history record.

timestampnumber

The Unix timestamp indicating when the call was made.

callIdstring

A unique identifier associated with the specific call.

fromPhoneNumberstring

The phone number from which the call originated.

toPhoneNumberstring

The phone number to which the call was directed.

directionstring

The direction of the call, typically "inbound", "outbound", or "bidirectional".

agentstring

The name or identifier of the agent involved in the call.

statusstring

The status of the call, such as "active", "completed", or other relevant statuses.

callFlowNamestring

The name of the call flow used during the call.

costnumber

The cost incurred for the call, if applicable.

recordingUrlstring

A URL pointing to the recorded audio of the call, if available.

summarystring

A brief summary or overview of the call.

analyzedDataobject

An object containing additional analyzed data from the call, such as flags for voicemail detection or other specific features.

answered_by_voicemailboolean

Indicates whether the call was answered by a voicemail system.

variablesobject

Any variables that were used or modified during the call.

transcriptarray

An array containing elements of the call transcript, if available.

[
  {
    "_id": "00000000bf7ca4a7c69e0000",
    "timestamp": 1737062894.9754236,
    "callId": "00000000013bd867b55ca000-00t00imaqj",
    "fromPhoneNumber": "+00000000000",
    "toPhoneNumber": "+00000000000",
    "direction": "bidirectional",
    "agent": "SampleAgent",
    "status": "active",
    "callFlowName": "Example Call Flow",
    "cost": 0,
    "recordingUrl": null,
    "summary": "Call summary here",
    "analyzedData": {},
    "variables": {},
    "transcript": []
  },
  {
    "_id": "00000000cbddbe9988450000",
    "timestamp": 1737061847.891025,
    "callId": "00000000013bd867b55ca000-00pk0su000",
    "fromPhoneNumber": "+00000000000",
    "toPhoneNumber": "+00000000000",
    "direction": "bidirectional",
    "duration": 0,
    "agent": "SampleAgent",
    "status": "completed",
    "callFlowName": "Example Call Flow",
    "cost": 0,
    "recordingUrl": null,
    "summary": "Call summary here",
    "analyzedData": {
      "answered_by_voicemail": false
    },
    "variables": {},
    "transcript": []
  }
]