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

# Set/clear the org-level channel-prompt override map



## OpenAPI

````yaml /api-reference/openapi.json put /v1/assistants/channel-prompts
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.87.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/assistants/channel-prompts:
    put:
      tags:
        - assistants
      summary: Set/clear the org-level channel-prompt override map
      operationId: setAssistantOrgChannelPrompts
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrgChannelPromptsUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgChannelPromptsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    OrgChannelPromptsUpdate:
      properties:
        channel_prompts:
          additionalProperties:
            $ref: '#/components/schemas/OrgChannelPromptOverride'
          propertyNames:
            enum:
              - sms
              - voice
              - email
              - chat
          type: object
          title: Channel Prompts
      type: object
      required:
        - channel_prompts
      title: OrgChannelPromptsUpdate
      description: >-
        PUT body for the org-level channel-prompt override map.


        Replaces the whole map (last-writer-wins), matching the judge-model
        settings

        semantics. Sparse: a channel absent from ``channel_prompts`` inherits
        the platform

        default. Keyed by :data:`OverridableChannel` — those are the only
        channels

        with a platform medium block to override; any other channel (``api``,
        ``sandbox``, or

        an unknown value) rejects with 422.
    OrgChannelPromptsResponse:
      properties:
        channel_prompts:
          additionalProperties:
            $ref: '#/components/schemas/OrgChannelPromptOverride'
          type: object
          title: Channel Prompts
      type: object
      required:
        - channel_prompts
      title: OrgChannelPromptsResponse
      description: >-
        The org's currently stored channel-prompt override map (empty when
        unset).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    OrgChannelPromptOverride:
      properties:
        mode:
          type: string
          enum:
            - append
            - replace
          title: Mode
        prompt:
          type: string
          title: Prompt
      type: object
      required:
        - mode
        - prompt
      title: OrgChannelPromptOverride
      description: >-
        One org-level override of a platform channel medium block.


        ``mode="append"`` adds the org text after the platform medium block;
        ``mode="replace"``

        replaces the platform medium block entirely with the org text. The
        machinery preamble

        and the platform baseline are NEVER configurable — they always render
        outside this

        override, regardless of mode.
    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

````