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

# Get document evaluation

> Retrieve the saved evaluation summary for the document's current draft.
Each request reflects the current evidence, so changing the draft can make
a previously available evaluation unavailable until that evidence is evaluated.

Returns 404 when no matching outcome is saved, including while an evaluation
is running. This endpoint does not start evaluations or report queue status.
Poll with a bounded timeout after POSTing to the evaluate endpoint; some
worker failures do not produce a saved outcome.
Evaluations are disabled for sensitive documents. Vanta AI and evidence
evaluation must be enabled for your organization, including to read saved
results. Saved evaluation failures and unmet evaluation preconditions return
a standard 422 error.



## OpenAPI

````yaml /reference/manage-vanta.json get /documents/{documentId}/evaluation
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}/evaluation:
    get:
      tags:
        - Documents
      summary: Get document evaluation
      description: >-
        Retrieve the saved evaluation summary for the document's current draft.

        Each request reflects the current evidence, so changing the draft can
        make

        a previously available evaluation unavailable until that evidence is
        evaluated.


        Returns 404 when no matching outcome is saved, including while an
        evaluation

        is running. This endpoint does not start evaluations or report queue
        status.

        Poll with a bounded timeout after POSTing to the evaluate endpoint; some

        worker failures do not produce a saved outcome.

        Evaluations are disabled for sensitive documents. Vanta AI and evidence

        evaluation must be enabled for your organization, including to read
        saved

        results. Saved evaluation failures and unmet evaluation preconditions
        return

        a standard 422 error.
      operationId: GetDocumentDraftEvaluation
      parameters:
        - in: path
          name: documentId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentEvaluation'
              examples:
                Example 1:
                  value:
                    summary: The evidence demonstrates an implemented CI/CD workflow.
        '404':
          description: >-
            No evaluation is available for the current draft, or the document
            was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OutboundError'
        '422':
          description: Evidence cannot be evaluated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OutboundError'
      security:
        - bearerAuth: []
components:
  schemas:
    DocumentEvaluation:
      properties:
        summary:
          type: string
      required:
        - summary
      type: object
      additionalProperties: false
    OutboundError:
      properties:
        message:
          type: string
      required:
        - message
      type: object
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

## Related topics

- [Get document by ID](https://developer.vanta.com/api-reference/documents/get-document-by-id.md)
- [Get Trust Center document](https://developer.vanta.com/api-reference/trust-centers/get-trust-center-document.md)
- [Get uploaded media for Trust Center document](https://developer.vanta.com/api-reference/trust-centers/get-uploaded-media-for-trust-center-document.md)
- [Evaluate document evidence](https://developer.vanta.com/api-reference/documents/evaluate-document-evidence.md)
- [Upload a document](https://developer.vanta.com/docs/guides/upload-a-document.md)
