> ## 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.

# Clear enrichment fields on child entities

> Clear enrichment fields on all direct children of the given FQN. For a schema FQN: clears description and tags on all tables. For a table FQN: clears description, extension, business_definition, business_rules, enrichment flags, and tags on all columns.



## OpenAPI

````yaml /openapi/em-runtime-utils-v2.yaml post /utils/{resource_type}/{resource_uri}/metadata/clear-enrichments
openapi: 3.1.0
info:
  title: em_runtime_utils
  version: 5.27.0
servers: []
security: []
paths:
  /utils/{resource_type}/{resource_uri}/metadata/clear-enrichments:
    post:
      tags:
        - metadata
      summary: Clear enrichment fields on child entities
      description: >-
        Clear enrichment fields on all direct children of the given FQN. For a
        schema FQN: clears description and tags on all tables. For a table FQN:
        clears description, extension, business_definition, business_rules,
        enrichment flags, and tags on all columns.
      operationId: clear_enrichments
      parameters:
        - name: resource_type
          in: path
          required: true
          schema:
            type: string
            title: Resource Type
        - name: resource_uri
          in: path
          required: true
          schema:
            type: string
            title: Resource Uri
        - name: X-Project-ID
          in: header
          required: true
          schema:
            type: string
            title: X-Project-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClearEnrichmentsRequest'
      responses:
        '200':
          description: Fields cleared
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClearEnrichmentsResponse'
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '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:
    ClearEnrichmentsRequest:
      properties:
        fqn:
          type: string
          maxLength: 512
          minLength: 1
          title: Fqn
          description: >-
            FQN of the parent entity whose children will be cleared. Schema FQN
            (3 segments) clears tables; Table FQN (4 segments) clears columns.
        version_change_reason:
          type: string
          maxLength: 500
          minLength: 1
          title: Version Change Reason
          description: Reason for clearing enrichments (recorded in version history)
        change_source:
          anyOf:
            - type: string
              maxLength: 64
            - type: 'null'
          title: Change Source
          description: 'Source of change: manual, ai, automated, etc.'
      type: object
      required:
        - fqn
        - version_change_reason
      title: ClearEnrichmentsRequest
      description: Request body for clearing enrichment fields on child entities.
    ClearEnrichmentsResponse:
      properties:
        parent_fqn:
          type: string
          title: Parent Fqn
        children_cleared:
          type: integer
          title: Children Cleared
          description: Number of child entities that were updated
        items:
          items:
            $ref: '#/components/schemas/ClearEnrichmentsItemResult'
          type: array
          title: Items
      type: object
      required:
        - parent_fqn
        - children_cleared
        - items
      title: ClearEnrichmentsResponse
      description: Response for clear enrichments endpoint.
    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
    ClearEnrichmentsItemResult:
      properties:
        fqn:
          type: string
          title: Fqn
        type:
          $ref: '#/components/schemas/AssetType'
        version:
          type: string
          title: Version
      type: object
      required:
        - fqn
        - type
        - version
      title: ClearEnrichmentsItemResult
      description: Per-entity result in clear enrichments response.
    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
    AssetType:
      type: string
      enum:
        - database
        - database_schema
        - table
        - column
      title: AssetType
      description: Asset type discriminator values.
    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

````