---
title: "Create Answer Library entry"
method: POST
path: "/knowledge-base/answer-library"
tags: ["Knowledge Base"]
---

# Create Answer Library entry

`POST /knowledge-base/answer-library`

Create an Answer Library entry.

## Request body

- CreateAnswerLibraryEntryInput
  - `question` string, required — The question text.
  - `answer` string, required — The answer text.
  - `ownerAssignment` AnswerLibraryActorAssignmentInput
    - `type` 'User', required — The type of actor. Currently only "User" is supported.
    - `id` string, required — The unique identifier of the user or team.
  - `expirationDate` string — The expiration date in ISO 8601 format.
  - `tags` TagInput[] — Tags to associate with the entry. Discover valid `categoryId` and `tagId` values via `GET /v1/customer-trust/tag-categories` (to list categories) and `GET /v1/customer-trust/tag-categories/{tagCategoryId}` (to list tags within a category).
    - `categoryId` string, required
    - `tagId` string, required

## Response `200`

Ok

- KnowledgeBaseAnswerLibraryEntryOutput
  - `id` string, required
  - `question` string, required
  - `answer` string, required
  - `expirationStatus` 'CURRENT' | 'EXPIRED', required
  - `ownerAssignment` AnswerLibraryActorAssignment, required
    - `type` 'User' | 'Team', required
    - `id` string, required
    - `displayName` string, nullable, required
  - `expirationDate` string, nullable, required
  - `lastUpdated` string, required
  - `lastVerified` string, nullable, required
  - `tags` TagInput[], required
    - `categoryId` string, required
    - `tagId` string, required

---

[API](https://skmtc.net/vanta/apis/build-integrations.md) · [All operations](https://skmtc.net/vanta/apis/build-integrations/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vanta/build-integrations/revisions/6c1f7590538b/schema)
