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

# Update a review (SDK)



## OpenAPI

````yaml /api-reference/openapi.json patch /api/v1/runtime/v1/observability/reviews/{reviewId}
openapi: 3.0.0
info:
  title: Runflow Runtime API
  description: >-
    Programmatic surface for the Runflow platform — used by the SDK, the CLI,
    the execution engine, and any server-to-server caller. Authenticate with an
    `x-api-key` header (or `Authorization: Bearer ...`).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.runflow.ai
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags: []
paths:
  /api/v1/runtime/v1/observability/reviews/{reviewId}:
    patch:
      tags:
        - Runtime API - Observability
      summary: Update a review (SDK)
      operationId: RuntimeObservabilityController_updateExecutionReview
      parameters:
        - name: reviewId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateExecutionReviewDto'
      responses:
        '200':
          description: Review updated
      security:
        - bearer: []
components:
  schemas:
    UpdateExecutionReviewDto:
      type: object
      properties:
        status:
          type: string
          description: Status of the review workflow
          enum:
            - pending_review
            - in_progress
            - resolved
            - wont_fix
        resolutionNotes:
          type: string
          description: Notes about the resolution
          example: Atualizamos o prompt para incluir horários de funcionamento
        actionTaken:
          type: string
          description: Action taken to resolve the issue
          enum:
            - prompt_updated
            - added_to_training
            - knowledge_base_updated
            - escalated
            - no_action
        correctedOutput:
          type: string
          description: Corrected output for training purposes
          example: Funcionamos de segunda a sexta, das 9h às 18h
        comment:
          type: string
          description: Updated comment
        tags:
          description: Updated tags
          type: array
          items:
            type: string
        priority:
          type: string
          description: Updated priority
          enum:
            - low
            - medium
            - high
            - critical

````