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

# Store a component's discriminator config override.

> EXPERIMENTAL. Validate and store a component's discriminator config override. The config cannot change after attachment events or while active strand edges exist because their stamps bind to the current config.



## OpenAPI

````yaml /api-reference/bundled.yaml put /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:
    put:
      tags:
        - lineage
      summary: Store a component's discriminator config override.
      description: >-
        EXPERIMENTAL. Validate and store a component's discriminator config
        override. The config cannot change after attachment events or while
        active strand edges exist because their stamps bind to the current
        config.
      operationId: putExperimentalComponentDiscriminatorConfig
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
            format: uuid
          description: UUID of the component.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DiscriminatorConfigDocument'
      responses:
        '200':
          description: Config validated and stored; receipt returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiscriminatorConfigWriteReceipt'
        '400':
          description: The document failed engine validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Component not found / not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: The component has discriminator state bound to its config.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    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
    DiscriminatorConfigWriteReceipt:
      type: object
      description: Engine-reported identity of a validated discriminator config write.
      properties:
        configName:
          type: string
        configVersion:
          type: integer
        engineVersion:
          type: string
      required:
        - configName
        - configVersion
        - engineVersion
      additionalProperties: false
    ErrorResponse:
      type: object
      required:
        - message
      properties:
        id:
          type: number
        title:
          type: string
        message:
          type: string
  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.