Get Knowledge Gaps

Changed on

List questions callers asked that no knowledge entry answers.

Only OPEN gaps come back by default, since a gap already marked ANSWERED or DISMISSED needs no further action. Pass show_resolved=true to see those too.

get/api/v0/inbound_calls/knowledge_gaps

Request

  • Base URL
    https://healthharbor.co (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Password
      Token URLtoken
    • or HTTP basic

Query parameters

practice_idstring nullable
show_resolvedboolean
limitinteger

Response

Successful Response

idstring required

Unique identifier for the knowledge gap

practice_idstring nullable required

Practice ID if this gap is practice-specific, null if org-level

question_textstring required

The question text that callers asked but we could not answer. Semantically similar questions are grouped into a single gap.

occurrence_countinteger required

Number of times this question, or a semantically similar one, has been asked

example_call_idsstring[] required

List of call IDs where this question was asked

status'OPEN' | 'ANSWERED' | 'DISMISSED' required

Current status of this gap: OPEN, ANSWERED, or DISMISSED

resolved_entry_idstring nullable

ID of the knowledge entry that resolved this gap, set by naming the gap in resolved_gap_ids when you create or update that entry. Null unless the gap has been marked ANSWERED.

creation_tsstring date-time required

ISO 8601 timestamp of when this gap was first identified

last_updated_tsstring date-time required

ISO 8601 timestamp of when this gap was last updated

Example response

[
  {
    "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "practice_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "question_text": "Do you accept HSA payments?",
    "occurrence_count": 5,
    "example_call_ids": [
      "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "9b7e4a2c-8d1f-4e6b-9c3a-5f8e7d6c4b2a"
    ],
    "status": "OPEN",
    "resolved_entry_id": "550e8400-e29b-41d4-a716-446655440000",
    "creation_ts": "2024-01-01T00:00:00Z",
    "last_updated_ts": "2024-03-01T12:00:00Z"
  }
]

Changes