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

# List documents

> List all documents for the organization. Optionally filter by project ID. Results are paginated and sorted by last updated date (newest first).



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/dev/documents
openapi: 3.0.0
info:
  title: Autype Developer API
  description: >-
    Autype Developer API for programmatic document generation.


    ## Authentication

    Use an API key in `X-API-Key`. Autype's trusted MCP service may instead use
    a short-lived, Developer-API-audience OAuth token obtained through
    server-side token exchange. Raw MCP resource tokens, login JWTs, and
    third-party tokens are not accepted.


    ## Rate Limiting

    API requests are rate-limited to 100 requests per minute per API key.


    ## Automation Credits

    Developer API rendering and bulk operations consume automation credits from
    your organization. AI documents, assistant tasks, translations, and AI
    images use separate plan allowances.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.autype.com
    description: Production
security: []
tags:
  - name: Temporary Images
    description: Upload and manage temporary images for document rendering
  - name: Render
    description: Render documents to PDF, DOCX, ODT, or page images
  - name: Bulk Render
    description: Bulk document generation with variable substitution
  - name: Documents
    description: Document variable inspection
  - name: Projects
    description: List organization projects
paths:
  /api/v1/dev/documents:
    get:
      tags:
        - developer-api
      summary: List documents
      description: >-
        List all documents for the organization. Optionally filter by project
        ID. Results are paginated and sorted by last updated date (newest
        first).
      operationId: DocumentsController_listDocuments_v1
      parameters:
        - name: page
          required: false
          in: query
          description: 'Page number (default: 1)'
          schema:
            type: number
        - name: limit
          required: false
          in: query
          description: 'Items per page (default: 20, max: 100)'
          schema:
            type: number
        - name: projectId
          required: false
          in: query
          description: Filter by project ID
          schema:
            type: string
      responses:
        '200':
          description: Paginated list of documents
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentListResponseDto'
        '401':
          description: Invalid or missing API key
      security:
        - mcp-oauth: []
        - api-key: []
components:
  schemas:
    DocumentListResponseDto:
      type: object
      properties:
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentResponseDto'
        total:
          type: number
          description: Total number of documents
        page:
          type: number
          description: Current page number
        limit:
          type: number
          description: Items per page
      required:
        - documents
        - total
        - page
        - limit
    DocumentResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Document ID
        title:
          type: string
          description: Document title
        projectId:
          type: string
          description: Project ID the document belongs to
        stylePresetId:
          type: string
          nullable: true
          description: Referenced workspace or built-in system style preset, if any
        description:
          type: object
          description: Document description
          nullable: true
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - id
        - title
        - projectId
        - createdAt
        - updatedAt
  securitySchemes:
    mcp-oauth:
      scheme: bearer
      bearerFormat: Autype Developer API OAuth token
      type: http
      description: >-
        Short-lived, Developer-API-audience token obtained by the trusted MCP
        service through token exchange (mcp_at_...). Raw MCP resource tokens are
        rejected.
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key (starts with ak_...)

````

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