Skip to main content
GET
/
knowledge-base
/
answer-library
List Answer Library entries
curl --request GET \
  --url https://api.vanta.com/v1/knowledge-base/answer-library \
  --header 'Authorization: Bearer <token>'
{
  "results": {
    "data": [
      {
        "id": "507f1f77bcf86cd799439031",
        "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.",
        "expirationStatus": "CURRENT",
        "ownerAssignment": {
          "type": "User",
          "id": "507f1f77bcf86cd799439041",
          "displayName": "Alex Rivera"
        },
        "expirationDate": "2025-12-31T00:00:00.000Z",
        "lastUpdated": "2024-10-12T16:08:42.000Z",
        "lastVerified": "2024-12-01T09:00:00.000Z",
        "tags": [
          {
            "categoryId": "507f1f77bcf86cd799439011",
            "tagId": "507f1f77bcf86cd799439013"
          }
        ]
      }
    ],
    "pageInfo": {
      "hasNextPage": false,
      "hasPreviousPage": false
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://vanta.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

pageSize
integer<int32>
default:10

Controls the maximum number of items returned in one response from the API.

Required range: 1 <= x <= 100
pageCursor
string

A marker or pointer, telling the API where to start fetching items for the subsequent page in a paginated dataset. Note that the requested page will not include the item that corresponds to this cursor but will start from the one immediately after this cursor.

q
string

Full-text search across question and answer.

lastUpdatedAfter
string

Only include entries updated at or after this ISO 8601 timestamp.

lastUpdatedBefore
string

Only include entries updated at or before this ISO 8601 timestamp.

matchesTags
string

JSON-encoded array of {categoryId, tagId} pairs. Entries matching any of the given tags are returned (OR filter). 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).

expiresBefore
string

Only include entries expiring at or before this ISO 8601 timestamp.

expiresAfter
string

Only include entries expiring at or after this ISO 8601 timestamp.

Response

200 - application/json

Ok

results
object
required