> ## 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 Document Sets

> List all document sets for the authenticated user. Internal/Owner role users see all document sets in their organization.



## OpenAPI

````yaml /api-reference/openapi-v1.json get /api/v1/document-sets/
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/document-sets/:
    get:
      tags:
        - Document Sets
      summary: List Document Sets
      description: >-
        List all document sets for the authenticated user. Internal/Owner role
        users see all document sets in their organization.
      operationId: listDocumentSets
      responses:
        '200':
          description: Document sets retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAllDocumentSetsResponse'
              example:
                document_sets:
                  - document_set_id: ds-uuid-001
                    document_set_name: Q1 CSR Documents
                    organization_id: org-uuid-123
                    details: null
                    documents:
                      - doc-uuid-456
                    version: 1
        '400':
          description: Authentication failed
components:
  schemas:
    GetAllDocumentSetsResponse:
      type: object
      properties:
        document_sets:
          type: array
          items:
            $ref: '#/components/schemas/DocumentSetResponse'
    DocumentSetResponse:
      type: object
      properties:
        document_set_id:
          type: string
          description: Auto-generated UUID
        document_set_name:
          type: string
          nullable: true
        organization_id:
          type: string
          nullable: true
        details:
          type: string
          nullable: true
        documents:
          type: array
          items:
            type: string
          nullable: true
        version:
          type: integer
          nullable: true
          description: Document set version
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication. Token provides organization-scoped access.

````