Call Analysis

List knowledge gaps

Returns recent questions where no knowledge base content exists. Knowledge gaps are detected across all sessions for the authenticated organization. Useful for feeding your content team a prioritized list of gaps to close.

get/call-analysis/knowledge-gaps

Request

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

Query parameters

limitinteger

Response

List of knowledge gap 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.