Call Analytics Commands

Access AI-powered call recordings, transcripts, and analysis — list calls with filtering and retrieve detailed breakdowns of any call.


calls list

List calls for your organization with date filtering, assistant filtering, and cursor-based pagination.

smallforce calls list [options]

Options

FlagTypeDefaultDescription
--limit <n>number20Number of calls to return (1–100)
--cursor <cursor>stringPagination cursor from a previous response
--start-date <date>stringFilter calls starting from this date (ISO 8601)
--end-date <date>stringFilter calls ending at this date (ISO 8601)
--assistant-id <id>stringFilter by AI assistant ID

List recent calls

smallforce calls list

Filter by date range

smallforce calls list --start-date "2026-03-01" --end-date "2026-03-14"

Filter by assistant

smallforce calls list --assistant-id ast_abc123

Paginate through results

# First page
smallforce calls list --limit 10

# Next page using cursor
smallforce calls list --limit 10 --cursor "eyJpZCI6ImNhbGxfMTIzIn0"

Example output

{
  "calls": [
    {
      "id": "call_abc123",
      "assistantId": "ast_abc123",
      "duration": 245,
      "status": "completed",
      "customerPhone": "+1-555-0123",
      "createdAt": "2026-03-14T10:30:00Z"
    }
  ],
  "nextCursor": "eyJpZCI6ImNhbGxfYWJjMTIzIn0"
}

calls get

Get full details for a specific call, including the transcript, AI-generated summary, and extracted customer data.

smallforce calls get <call-id>

Example

smallforce calls get call_abc123

Example output

{
  "id": "call_abc123",
  "assistantId": "ast_abc123",
  "duration": 245,
  "status": "completed",
  "customerPhone": "+1-555-0123",
  "createdAt": "2026-03-14T10:30:00Z",
  "summary": "Customer called to inquire about premium service tiers. Expressed interest in the annual plan and requested a follow-up email with pricing details.",
  "transcript": [
    {
      "role": "assistant",
      "content": "Thank you for calling! How can I help you today?",
      "timestamp": 0
    },
    {
      "role": "customer",
      "content": "Hi, I'm interested in upgrading to your premium plan.",
      "timestamp": 3.2
    }
  ],
  "analysis": {
    "sentiment": "positive",
    "intent": "upgrade_inquiry",
    "extractedData": {
      "customerName": "Marcus Chen",
      "interestedIn": "Annual premium plan",
      "followUpRequired": true
    }
  }
}