Company logoTrust Center Documentation
API v1 ReferenceKnowledge base

List knowledge base items

Retrieve all Q&A items in the knowledge base for the current tenant. The response returns base-locale content and does not apply locale overlays.

GET
/api/v1/knowledge-base

Retrieve all Q&A items in the knowledge base for the current tenant. The response returns base-locale content and does not apply locale overlays.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/knowledge-base"
{
  "knowledgeBase": [
    {
      "id": "kb-123",
      "question": "What is our data retention policy?",
      "answer": "We retain customer data for **7 years** as required by law.",
      "answer_md": "We retain customer data for **7 years** as required by law.",
      "access_level": "public",
      "tags": [
        "gdpr",
        "data-retention",
        "legal"
      ]
    }
  ]
}
Empty
{
  "error": "Forbidden"
}
{
  "error": "Not found"
}
Empty

How is this guide?