Call Analysis

Get analysis events

All individual question events for a session's analysis. Each event includes the detected question, rep response, classification, and knowledge base citations.

get/call-analysis/session/{session_id}/events

Request

  • Base URL
    https://caspr-copilot-prod.usepeppr.ai/api
  • Auth
    HTTP bearer

Path parameters

session_idstring uuid required

Unique session identifier

Response

List of events

idstring uuid required
call_analysis_idstring uuid required
start_timestamp_msnumber required
end_timestamp_msnumber required
spoken_textstring required
rewritten_questionstring required
rag_queriesstring[] nullable
reasonstring nullable
knowledge_category'product_technical' | 'business_sales' nullable
responsestring nullable
knowledge_existsboolean required
knowledge_confidencenumber nullable
classification'correct' | 'incorrect' | 'knowledge_gap' | 'deferred' | 'unguarded' required
  • correct — response aligns with knowledge base
  • incorrect — response contradicts knowledge base
  • knowledge_gap — no relevant content in KB
  • deferred — rep deferred or didn't respond
  • unguarded — rep answered without KB backing
commentsstring nullable

AI-generated coaching feedback

was_surfacedboolean required

Whether Caspr showed this question to the rep live

thread_idstring uuid nullable
answer_source'qa_cards' | 'knowledge_base' nullable
surfaced_answerstring nullable
created_atstring date-time required
updated_atstring date-time required

Example response

[
  {
    "rewritten_question": "What is the data retention policy?"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.