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

# List documents

> List the workspace's documents, newest first, with each one's latest version.

MCP tool: [`list_documents`](/mcp/tools/documents#list_documents).



## OpenAPI

````yaml /api/openapi.json get /v1/documents
openapi: 3.1.0
info:
  title: Rendermate API
  version: v1
servers:
  - url: https://api.rendermate.com
security:
  - api_key: []
tags:
  - name: Account
  - name: Workspaces
  - name: Projects
  - name: Documents
  - name: Links
  - name: Exports
  - name: Assets
  - name: Generations
  - name: Persons
  - name: Help
paths:
  /v1/documents:
    get:
      tags:
        - Documents
      summary: List documents
      description: >-
        List the workspace's documents, newest first, with each one's latest
        version.


        MCP tool: [`list_documents`](/mcp/tools/documents#list_documents).
      operationId: list_documents
      parameters:
        - description: The `next` of the previous page.
          in: query
          name: after
          required: false
          schema:
            description: The `next` of the previous page.
            type:
              - string
              - 'null'
        - description: How many to return, up to 100; 100 when absent.
          in: query
          name: limit
          required: false
          schema:
            description: How many to return, up to 100; 100 when absent.
            format: uint
            minimum: 0
            type:
              - integer
              - 'null'
        - description: Only this project's documents, `prj_…`; every project's when absent.
          in: query
          name: project_id
          required: false
          schema:
            description: >-
              Only this project's documents, `prj_…`; every project's when
              absent.
            type:
              - string
              - 'null'
      responses:
        '200':
          content:
            application/json:
              example:
                documents:
                  - created_at: '2026-12-03T10:15:00Z'
                    created_by: api_key_01JF3Q1C5E7G9J2M4N6Q8S0T2W
                    id: doc_01JF3QZ8X6N2V7K4M9P5R1T3WY
                    name: Q3 update
                    project_id: prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V
                next: doc_01JF3QZ8X6N2V7K4M9P5R1T3WY
              schema:
                properties:
                  documents:
                    description: The documents on this page.
                    items:
                      $ref: '#/components/schemas/DocumentSummary'
                    type: array
                  next:
                    description: >-
                      Pass it as `after` to get the next page; absent on the
                      last one.
                    type:
                      - string
                      - 'null'
                required:
                  - documents
                type: object
          description: OK
        '400':
          content:
            application/json:
              examples:
                invalid_request:
                  summary: invalid_request
                  value:
                    error:
                      code: invalid_request
                      doc_url: https://rendermate.com/docs/errors#invalid_request
                      message: limit is 1 to 100
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `invalid_request`: limit is 1 to 100'
        '401':
          content:
            application/json:
              examples:
                unauthorized:
                  summary: unauthorized
                  value:
                    error:
                      code: unauthorized
                      doc_url: https://rendermate.com/docs/errors#unauthorized
                      message: 'provide a valid API key: Authorization: Bearer sk_…'
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `unauthorized`: provide a valid API key: Authorization: Bearer
            sk_…
        '403':
          content:
            application/json:
              examples:
                key_without_workspace:
                  summary: key_without_workspace
                  value:
                    error:
                      code: key_without_workspace
                      doc_url: https://rendermate.com/docs/errors#key_without_workspace
                      message: >-
                        this API key has no workspace: create a key in the
                        dashboard, under api keys in the workspace it should act
                        in
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `key_without_workspace`: this API key has no workspace: create a
            key in the dashboard, under api keys in the workspace it should act
            in
        '500':
          content:
            application/json:
              examples:
                internal:
                  summary: internal
                  value:
                    error:
                      code: internal
                      doc_url: https://rendermate.com/docs/errors#internal
                      message: internal error
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `internal`: internal error'
        '503':
          content:
            application/json:
              examples:
                documents.unavailable:
                  summary: documents.unavailable
                  value:
                    error:
                      code: documents.unavailable
                      doc_url: https://rendermate.com/docs/errors#unavailable
                      message: this deployment does not store documents yet
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `documents.unavailable`: this deployment does not store documents
            yet
components:
  schemas:
    DocumentSummary:
      description: A document as `GET /v1/documents` lists it.
      properties:
        created_at:
          description: RFC 3339.
          type: string
        created_by:
          description: The API key or member that created it.
          type: string
        id:
          description: '`doc_…`.'
          type: string
        name:
          description: A name people recognize it by; absent when it has none.
          type:
            - string
            - 'null'
        project_id:
          description: The project it's in, `prj_…`.
          type: string
      required:
        - id
        - project_id
        - created_by
        - created_at
      type: object
    Error:
      properties:
        error:
          properties:
            code:
              description: Stable, such as `asset.name_taken` or `not_available`.
              type: string
            doc_url:
              description: The code's entry on the Errors page.
              type: string
            message:
              description: What went wrong and what to do next.
              type: string
            request_id:
              description: >-
                The request's ID, also in its `x-request-id` header. Quote it
                when you contact support.
              type: string
          required:
            - code
            - message
            - doc_url
            - request_id
          type: object
      required:
        - error
      type: object
  securitySchemes:
    api_key:
      description: >-
        An API key from the dashboard, such as `sk_live_…`. It acts in its
        workspace.
      scheme: bearer
      type: http

````

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