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

# Update an evaluation case



## OpenAPI

````yaml /api-reference/openapi.json patch /v1/knowledge-base/evals/cases/{case_id}
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/knowledge-base/evals/cases/{case_id}:
    patch:
      tags:
        - knowledge-base-evals
      summary: Update an evaluation case
      operationId: updateKBEvalCase
      parameters:
        - name: case_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Case Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBEvalCaseUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBEvalCaseResponse'
        '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:
    KBEvalCaseUpdate:
      properties:
        question:
          anyOf:
            - type: string
            - type: 'null'
          title: Question
        expected_answer:
          anyOf:
            - type: string
            - type: 'null'
          title: Expected Answer
        success_criteria:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Success Criteria
      additionalProperties: false
      type: object
      title: KBEvalCaseUpdate
    KBEvalCaseResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        suite_id:
          type: string
          format: uuid
          title: Suite Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        question:
          type: string
          title: Question
        expected_answer:
          type: string
          title: Expected Answer
        success_criteria:
          items:
            type: string
          type: array
          title: Success Criteria
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - suite_id
        - organization_id
        - question
        - expected_answer
        - created_at
        - updated_at
      title: KBEvalCaseResponse
    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

````