Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
Set up KnowledgePopulate the knowledge base
getList Knowledge GapspostDismiss Knowledge GappostSave Knowledge Gap Article
KnowledgeKnowledge Gaps

List Knowledge Gaps

Lists unanswered and answered knowledge gaps the support agent filed when it could not answer a customer. Dismissed gaps are omitted. Also returns coverage: the share of remaining gaps that have a published Help Center article.

GET
/projects/{projectId}/knowledge/gaps

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project whose gaps to list.

Query Parameters

skipinteger

Number of gaps to skip before collecting results.

statusstring | string

Only return gaps in this state. answered means the linked article is published. all is unanswered and answered, not dismissed.

takeinteger

Maximum number of gaps to return.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://www.saasco.com/api/v2/projects/string/knowledge/gaps"
{
  "coverage": {
    "answered": -9007199254740991,
    "percent": 100,
    "total": -9007199254740991,
    "unanswered": -9007199254740991
  },
  "data": [
    {
      "article": {
        "id": "string",
        "slug": "string",
        "state": "draft",
        "title": "string"
      },
      "articleId": "string",
      "createdAt": "string",
      "customerQuestion": "string",
      "id": "string",
      "kind": "missing_knowledge",
      "lastOccurredAt": "string",
      "occurrenceCount": 1,
      "projectId": "string",
      "status": "unanswered",
      "suggestedArticleTitle": "string",
      "updatedAt": "string"
    }
  ],
  "total": -9007199254740991
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Remove Help Center Custom Domain

Detaches the custom domain from the help center and clears its verification state. The help center stays available on its Saasco-hosted URL. Returns 404 if no custom domain is configured. DNS records at your registrar are not touched. Remove them yourself.

Dismiss Knowledge Gap

Marks a knowledge gap as dismissed so it no longer appears in Gap Finder or coverage. Use this when the question is off-topic or not worth an article.