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

# List document requirements

> The document library: which documents the lender asks for, of whom, and how often. Returned oldest change first, 50 to a page unless you set `limit`.



## OpenAPI

````yaml /openapi.json get /document-requirements
openapi: 3.1.0
info:
  title: Vensight API
  version: 1.0.0
  summary: Read every vendor and vendor-relationship record in your workspace.
  description: >-
    The Vensight API is read-only. Every collection is cursor-paginated and can
    be

    filtered to what has changed since a timestamp, so a warehouse can stay
    current with

    incremental pulls; webhooks push the same changes as they happen.
servers:
  - url: https://app.vensight.ai/api/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: vendors
    x-group: Vendors
    description: Every vendor in the portfolio, with its tier, status and pipeline stage.
  - name: relationships
    x-group: Relationships
    description: The vendor-side view of each lender relationship.
  - name: contracts
    x-group: Contracts
    description: Agreements on file, their dates, value and version chain.
  - name: invoices
    x-group: Invoices
    description: Invoices raised by vendors, through approval to payment confirmation.
  - name: incidents
    x-group: Incidents
    description: Incidents logged against a vendor, with severity and resolution.
  - name: documents
    x-group: Documents
    description: >-
      Every document asked of a vendor (a document request), and where that
      request has got to.
  - name: document-submissions
    x-group: Document submissions
    description: Each upload attempt against a document request, including superseded ones.
  - name: document-requirements
    x-group: Document requirements
    description: >-
      The document library: which documents the lender asks for, of whom, and
      how often.
  - name: questions
    x-group: Questions
    description: 'The question library: what is asked, of whom, and where.'
  - name: question-answers
    x-group: Question answers
    description: What each vendor answered, its review state and which cycle it belongs to.
  - name: review-cycles
    x-group: Review cycles
    description: Onboarding, renewal and scorecard periods, open and closed.
  - name: requests
    x-group: Requests
    description: Vendor Catalog and access requests raised inside the workspace.
  - name: watchlist-alerts
    x-group: Watchlist alerts
    description: Screening hits recorded against a vendor.
  - name: subprocessors
    x-group: Subprocessors
    description: Fourth parties a vendor has declared.
  - name: events
    x-group: Events
    description: >-
      The vendor timeline as a person reads it: the history log on each vendor's
      page.
  - name: settings-changes
    x-group: Settings changes
    description: Every configuration change, with its before-and-after diff.
  - name: screening-answers
    x-group: Screening answers
    description: >-
      Tier-screening answers, each carrying the wording it was asked under at
      the time.
  - name: changes
    x-group: Changes
    description: >-
      The change feed: one entry for every create or update, in order. Read it
      to catch up after a missed webhook.
  - name: webhooks
    x-group: Webhooks
    description: What Vensight sends to your endpoint.
paths:
  /document-requirements:
    get:
      tags:
        - document-requirements
      summary: List document requirements
      description: >-
        The document library: which documents the lender asks for, of whom, and
        how often. Returned oldest change first, 50 to a page unless you set
        `limit`.
      operationId: listDocumentRequirements
      parameters:
        - name: limit
          in: query
          description: How many records to return, from 1 to 200.
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
        - name: cursor
          in: query
          description: >-
            The `next_cursor` from the previous page. Opaque: do not build one
            yourself; its format is not part of this contract.
          schema:
            type: string
        - name: updated_since
          in: query
          description: >-
            Only records whose `updated_at` is at or after this instant
            (inclusive). Use it to pull only what changed since your last run.
          schema:
            type: string
            format: date-time
            example: '2026-09-01T00:00:00Z'
        - name: status
          in: query
          description: >-
            Only records whose `status` is exactly this value. The values are
            explained on the response field of the same name.
          schema:
            type: string
            enum:
              - active
              - archived
        - name: cadence
          in: query
          description: >-
            Only records whose `cadence` is exactly this value. The values are
            explained on the response field of the same name.
          schema:
            type: string
            enum:
              - onboarding
              - monthly
              - quarterly
              - annual
        - name: section
          in: query
          description: >-
            Only records whose `section` is exactly this value. Free text,
            matched exactly, including capitals.
          schema:
            type: string
      responses:
        '200':
          description: A page of records, oldest change first.
          content:
            application/json:
              schema:
                type: object
                required:
                  - object
                  - resource
                  - data
                  - has_more
                  - next_cursor
                properties:
                  object:
                    type: string
                    const: list
                    example: list
                  resource:
                    type: string
                    const: document-requirements
                    example: document-requirements
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/DocumentRequirements'
                  has_more:
                    type: boolean
                    description: >-
                      Whether there is another page. Keep going until this is
                      `false`.
                    example: true
                  next_cursor:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Send this as `cursor` to get the next page. `null` on the
                      last page.
                    example: MjAyNi0wOS0wOVQwMjoxNDowNy4yMjFafDZmMWM…
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '502':
          $ref: '#/components/responses/ReadFailed'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    DocumentRequirements:
      type: object
      description: >-
        The document library: which documents the lender asks for, of whom, and
        how often.
      properties:
        id:
          type: string
          format: uuid
          description: >-
            Unique id of this record. Stable for the life of the record; use it
            as your primary key.
          example: 9c2a7d10-4e8b-4f3a-b6d2-1a7e5c9f0b84
        name:
          type: string
          description: Name of the document.
          example: SOC 2 Type II report
        purpose:
          type:
            - string
            - 'null'
          description: Why the lender asks for it.
          example: Evidence of independently tested security controls.
        criteria:
          type:
            - string
            - 'null'
          description: What the document must show, as the vendor sees it.
          example: Covers the last 12 months with no unremediated exceptions.
        review_criteria:
          type:
            - string
            - 'null'
          description: What the lender's reviewer checks.
          example: Check the period and any exceptions.
        help_text:
          type:
            - string
            - 'null'
          description: Guidance shown to the vendor.
          example: Upload the full report, including the auditor's opinion.
        cadence:
          type: string
          enum:
            - onboarding
            - monthly
            - quarterly
            - annual
          description: |-
            How often it is asked for.

            - `onboarding`: Asked during onboarding only.
            - `monthly`: Asked every month.
            - `quarterly`: Asked every quarter.
            - `annual`: Asked every year.
          example: annual
        tier_scope:
          type: array
          items:
            type: string
          description: Which tiers are asked for it, as tier keys.
          example:
            - tier_1
            - tier_2
        vendor_type_scope:
          type: array
          items:
            type: string
          description: Which vendor types are asked for it. Empty means every type.
          example: []
        section:
          type:
            - string
            - 'null'
          description: Section it is grouped under.
          example: Information Security
        category:
          type: string
          description: Category it is filed under.
          example: Security
        is_standard:
          type: boolean
          description: >-
            Whether it is one of Vensight's standard documents rather than one
            the lender added.
          example: false
        status:
          type: string
          enum:
            - active
            - archived
          description: |-
            Whether it is still asked for.

            - `active`: In use.
            - `archived`: No longer asked for. Existing requests are kept.
          example: active
        position:
          type: integer
          description: Display order. Lower comes first.
          example: 3
        auto_approve:
          type: boolean
          description: >-
            The lender's recorded preference for approving this document
            automatically. Vensight does not approve anything automatically
            today, so this does not change how a document is handled.
          example: false
        template_file_name:
          type:
            - string
            - 'null'
          description: Name of a template the vendor can download, if there is one.
          example: null
        template_version:
          type: integer
          description: Version number of that template.
          example: 1
        created_at:
          type: string
          format: date-time
          description: When the record was created.
          example: '2026-09-09T02:14:07.221Z'
        updated_at:
          type: string
          format: date-time
          description: >-
            When the record last changed. This is the field `updated_since`
            filters on, and the order records are returned in.
          example: '2026-09-09T02:14:07.221Z'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              enum:
                - invalid_query
                - invalid_id
                - missing_credential
                - invalid_credential
                - not_found
                - unknown_resource
                - read_failed
                - not_yet_provisioned
                - unavailable
              description: >-
                Stable. Branch on this, never on `message`. Every code is
                explained on the Errors page.
              example: invalid_query
            message:
              type: string
              description: Written for a person reading a log. May be reworded.
              example: >-
                vendor is not a filter on invoices. Accepted: limit, cursor,
                updated_since, vendor_id, status, business_unit.
  responses:
    BadRequest:
      description: >-
        The query could not be understood. An unknown filter is refused rather
        than ignored, so a mistyped parameter fails loudly instead of quietly
        returning everything.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: invalid_query
              message: >-
                vendor is not a filter on invoices. Accepted: limit, cursor,
                updated_since, vendor_id, status, business_unit.
    Unauthorized:
      description: >-
        No key was sent, the `Authorization` header was not `Bearer <key>`, or
        the key is unknown or revoked.
      headers:
        WWW-Authenticate:
          schema:
            type: string
            example: Bearer realm="Vensight API"
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: invalid_credential
              message: That API key is not valid.
    ReadFailed:
      description: Vensight could not read its own data. Retry with backoff.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: read_failed
              message: That could not be read just now.
    Unavailable:
      description: >-
        Vensight is briefly unavailable, usually mid-deploy. Retry after the
        number of seconds in `Retry-After`.
      headers:
        Retry-After:
          schema:
            type: integer
            example: 30
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: not_yet_provisioned
              message: >-
                The API is still being switched on for this workspace. Try again
                shortly.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Send your key as `Authorization: Bearer vsk_live_…`. `X-Api-Key:
        vsk_live_…` is accepted as well, for loaders that cannot set an
        Authorization header. A key in the query string is never accepted —
        query strings end up in logs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.