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

# List all groups

> Get a list of all groups



## OpenAPI

````yaml /swagger/nightly/ai-studio-swagger.yml get /groups
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /groups:
    get:
      tags:
        - groups
      summary: List all groups
      description: Get a list of all groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/api.GroupResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    api.GroupResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            catalogues:
              type: array
              items:
                $ref: '#/components/schemas/api.CatalogueResponse'
            data_catalogues:
              type: array
              items:
                $ref: '#/components/schemas/api.DataCatalogueResponse'
            name:
              type: string
            tool_catalogues:
              type: array
              items:
                $ref: '#/components/schemas/api.ToolCatalogueResponse'
            users:
              type: array
              items:
                $ref: '#/components/schemas/api.UserResponse'
        id:
          type: string
        type:
          type: string
      description: Group response model
    api.ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              detail:
                type: string
              title:
                type: string
      description: Error response model
    api.CatalogueResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            llm_names:
              type: array
              items:
                type: string
            name:
              type: string
        id:
          type: string
        type:
          type: string
      description: Catalogue response model
    api.DataCatalogueResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            datasources:
              type: array
              items:
                $ref: '#/components/schemas/api.DatasourceResponse'
            icon:
              type: string
            long_description:
              type: string
            name:
              type: string
            short_description:
              type: string
            tags:
              type: array
              items:
                $ref: '#/components/schemas/api.TagResponse'
        id:
          type: string
        type:
          type: string
      description: Data Catalogue response model
    api.ToolCatalogueResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            icon:
              type: string
            long_description:
              type: string
            name:
              type: string
            short_description:
              type: string
            tags:
              type: array
              items:
                $ref: '#/components/schemas/api.TagResponse'
            tools:
              type: array
              items:
                $ref: '#/components/schemas/api.ToolResponse'
        id:
          type: string
        type:
          type: string
      description: Tool Catalogue response model
    api.UserResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            access_to_sso_config:
              type: boolean
            api_key:
              type: string
            email:
              type: string
            email_verified:
              type: boolean
            groups:
              type: array
              items:
                $ref: '#/components/schemas/api.GroupResponse'
            is_admin:
              type: boolean
            name:
              type: string
            notifications_enabled:
              type: boolean
            role:
              type: string
            show_chat:
              type: boolean
            show_portal:
              type: boolean
        id:
          type: string
        type:
          type: string
      description: User response model
    api.DatasourceResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            active:
              type: boolean
            db_conn_api_key:
              type: string
            db_conn_string:
              type: string
            db_name:
              type: string
            db_source_type:
              type: string
            embed_api_key:
              type: string
            embed_model:
              type: string
            embed_url:
              type: string
            embed_vendor:
              type: string
            files:
              type: array
              items:
                $ref: '#/components/schemas/api.FileStoreResponse'
            has_db_conn_api_key:
              type: boolean
            has_embed_api_key:
              type: boolean
            icon:
              type: string
            long_description:
              type: string
            name:
              type: string
            namespace:
              type: string
            privacy_score:
              type: integer
            short_description:
              type: string
            tags:
              type: array
              items:
                $ref: '#/components/schemas/api.TagResponse'
            url:
              type: string
            user_id:
              type: integer
        id:
          type: string
        type:
          type: string
      description: Datasource response model
    api.TagResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            name:
              type: string
        id:
          type: string
        type:
          type: string
      description: Tag response model
    api.ToolResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            active:
              type: boolean
            auth_key:
              type: string
            auth_schema_name:
              type: string
            dependencies:
              type: array
              items:
                $ref: '#/components/schemas/api.ToolResponse'
            description:
              type: string
            file_stores:
              type: array
              items:
                $ref: '#/components/schemas/api.FileStoreResponse'
            filters:
              type: array
              items:
                $ref: '#/components/schemas/api.FilterResponse'
            name:
              type: string
            namespace:
              type: string
            oas_spec:
              type: string
            operations:
              type: array
              items:
                type: string
            privacy_score:
              type: integer
            tool_type:
              type: string
        id:
          type: string
        type:
          type: string
      description: Tool response model
    api.FileStoreResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            description:
              type: string
            file_name:
              type: string
            last_processed_on:
              type: string
            length:
              type: integer
        id:
          type: string
        type:
          type: string
      description: FileStore response model
    api.FilterResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            description:
              type: string
            name:
              type: string
            namespace:
              type: string
            response_filter:
              type: boolean
            script:
              type: array
              items:
                type: integer
        id:
          type: string
        type:
          type: string
      description: Filter response model
  securitySchemes:
    BearerAuth:
      type: apiKey
      name: Authorization
      in: header

````