v1

latestOpenAPI 3.0.1Vanta Terms of Service2026-07-26327517821.8 KB
Knowledge Base

Create Answer Library entry

Create an Answer Library entry.

post/knowledge-base/answer-library

Request body

questionstring required

The question text.

answerstring required

The answer text.

expirationDatestring

The expiration date in ISO 8601 format.

Example request

{
  "question": "Do you encrypt customer data at rest?",
  "answer": "Yes. All customer data is encrypted at rest using AES-256, with keys managed in AWS KMS.",
  "ownerAssignment": {
    "type": "User",
    "id": "507f1f77bcf86cd799439041"
  },
  "expirationDate": "2025-12-31T00:00:00.000Z"
}

Response

Ok

idstring required
questionstring required
answerstring required
expirationStatus'CURRENT' | 'EXPIRED' required
expirationDatestring nullable required
lastUpdatedstring required
lastVerifiedstring nullable required