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

# List Documents

> List all documents for the authenticated user. Internal/Owner role users see all documents in their organization. Other roles see only their own documents.



## OpenAPI

````yaml /api-reference/openapi-v1.json get /api/v1/documents/
openapi: 3.0.0
info:
  title: Artos API
  description: API for document generation, template management, and document organization
  version: 1.0.0
  contact:
    name: Artos Support
    email: internal@artosai.com
servers:
  - url: https://api.artosai.com
    description: Production server
  - url: http://localhost:8000
    description: Local development server
security:
  - bearerAuth: []
paths:
  /api/v1/documents/:
    get:
      tags:
        - Documents
      summary: List Documents
      description: >-
        List all documents for the authenticated user. Internal/Owner role users
        see all documents in their organization. Other roles see only their own
        documents.
      operationId: listDocuments
      responses:
        '200':
          description: Documents retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  documents:
                    type: array
                    items:
                      type: object
                      properties:
                        document_id:
                          type: string
                        document_name:
                          type: string
                        document_type:
                          type: string
                        status:
                          type: string
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
        '400':
          description: Authentication failed
        '403':
          description: User has no organization
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication. Token provides organization-scoped access.

````