> ## Documentation Index
> Fetch the complete documentation index at: https://developer.vanta.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify Knowledge Base resource

> Mark a Knowledge Base resource (FILE or URL) as verified. Stamps
`lastVerifiedAt` to the current time and resets `expiresAt` forward
by the domain's configured review cadence; the resource's content
(title, description, file or url, tags, owner) is left unchanged.
Caller does not need to know the resource type — the persisted
`resourceType` is used. Returns 404 when the id is unknown in the
domain or — for FILE rows — when the underlying uploaded document
has been deleted.



## OpenAPI

````yaml /reference/manage-vanta.json post /knowledge-base/resources/{id}/verify
openapi: 3.0.0
info:
  title: Manage Vanta
  version: 1.0.0
  description: >-
    The REST API lets customers query and mutate Vanta's data. Use this API to
    automate bulk actions, query data for custom workflows and dashboards, and
    bolster your security operations


    **Note for Vanta Gov (FedRAMP) customers:** Select `Vanta Gov (FedRAMP)`
    from the server dropdown to issue requests against
    `https://api.vanta-gov.com`. The OAuth token URL shown below defaults to the
    commercial host — replace it with `https://api.vanta-gov.com/oauth/token`.
  termsOfService: https://www.vanta.com/terms
  license:
    name: UNLICENSED
  contact:
    name: API Support
    url: https://help.vanta.com/
    email: support@vanta.com
servers:
  - url: https://api.vanta.com/v1
    description: Vanta (Commercial)
  - url: https://api.vanta-gov.com/v1
    description: Vanta Gov (FedRAMP)
security: []
paths:
  /knowledge-base/resources/{id}/verify:
    post:
      tags:
        - Knowledge Base
      summary: Verify Knowledge Base resource
      description: |-
        Mark a Knowledge Base resource (FILE or URL) as verified. Stamps
        `lastVerifiedAt` to the current time and resets `expiresAt` forward
        by the domain's configured review cadence; the resource's content
        (title, description, file or url, tags, owner) is left unchanged.
        Caller does not need to know the resource type — the persisted
        `resourceType` is used. Returns 404 when the id is unknown in the
        domain or — for FILE rows — when the underlying uploaded document
        has been deleted.
      operationId: VerifyKnowledgeBaseResource
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyKnowledgeBaseResourceInput'
            example:
              expirationDate: '2025-12-31T00:00:00.000Z'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrustKnowledgeBaseResourceOutput'
              examples:
                Example 1:
                  value:
                    id: 507f1f77bcf86cd799439021
                    type: FILE
                    title: SOC 2 Type II Report
                    description: Annual SOC 2 Type II report covering 2024.
                    externalUrl: >-
                      https://trust.example.com/resources?s=resource-slug&name=security-report
                    fileUrl: >-
                      https://files.example.s3.amazonaws.com/507f1f77bcf86cd799439021?X-Amz-Expires=3600&X-Amz-Signature=...
                    customerVisibility: REQUEST_ACCESS
                    downloadPermission: VIEW_AND_DOWNLOAD
                    isUsedInQuestionnaires: true
                    ownerAssignment:
                      type: User
                      id: 507f1f77bcf86cd799439041
                      displayName: Alex Rivera
                    expirationStatus: CURRENT
                    expirationDate: '2025-12-31T00:00:00.000Z'
                    lastUpdated: '2024-12-15T17:42:11.000Z'
                    lastVerified: '2024-12-20T09:00:00.000Z'
                    tags:
                      - categoryId: 507f1f77bcf86cd799439011
                        tagId: 507f1f77bcf86cd799439013
                    categoryId: 507f1f77bcf86cd799439051
      security:
        - bearerAuth: []
components:
  schemas:
    VerifyKnowledgeBaseResourceInput:
      properties:
        expirationDate:
          type: string
          description: >-
            The expiration date in ISO 8601 format. If omitted, falls back to
            the

            configured review cadence.
          example: '2025-12-31T00:00:00.000Z'
      type: object
      additionalProperties: false
    TrustKnowledgeBaseResourceOutput:
      anyOf:
        - $ref: '#/components/schemas/KnowledgeBaseDocumentResourceOutput'
        - $ref: '#/components/schemas/KnowledgeBaseWebpageResourceOutput'
      description: |-
        Discriminated union over `type` of all resource kinds in the Trust
        Knowledge Base (currently FILE and URL).
    KnowledgeBaseDocumentResourceOutput:
      title: KnowledgeBaseDocumentResourceOutput
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - FILE
          nullable: false
        title:
          type: string
        description:
          type: string
          nullable: true
        externalUrl:
          type: string
          nullable: true
          description: >-
            Durable Trust Center link, including for private resources. Null
            when unavailable.

            This link does not grant access or publish the resource.

            The resource may be inaccessible until added to the Trust Center
            with appropriate visibility and permissions.
        fileUrl:
          type: string
          description: >-
            Presigned S3 URL for the underlying document. Expires after 1 hour
            due

            to AWS IAM Role limitations on presigned URL lifetimes. Re-fetch the

            resource to obtain a fresh URL once this one expires.
        customerVisibility:
          type: string
          enum:
            - PUBLIC
            - SHAREABLE
            - PRIVATE
            - REQUEST_ACCESS
            - null
          nullable: true
        downloadPermission:
          type: string
          enum:
            - VIEW_ONLY
            - VIEW_AND_DOWNLOAD
            - null
          nullable: true
        isUsedInQuestionnaires:
          type: boolean
          nullable: true
        ownerAssignment:
          allOf:
            - $ref: '#/components/schemas/KnowledgeBaseResourceActorAssignment'
          nullable: true
        expirationStatus:
          $ref: '#/components/schemas/KnowledgeBaseExpirationStatus'
        expirationDate:
          type: string
          nullable: true
        lastUpdated:
          type: string
        lastVerified:
          type: string
          nullable: true
        tags:
          items:
            $ref: '#/components/schemas/TagInput'
          type: array
        categoryId:
          type: string
          nullable: true
          description: >-
            Trust Center category id the resource is currently filed under, or

            `null` if uncategorized (or not on the Trust Center, which is the
            case

            for `PRIVATE` / `SHAREABLE` resources).
      required:
        - id
        - type
        - title
        - description
        - externalUrl
        - fileUrl
        - customerVisibility
        - downloadPermission
        - isUsedInQuestionnaires
        - ownerAssignment
        - expirationStatus
        - expirationDate
        - lastUpdated
        - lastVerified
        - tags
        - categoryId
      type: object
      additionalProperties: false
    KnowledgeBaseWebpageResourceOutput:
      title: KnowledgeBaseWebpageResourceOutput
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - URL
          nullable: false
        title:
          type: string
        description:
          type: string
          nullable: true
        externalUrl:
          type: string
          nullable: true
          description: >-
            Durable Trust Center link, including for private resources. Null
            when unavailable.

            This link does not grant access or publish the resource.

            The resource may be inaccessible until added to the Trust Center
            with appropriate visibility and permissions.
        url:
          type: string
        customerVisibility:
          type: string
          enum:
            - PUBLIC
            - SHAREABLE
            - PRIVATE
            - REQUEST_ACCESS
            - null
          nullable: true
        includeSubPages:
          type: boolean
          nullable: true
        isUsedInQuestionnaires:
          type: boolean
          nullable: true
        ownerAssignment:
          allOf:
            - $ref: '#/components/schemas/KnowledgeBaseResourceActorAssignment'
          nullable: true
        expirationStatus:
          $ref: '#/components/schemas/KnowledgeBaseExpirationStatus'
        expirationDate:
          type: string
          nullable: true
        lastUpdated:
          type: string
        lastVerified:
          type: string
          nullable: true
        tags:
          items:
            $ref: '#/components/schemas/TagInput'
          type: array
        categoryId:
          type: string
          nullable: true
          description: >-
            Trust Center category id the resource is currently filed under, or

            `null` if uncategorized (or not on the Trust Center, which is the
            case

            for `PRIVATE` / `SHAREABLE` resources).
      required:
        - id
        - type
        - title
        - description
        - externalUrl
        - url
        - customerVisibility
        - includeSubPages
        - isUsedInQuestionnaires
        - ownerAssignment
        - expirationStatus
        - expirationDate
        - lastUpdated
        - lastVerified
        - tags
        - categoryId
      type: object
      additionalProperties: false
    KnowledgeBaseResourceActorAssignment:
      properties:
        type:
          type: string
          enum:
            - User
            - Team
        id:
          type: string
        displayName:
          type: string
          nullable: true
      required:
        - type
        - id
        - displayName
      type: object
      additionalProperties: false
    KnowledgeBaseExpirationStatus:
      type: string
      enum:
        - CURRENT
        - EXPIRED
      description: |-
        Customer-facing expiration status used by knowledge-base API responses
        (answer library entries and resources). Derived from the persisted
        `expiresAt` field at read time.
    TagInput:
      properties:
        categoryId:
          type: string
        tagId:
          type: string
      required:
        - categoryId
        - tagId
      type: object
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

## Related topics

- [Delete Knowledge Base resource](https://developer.vanta.com/api-reference/knowledge-base/delete-knowledge-base-resource.md)
- [Get Knowledge Base resource](https://developer.vanta.com/api-reference/knowledge-base/get-knowledge-base-resource.md)
- [List Knowledge Base resources](https://developer.vanta.com/api-reference/knowledge-base/list-knowledge-base-resources.md)
- [Create webpage resource](https://developer.vanta.com/api-reference/knowledge-base/create-webpage-resource.md)
- [Update document resource](https://developer.vanta.com/api-reference/knowledge-base/update-document-resource.md)
