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

# Get GRC entity by ID

> Get a GRC entity by its ID



## OpenAPI

````yaml get /grc/entities/{entity_id}
openapi: 3.1.0
info:
  title: Leen Security API
  version: 0.0.1
servers:
  - description: Production API (US)
    url: https://api.leen.dev/v1
  - description: Production API (EU)
    url: https://api.eu-c1.leen.dev/v1
  - description: Production API (APAC)
    url: https://api.ap-se2.leen.dev/v1
security: []
paths:
  /grc/entities/{entity_id}:
    get:
      tags:
        - grc
        - entities
      summary: Get GRC entity by ID
      description: Get a GRC entity by its ID
      operationId: get_grc_entity_by_id
      parameters:
        - in: path
          name: entity_id
          required: true
          schema:
            format: uuid
            title: Entity Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GRCEntityResponse'
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorException'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorException'
          description: Unprocessable Content
      security:
        - API-Key: []
          Connection-ID: []
components:
  schemas:
    GRCEntityResponse:
      description: Response model for returning GRC entity details via an API endpoint.
      properties:
        created_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: Timestamp when the entity was created
          title: Created At
        description:
          anyOf:
            - type: string
            - type: 'null'
          description: Detailed description of the entity
          title: Description
        id:
          description: Leen's UUID for the GRC entity
          format: uuid
          title: Id
          type: string
        name:
          description: Entity name
          title: Name
          type: string
        type:
          description: Type or classification of the GRC entity
          title: Type
          type: string
        updated_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: Timestamp when the entity was last updated
          title: Updated At
        vendor_attributes:
          $ref: '#/components/schemas/ScopedGRCEntityVendorAttributes'
          description: Vendor-specific attributes and identifiers
      required:
        - id
        - name
        - type
        - vendor_attributes
      title: GRC Entity
      type: object
    ErrorException:
      properties:
        detail:
          description: Error message
          title: Detail
          type: string
      required:
        - detail
      title: ErrorException
      type: object
    ScopedGRCEntityVendorAttributes:
      properties:
        data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Data
        id:
          title: Id
          type: string
        vendor:
          title: Vendor
          type: string
      required:
        - id
        - vendor
      title: ScopedGRCEntityVendorAttributes
      type: object
  securitySchemes:
    API-Key:
      in: header
      name: X-API-KEY
      type: apiKey
    Connection-ID:
      in: header
      name: X-CONNECTION-ID
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.