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

# Preview Remediation

> Re-evaluate a finding and return the exact proposed action, impact, cost change, and short-lived confirmation token without changing production.



## OpenAPI

````yaml /openapi.json post /v1/orgs/{orgId}/projects/{projectId}/databases/{databaseId}/advisor/findings/{findingId}/remediation/preview
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/projects/{projectId}/databases/{databaseId}/advisor/findings/{findingId}/remediation/preview:
    post:
      tags:
        - advisor
      summary: Preview Remediation
      description: >-
        Re-evaluate a finding and return the exact proposed action, impact, cost
        change, and short-lived confirmation token without changing production.
      operationId: advisor.previewRemediation
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: The project's id (UUID) or slug — either form is accepted.
        - name: databaseId
          in: path
          required: true
          schema:
            type: string
        - name: findingId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        x-korve-max-bytes: 1048576
        content:
          application/json:
            schema:
              type: object
              properties: {}
              additionalProperties: false
      responses:
        '200':
          description: Remediation preview.
          content:
            application/json:
              schema:
                type: object
                properties:
                  findingId:
                    type: string
                  action:
                    type: string
                  impact:
                    type: string
                  reversible:
                    type: boolean
                  estimatedDowntimeSeconds:
                    type:
                      - integer
                      - 'null'
                  estimatedMonthlyCostDeltaCents:
                    type:
                      - integer
                      - 'null'
                  confirmationToken:
                    type: string
                    description: >-
                      Short-lived token bound to the finding, exact action,
                      database state, and owner.
                  expiresAt:
                    type: string
                    format: date-time
                required:
                  - findingId
                  - action
                  - impact
                  - reversible
                  - estimatedDowntimeSeconds
                  - estimatedMonthlyCostDeltaCents
                  - confirmationToken
                  - expiresAt
        '404':
          description: No remediable finding for this database.
        '409':
          description: Evidence changed; refresh the finding.
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````