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

# Bulk get tags by FQN

> Retrieve multiple tags by FQN. Always returns the latest non-deleted version.



## OpenAPI

````yaml /openapi/em-runtime-utils-v2.yaml post /utils/metadata/tags/get
openapi: 3.1.0
info:
  title: em_runtime_utils
  version: 5.27.0
servers: []
security: []
paths:
  /utils/metadata/tags/get:
    post:
      tags:
        - metadata
      summary: Bulk get tags by FQN
      description: >-
        Retrieve multiple tags by FQN. Always returns the latest non-deleted
        version.
      operationId: bulk_get_tags
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkGetTagRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkGetTagResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    BulkGetTagRequest:
      properties:
        fqns:
          items:
            type: string
          type: array
          maxItems: 100
          minItems: 1
          title: Fqns
          description: List of fully qualified names to retrieve
      type: object
      required:
        - fqns
      title: BulkGetTagRequest
      description: Request body for bulk get tags by FQN.
    BulkGetTagResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/CatalogTagDetail'
          type: array
          title: Items
        errors:
          items:
            $ref: '#/components/schemas/MetadataItemError'
          type: array
          title: Errors
      type: object
      required:
        - items
        - errors
      title: BulkGetTagResponse
      description: Response for bulk get tags.
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
        - error
      title: ErrorResponse
      description: Standard error response model.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CatalogTagDetail:
      properties:
        id:
          type: string
          title: Id
        asset_type:
          type: string
          title: Asset Type
          default: tag
        name:
          type: string
          title: Name
        fully_qualified_name:
          type: string
          title: Fully Qualified Name
        version:
          type: integer
          title: Version
        category_id:
          type: string
          title: Category Id
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        owners:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Owners
        style:
          anyOf:
            - $ref: '#/components/schemas/TagStyle'
            - type: 'null'
        created_by:
          type: string
          title: Created By
        updated_by:
          type: string
          title: Updated By
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        deleted_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Deleted At
      type: object
      required:
        - id
        - name
        - fully_qualified_name
        - version
        - category_id
        - created_by
        - updated_by
        - created_at
        - updated_at
      title: CatalogTagDetail
      description: Full catalog tag representation.
    MetadataItemError:
      properties:
        fqn:
          type: string
          title: Fqn
        error_code:
          $ref: '#/components/schemas/MetadataErrorCode'
        detail:
          type: string
          title: Detail
      type: object
      required:
        - fqn
        - error_code
        - detail
      title: MetadataItemError
      description: Per-item error in bulk operation responses.
    ErrorBody:
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          title: Message
        details:
          additionalProperties: true
          type: object
          title: Details
        request_id:
          type: string
          title: Request Id
        timestamp:
          type: string
          format: date-time
          title: Timestamp
      type: object
      required:
        - code
        - message
        - request_id
        - timestamp
      title: ErrorBody
      description: Error body with structured details.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    TagStyle:
      properties:
        color:
          anyOf:
            - type: string
              maxLength: 50
            - type: 'null'
          title: Color
          description: Tag color (e.g., '#FF0000', 'red')
        icon:
          anyOf:
            - type: string
              maxLength: 100
            - type: 'null'
          title: Icon
          description: Tag icon identifier
      type: object
      title: TagStyle
      description: Visual styling for a tag.
    MetadataErrorCode:
      type: string
      enum:
        - not_found
        - permission_denied
        - validation_error
      title: MetadataErrorCode
      description: Error codes for per-item errors in bulk operations.
    ErrorCode:
      type: string
      enum:
        - INVALID_REQUEST
        - INVALID_TOKEN
        - INSUFFICIENT_PERMISSIONS
        - RESOURCE_NOT_FOUND
        - RESOURCE_ALREADY_EXISTS
        - VALIDATION_ERROR
        - RATE_LIMIT_EXCEEDED
        - SERVICE_UNAVAILABLE
        - INTERNAL_ERROR
      title: ErrorCode
      description: Standard error codes for API responses.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````