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

# Enable/disable a type and set its severity override / threshold config



## OpenAPI

````yaml /api-reference/openapi.json put /v1/notifications/types/{event_type}/config
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/notifications/types/{event_type}/config:
    put:
      tags:
        - notifications
      summary: Enable/disable a type and set its severity override / threshold config
      operationId: upsertNotificationTypeConfig
      parameters:
        - name: event_type
          in: path
          required: true
          schema:
            type: string
            title: Event Type
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationTypeConfigUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationTypeView'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    NotificationTypeConfigUpdate:
      properties:
        enabled:
          type: boolean
          title: Enabled
        severity_override:
          anyOf:
            - type: string
            - type: 'null'
          title: Severity Override
        threshold_config:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Threshold Config
        delivery_mode:
          type: string
          title: Delivery Mode
          default: immediate
        rate_limit_per_hour:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Rate Limit Per Hour
      additionalProperties: false
      type: object
      required:
        - enabled
      title: NotificationTypeConfigUpdate
      description: >-
        Upsert the per-org config for one notification type.


        ``event_type`` is a path param. ``severity_override`` is validated
        server-side

        against ``NotificationSeverity``; ``threshold_config`` against the
        type's schema.
    NotificationTypeView:
      properties:
        event_type:
          type: string
          title: Event Type
        category:
          type: string
          title: Category
        display_name:
          type: string
          title: Display Name
        description:
          type: string
          title: Description
        default_severity:
          type: string
          title: Default Severity
        supported_channels:
          items:
            type: string
          type: array
          title: Supported Channels
        recommended:
          type: boolean
          title: Recommended
        template_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Template Id
        threshold_based:
          type: boolean
          title: Threshold Based
        threshold_config_schema:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Threshold Config Schema
        payload_schema:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Payload Schema
        enabled:
          type: boolean
          title: Enabled
        severity_override:
          anyOf:
            - type: string
            - type: 'null'
          title: Severity Override
        threshold_config:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Threshold Config
        effective_severity:
          type: string
          title: Effective Severity
        delivery_mode:
          type: string
          title: Delivery Mode
        rate_limit_per_hour:
          anyOf:
            - type: integer
            - type: 'null'
          title: Rate Limit Per Hour
        resolved_destination_ids:
          items:
            type: string
            format: uuid
          type: array
          title: Resolved Destination Ids
        has_destination:
          type: boolean
          title: Has Destination
      type: object
      required:
        - event_type
        - category
        - display_name
        - description
        - default_severity
        - supported_channels
        - recommended
        - template_id
        - threshold_based
        - threshold_config_schema
        - payload_schema
        - enabled
        - severity_override
        - threshold_config
        - effective_severity
        - delivery_mode
        - rate_limit_per_hour
        - resolved_destination_ids
        - has_destination
      title: NotificationTypeView
      description: >-
        A catalog type merged with this org's config and resolved destinations.


        Built by ``NotificationCatalogService`` (not from a single ORM row), so
        it

        surfaces both the static catalog metadata and the org's live state. The

        ``payload_schema`` / ``threshold_config_schema`` are JSON Schema (the

        variables/validation manifest the frontend hints from).
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response returned by all API error handlers.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````