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

# Retrieve Group details

> Use this endpoint to get detailed information about a specific group using its unique identifier.



## OpenAPI

````yaml /en/openapi/v3-current/AM-identity.yaml get /v1/groups/{id}
openapi: 3.1.0
info:
  title: Identity Plugin
  description: ''
  version: 2.4.4
servers:
  - url: https://identity.sandbox.lerian.net
security: []
tags:
  - name: Groups API
  - name: Applications API
  - name: Users API
  - name: MFA API
  - name: Providers API
  - name: Application Providers API
paths:
  /v1/groups/{id}:
    get:
      tags:
        - Groups API
      summary: Retrieve Group details
      description: >-
        Use this endpoint to get detailed information about a specific group
        using its unique identifier.
      parameters:
        - $ref: '#/components/parameters/GroupId'
      responses:
        '200':
          description: The information related to the specific group.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupResponse'
              example:
                createdAt: '2025-04-07T18:13:27.297Z'
                id: midaz-viewer-group
                name: Midaz Viewer
                users:
                  - johndoe
                  - janedoe
          headers: {}
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
              examples:
                Error0003:
                  $ref: '#/components/examples/Error0003'
                Error0004:
                  $ref: '#/components/examples/Error0004'
                Error0007:
                  $ref: '#/components/examples/Error0007'
          headers: {}
        '404':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
              examples:
                Error1006:
                  $ref: '#/components/examples/Error1006'
          headers: {}
        '500':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
              examples:
                Error0006:
                  $ref: '#/components/examples/Error0006'
          headers: {}
      security:
        - bearer: []
components:
  parameters:
    GroupId:
      name: id
      in: path
      description: The unique identifier of the group you want to retrieve the information.
      required: true
      example: midaz-viewer-group
      schema:
        type: string
  schemas:
    GroupResponse:
      description: >-
        Information of the group configured in the system, along with its
        metadata and assigned users.
      type: object
      properties:
        createdAt:
          type: string
          description: Timestamp of when the group was created.
        id:
          type: string
          description: Unique identifier of the group.
        name:
          type: string
          description: Display name of the group.
        users:
          type: array
          items:
            type: string
          description: List of users assigned to the group.
    ErrorMessage:
      description: The response message error.
      type: object
      properties:
        code:
          type: string
          description: A unique, stable identifier for the error.
        title:
          type: string
          description: A brief summary of the issue.
        message:
          type: string
          description: Detailed guidance for resolving the error.
  examples:
    Error0003:
      summary: Invalid Path Parameter
      value:
        code: IDE-0003
        title: Invalid Path Parameter
        message: One or more path parameters are in an incorrect format.
    Error0004:
      summary: Unexpected Fields in the Request
      value:
        code: IDE-0004
        title: Unexpected Fields in the Request
        message: >-
          The request body contains more fields than expected. Please send only
          the allowed fields.
    Error0007:
      summary: Bad Request
      value:
        code: IDE-0007
        title: Bad Request
        message: The server could not understand the request due to malformed syntax.
    Error1006:
      summary: Group ID Not Found
      value:
        code: IDE-1006
        title: Group ID Not Found
        message: The provided group ID does not exist in our records.
    Error0006:
      summary: Internal Server Error
      value:
        code: IDE-0006
        title: Internal Server Error
        message: The server encountered an unexpected error. Please try again later.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: The authorization token in the 'Bearer <token>' format.

````