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

Save Knowledge Gap Article

Creates a draft Help Center article titled with the gap's detected topic and nothing else. The gap stays unanswered until that article is published. If the gap already has an article, returns that article instead of creating another.

POST
/projects/{projectId}/knowledge/gaps/{id}/article

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the gap.

idrequiredstring

ID of the knowledge gap.

Request Body

application/json

collectionIdstring

Collection to save the article into. Omit to use the first top-level collection, or none.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/projects/string/knowledge/gaps/string/article" \  -H "Content-Type: application/json" \  -d '{}'
{
  "articleId": "string",
  "created": true
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

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.

Set up Support

What an agent needs to make the Support widget or support email able to receive conversations.