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

# List your saved documents (the Files view).

> List the authenticated user/org's saved documents, most-recently-updated first
(metadata only — no document content). Each carries a session_count ("N chats"). Documents
become durable + reusable automatically as you create or edit them; on the FIRST call we also
one-time import the documents of pre-Files-view chats so prior work appears here too.



## OpenAPI

````yaml /openapi.json get /v1/documents
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:
    get:
      tags:
        - v1
        - mcp
      summary: List your saved documents (the Files view).
      description: >-
        List the authenticated user/org's saved documents, most-recently-updated
        first

        (metadata only — no document content). Each carries a session_count ("N
        chats"). Documents

        become durable + reusable automatically as you create or edit them; on
        the FIRST call we also

        one-time import the documents of pre-Files-view chats so prior work
        appears here too.
      operationId: list_documents
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            description: Maximum number of documents to return.
            default: 50
            title: Limit
          description: Maximum number of documents to return.
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Offset for pagination.
            default: 0
            title: Offset
          description: Offset for pagination.
        - name: include_preview
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Include a small preview_html (first chunks) per document for
              thumbnails. The web Files view sets this; agents leave it off to
              stay token-light.
            default: false
            title: Include Preview
          description: >-
            Include a small preview_html (first chunks) per document for
            thumbnails. The web Files view sets this; agents leave it off to
            stay token-light.
        - 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

````