> ## 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.

# Evaluate document evidence

> Request Vanta AI evaluation of all files and URLs in the document's current draft.
Returns 202 when the request is accepted, or 204 when a matching successful
evaluation already exists. Both responses have an empty body.

Retrieve the results with GET /documents/{documentId}/evaluation. GET returns 404
when no matching evaluation outcome is available; poll with a bounded timeout.

Repeated requests for the same evidence set are deduplicated and will not trigger
multiple evaluations.

Evaluations are disabled for sensitive documents.
Vanta AI and evidence evaluation must be enabled for your organization.
Saved evaluation failures and unmet evaluation preconditions return a
standard 422 error.



## OpenAPI

````yaml /reference/manage-vanta.json post /documents/{documentId}/evaluate
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:
  /documents/{documentId}/evaluate:
    post:
      tags:
        - Documents
      summary: Evaluate document evidence
      description: >-
        Request Vanta AI evaluation of all files and URLs in the document's
        current draft.

        Returns 202 when the request is accepted, or 204 when a matching
        successful

        evaluation already exists. Both responses have an empty body.


        Retrieve the results with GET /documents/{documentId}/evaluation. GET
        returns 404

        when no matching evaluation outcome is available; poll with a bounded
        timeout.


        Repeated requests for the same evidence set are deduplicated and will
        not trigger

        multiple evaluations.


        Evaluations are disabled for sensitive documents.

        Vanta AI and evidence evaluation must be enabled for your organization.

        Saved evaluation failures and unmet evaluation preconditions return a

        standard 422 error.
      operationId: EvaluateDocument
      parameters:
        - in: path
          name: documentId
          required: true
          schema:
            type: string
      responses:
        '202':
          description: Evaluation request accepted
        '204':
          description: A matching successful evaluation already exists
        '422':
          description: Evidence cannot be evaluated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OutboundError'
      security:
        - bearerAuth: []
components:
  schemas:
    OutboundError:
      properties:
        message:
          type: string
      required:
        - message
      type: object
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

## Related topics

- [Upload a document](https://developer.vanta.com/docs/guides/upload-a-document.md)
- [Get document evaluation](https://developer.vanta.com/api-reference/documents/get-document-evaluation.md)
- [Vanta API changelog](https://developer.vanta.com/docs/changelog.md)
- [Create vendors with evidence](https://developer.vanta.com/docs/guides/create-vendors-and-attach-documentation.md)
- [List evidence for an information request](https://developer.vanta.com/api-reference/audits/list-evidence-for-an-information-request.md)
