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

# Read a component's effective discriminator config.

> EXPERIMENTAL. Read the discriminator config in effect for a component, resolved exactly like the runtime does: the component's override, else the deployment default, else the engine's builtin. The source field says which one won.



## OpenAPI

````yaml /api-reference/bundled.yaml get /v0/experimental/component/{id}/discriminator_config
openapi: 3.1.0
info:
  title: Gable API
  description: >
    API to interact with the Gable platform

    ## Authorization

    All API requests require an API key to be passed in the `X-API-KEY` header.
    For instructions on finding your API key and api endpoint check out the [API
    Key documentation](../docs/api-keys.md).

    Example: `curl -H "X-API-KEY: <your-api-key>"
    https://api-{organization}.gable.ai/v0/ping`
  contact:
    name: Gable Engineering
    url: https://gable.ai
    email: engineers@gable.ai
  version: 1.54.0
servers:
  - url: https://{hostname}.gable.ai
    description: Gable API
    variables:
      hostname:
        default: demo-api
        description: Customer environment assigned by Gable
security:
  - ApiKeyAuth: []
tags:
  - name: action
  - name: api-keys
  - name: auth
  - name: changelog
  - name: config
  - name: debug
  - name: settings
  - name: slack
  - name: sso
  - name: webhook
  - name: notifications
  - name: telemetry
  - name: component
  - name: components
  - name: sca
  - name: cross-service-components
  - name: lineage
  - name: events
  - name: measurements
  - name: defect-report
  - name: data-tagging
    description: Tag vocabulary management and field level tagging of lineage boundaries.
paths:
  /v0/experimental/component/{id}/discriminator_config:
    get:
      tags:
        - lineage
      summary: Read a component's effective discriminator config.
      description: >-
        EXPERIMENTAL. Read the discriminator config in effect for a component,
        resolved exactly like the runtime does: the component's override, else
        the deployment default, else the engine's builtin. The source field says
        which one won.
      operationId: getExperimentalComponentDiscriminatorConfig
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
            format: uuid
          description: UUID of the component.
      responses:
        '200':
          description: The effective config and its identity.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiscriminatorConfigReadResponse'
        '404':
          description: Component not found / not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DiscriminatorConfigReadResponse:
      type: object
      description: >-
        The discriminator config in effect, with its engine-reported identity.
        The complete document is included for component, deployment-default and
        builtin sources so a client can evaluate an explicit snapshot.
      properties:
        source:
          $ref: '#/components/schemas/DiscriminatorConfigSource'
        configName:
          type: string
          description: The config's self-declared name, as the engine reports it.
        configVersion:
          type: integer
          description: The config's self-declared version, as the engine reports it.
        engineVersion:
          type: string
        config:
          $ref: '#/components/schemas/DiscriminatorConfigDocument'
        documentFingerprint:
          type: string
          pattern: ^[a-f0-9]{64}$
          description: >-
            SHA-256 of the deterministically serialized config document. Object
            key order is ignored; array order and JSON values are preserved.
      required:
        - source
        - configName
        - configVersion
        - engineVersion
        - config
        - documentFingerprint
      additionalProperties: false
    ErrorResponse:
      type: object
      required:
        - message
      properties:
        id:
          type: number
        title:
          type: string
        message:
          type: string
    DiscriminatorConfigSource:
      type: string
      description: >-
        Where the effective discriminator config came from - a per-component
        override, the deployment default, or the engine's builtin fallback.
      enum:
        - component
        - default
        - builtin
    DiscriminatorConfigDocument:
      type: object
      description: >-
        An engine discriminator config JSON document. Writes are limited to 1
        MiB and must pass engine validation and use the product-compatible
        payload to field-mapping hierarchy.
      additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````

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