Skip to main content
Review your call activity and get AI-powered insights on call performance.

Call History

List Calls

View recent calls:
consuelo history list
Limit results:
consuelo history list --limit 50
Filter by date range:
consuelo history list --from 2024-01-01 --to 2024-01-31
Filter by outcome:
consuelo history list --outcome answered
consuelo history list --outcome no-answer
consuelo history list --outcome voicemail

Get Call Details

consuelo history get CA1234567890abcdef
Returns:
  • Call metadata (SID, to, from, duration)
  • Outcome and disposition
  • Recording URL (if available)
  • Transcript (if available)

Outcomes

OutcomeDescription
answeredCall was connected
no-answerNo answer after timeout
busyLine was busy
failedCall failed to connect
voicemailVoicemail detected
abandonedCaller hung up before answer

Call Statistics

Basic Stats

consuelo history stats
Shows:
  • Total calls
  • Answered calls
  • Connect rate
  • Average duration
  • Total talk time

Stats by Period

consuelo history stats --period week
consuelo history stats --period month
PeriodDescription
dayLast 24 hours
weekLast 7 days
monthLast 30 days

Custom Date Range

consuelo history stats --from 2024-01-01 --to 2024-01-31

Coaching Analysis

Analyze call transcripts for performance insights.

Basic Analysis

consuelo coach --transcript ./call-transcript.txt

Transcript Format

Transcripts should use speaker labels:
Agent: Hello, this is John from Acme.

Customer: Hi John, I've been looking at your product.

Agent: Great! What questions do you have?

Customer: I'm wondering about pricing and implementation time.

Agent: Let me walk you through our pricing tiers...

Analysis Output

The coaching analysis returns:
MetricDescription
Overall Score0-100 performance score
StrengthsWhat went well
ImprovementsAreas to work on
Action ItemsSpecific next steps
SentimentCustomer sentiment trend
Talk RatioAgent vs customer talk time
Questions AskedNumber of questions by agent
Objections HandledObjections and responses

JSON Output

consuelo coach --transcript ./call-transcript.txt --json
{
  "score": 78,
  "strengths": ["Strong rapport building", "Clear pricing explanation"],
  "improvements": ["Ask more discovery questions", "Address concerns earlier"],
  "metrics": {
    "talkRatio": 0.55,
    "questionsAsked": 8,
    "objectionsHandled": 3
  }
}

Extended Analytics

For deeper analysis beyond coaching:
consuelo analytics CA1234567890abcdef --transcript ./call-transcript.txt
Extended analytics includes:
FeatureDescription
Key MomentsImportant moments with timestamps
Buying SignalsIndicators of purchase intent
Objections RaisedSpecific concerns mentioned
Next StepsAgreed-upon follow-ups

Output Formats

All commands support:
FlagDescription
--jsonMachine-readable JSON
--quietSuppress output

Use Cases

Use CaseCommand
Daily reviewconsuelo history list --period day
Weekly summaryconsuelo history stats --period week
Call improvementconsuelo coach --transcript call.txt
Deal analysisconsuelo analytics CAxxx --transcript call.txt

Next Steps