FruxonDocs
ApiKnowledge bases

Lists the questions customers asked that no knowledge base answers yet.

When an agent review finds customers asking something nobody answered, it drafts the question in the agent's knowledge base and holds it for review. These are those drafts, still waiting — the most asked first, then the most recently asked — for the Inbox to ask a person to answer once, for every agent that reads the base. Answer one by publishing its document with the answer as the body — <c>PATCH knowledgeBases/{knowledgeBase}/documents/{documentId}</c> with `bodyMarkdown` and `status: PUBLISHED` — or skip it by archiving the document. A skipped question comes back if customers ask it again. Drafts on archived bases are left out.

GET
/v1/tenants/{tenant}/knowledgeBases/openQuestions
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.

networkId?string

Only questions in this Application's knowledge bases and the workspace's own.

Formatuuid
agentId?string

Only questions first asked in this agent's conversations.

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/knowledgeBases/openQuestions"
{
  "items": [
    {
      "documentId": "00000000-0000-0000-0000-000000000000",
      "knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
      "knowledgeBaseName": "string",
      "locale": "string",
      "autoPublishes": false,
      "question": "string",
      "whatHappened": "string",
      "askedCount": 0,
      "createdAt": 0,
      "lastAskedAt": 0,
      "agentId": "string"
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}