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

# List Tag Groups

> List the workspace's reporting tag groups and their values. Filter to one library entity type with `entityType`, or omit it to list every type's groups.



## OpenAPI

````yaml get /api/v2/tag-group/list
openapi: 3.0.0
info:
  version: 5.4.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/tag-group/list:
    get:
      tags:
        - Tag Group
      summary: List Tag Groups
      description: >-
        List the workspace's reporting tag groups and their values. Filter to
        one library entity type with `entityType`, or omit it to list every
        type's groups.
      operationId: listTagGroups
      parameters:
        - schema:
            type: string
            enum:
              - segment
              - persona
              - use_case
              - proof_point
              - reference
              - competitor
              - alternative
              - buying_trigger
              - objection
              - product
              - service
              - solution
              - core_feature
            description: >-
              The library entity type a tag group applies to. Its values can
              only be assigned to entities of this type.
            example: use_case
          required: false
          description: >-
            The library entity type a tag group applies to. Its values can only
            be assigned to entities of this type.
          name: entityType
          in: query
      responses:
        '200':
          description: List Tag Groups response
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TagGroup'
                required:
                  - _metadata
                  - data
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
        '404':
          description: Tag group, tag or entity not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
      deprecated: false
components:
  schemas:
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          example: 0
          description: API usage
        requestId:
          type: string
          example: requestId
          description: Request ID
        message:
          type: string
          example: message
          description: Message
        timestamp:
          type: string
          example: '2021-01-01T00:00:00.000Z'
          description: Timestamp
      required:
        - requestId
        - timestamp
    TagGroup:
      type: object
      properties:
        oId:
          type: string
          description: Tag group OId
          example: tg_1234
        name:
          type: string
          description: Tag group name
        description:
          type: string
          nullable: true
        entityType:
          type: string
          enum:
            - segment
            - persona
            - use_case
            - proof_point
            - reference
            - competitor
            - alternative
            - buying_trigger
            - objection
            - product
            - service
            - solution
            - core_feature
          description: >-
            The library entity type a tag group applies to. Its values can only
            be assigned to entities of this type.
          example: use_case
        isInferable:
          type: boolean
          description: >-
            Auto-infer: when true, Octave infers and assigns a value from this
            group whenever a new entity of the group's type is created
        createdAt:
          type: string
          nullable: true
          format: date-time
        updatedAt:
          type: string
          nullable: true
          format: date-time
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
      required:
        - oId
        - name
        - entityType
        - isInferable
        - createdAt
        - updatedAt
        - tags
    Tag:
      type: object
      properties:
        oId:
          type: string
          description: Tag OId
          example: tag_1234
        name:
          type: string
          description: Tag value name
        position:
          type: integer
          nullable: true
          description: Display order within the group (0 first)
        createdAt:
          type: string
          nullable: true
          format: date-time
        updatedAt:
          type: string
          nullable: true
          format: date-time
      required:
        - oId
        - name
        - createdAt
        - updatedAt
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````