apps

Api Refactor App Lock

Mechanically rename columns/tables in this app's locked SQL (sqlglot AST, no LLM), re-validating each rewrite. dry_run returns the would-be diff without writing.

post/api/apps/{app_id}/refactor

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/apps/{app_id}/refactor
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Path parameters

app_idstring required

Request body

renamesobject[]
dry_runboolean

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.