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

# Restore (un-archive) a previously archived document by its id.

> Restore (un-archive) a saved document by its id — the mirror of archive_document. The document
re-enters your Files view and can be opened/edited again (open it into a chat with open_documents).
`document_id` is the same id used by list_documents / archive_document. Idempotent: restoring an
already-active (or unknown) document is a no-op. Non-billable.



## OpenAPI

````yaml /openapi.json post /v1/documents/{document_id}/unarchive
openapi: 3.1.0
info:
  title: Universal Document AI API
  description: AI-powered document editing with multi-tenant organization support
  version: 2.0.0
servers: []
security: []
paths:
  /v1/documents/{document_id}/unarchive:
    post:
      tags:
        - v1
        - mcp
      summary: Restore (un-archive) a previously archived document by its id.
      description: >-
        Restore (un-archive) a saved document by its id — the mirror of
        archive_document. The document

        re-enters your Files view and can be opened/edited again (open it into a
        chat with open_documents).

        `document_id` is the same id used by list_documents / archive_document.
        Idempotent: restoring an

        already-active (or unknown) document is a no-op. Non-billable.
      operationId: unarchive_document
      parameters:
        - name: document_id
          in: path
          required: true
          schema:
            type: string
            title: Document Id
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````