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

# List all tags for the authenticated user's company

> Retrieve a list of tags for the authenticated user's company.
Results are ordered by creation date (newest first).



## OpenAPI

````yaml /api-reference/openapi-v3.yaml get /api/v3/tags
openapi: 3.0.3
info:
  title: Paradigm API
  version: xenial-xerus (v3)
  description: >-
    A versatile and adaptable tool designed to integrate Generative AI into your
    applications
servers:
  - url: https://paradigm.lighton.ai
security: []
tags:
  - name: Agents
    description: Operations about agents
  - name: Threads
    description: Operations about agents conversation threads
  - name: Tools
    description: Operations about native tools
  - name: Models
    description: Operations about AI models
  - name: MCP
    description: Operations about MCP servers
  - name: Sources
    description: Operations about sources used by agents conversation threads
  - name: Artifacts
    description: Operations about artifacts generated by agents conversation threads
  - name: Agent
    description: >-
      Operations about agents (deprecated). Please use the 'Agents' API
      component instead.
  - name: Files
    description: Operations about files
  - name: Files Processing
    description: Operations about files processing
  - name: Tags
    description: Operations about tags
  - name: Workspaces
    description: Operations about workspaces
  - name: Users
    description: Operations about users
  - name: User Groups
    description: Operations about user groups
  - name: Companies
    description: Operations about companies
  - name: SCIM
    description: Operations about SCIM
paths:
  /api/v3/tags:
    get:
      tags:
        - Tags
      summary: List all tags for the authenticated user's company
      description: |-
        Retrieve a list of tags for the authenticated user's company.
        Results are ordered by creation date (newest first).
      operationId: api_v3_tags_list
      parameters:
        - in: query
          name: auto_assign
          schema:
            type: boolean
          description: >-
            Filter by auto_assign flag. True if the tag can be automatically
            assigned by the system, False if it can only be assigned manually.
        - in: query
          name: name
          schema:
            type: string
          description: Filter by tag name (case-insensitive partial match)
        - name: page
          required: false
          in: query
          description: A page number within the paginated result set.
          schema:
            type: integer
        - name: page_size
          required: false
          in: query
          description: Number of results to return per page.
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedTagListResponseSerializerV3List'
              examples:
                ListOfTags:
                  value:
                    count: 123
                    next: http://api.example.org/accounts/?page=4
                    previous: http://api.example.org/accounts/?page=2
                    results:
                      - - id: 1
                          created_at: '2024-01-15T10:30:00Z'
                          updated_at: '2024-01-15T10:30:00Z'
                          name: Report
                          description: >-
                            Documents summarizing exchanges, meetings notes,
                            transcripts.
                          auto_assign: true
                          document_count: 15
                        - id: 2
                          created_at: '2024-01-14T09:00:00Z'
                          updated_at: '2024-01-14T09:00:00Z'
                          name: Product
                          description: >-
                            Product management docs. Design, strategy, roadmaps,
                            release notes.
                          auto_assign: false
                          document_count: 8
                  summary: List of tags
          description: List of tags for the authenticated user's company
        '401':
          description: Authentication failed - missing or invalid API key
        '500':
          description: Internal server error
      security:
        - bearerAuth: []
components:
  schemas:
    PaginatedTagListResponseSerializerV3List:
      type: object
      required:
        - count
        - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/TagListResponseSerializerV3'
    TagListResponseSerializerV3:
      type: object
      description: Serializer for listing tags.
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
          description: Tag name
        description:
          type: string
          readOnly: true
          description: Description of the tag (max 500 characters).
        auto_assign:
          type: boolean
          readOnly: true
          description: >-
            If True, this tag can be automatically assigned by the system. If
            False, it can only be assigned by a user.
        created_at:
          type: string
          format: date-time
          readOnly: true
          description: Timestamp when the tag was created.
        updated_at:
          type: string
          format: date-time
          readOnly: true
          description: Timestamp when the tag was last updated.
        document_count:
          type: integer
          readOnly: true
          description: Number of visible documents with this tag
      required:
        - auto_assign
        - created_at
        - description
        - document_count
        - id
        - name
        - updated_at
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your auth token.

````